-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 05:00:04 2021 UTC
-- File 20210801_172714_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 10.468108 to 30.268895
-each separately from 10s to 30s and from 268606us to 688828us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.220142 in 1 packets: 18
      5.579778 in 1 packets: 36
MIU packet time from 2021-08-01T17:27:27.468.108.000 to 2021-08-01T17:27:47.268.895.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.220142 in 1 packets: 18
      5.579778 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 11.9115871 to 31.9115206
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.9999534 in 1 packets: 18
      5.9999801 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210801_172714_1227.dat, 3 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.3796957 to 12.3799847
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2200950  -- OK for SL --
   MIU time from 2021-08-01T17:27:27.468.108.000 to 2021-08-01T17:27:27.468.397.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.220142

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.6000797 to 26.6003687
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.5797590  -- OK for SL --
   MIU time from 2021-08-01T17:27:41.688.539.000 to 2021-08-01T17:27:41.688.828.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.579778

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.1801277 to 32.1804167
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-01T17:27:47.268.606.000 to 2021-08-01T17:27:47.268.895.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 12.379695700 corrected by 40bit 10MHz counter of 11.911587100 obtained at 1Hz counter of 10. Result: 10.468110192
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-01T17:27:27.467.967.725
   Max 1st sample MIU time among all SL packets: 2021-08-01T17:27:47.268.754.725
   Min 1st sample XO time among all SL packets: 10.467969916
   Max 1st sample XO time among all SL packets: 30.268756739
   TM values from -259 to 243 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-01T17:27:27.467.967.725 (XO: 10.467969916 - 10.468275917, t=37.2 degC)  Rank: 00082
   TM values: Max =   210  Min =  -217  Ave =    -4.57  Std =    20.11
   Min TM value:-217 at an offset of 128.100 usec -> 2021-08-01T17:27:27.468.095.825 (XO: 10.468098017)
   Max TM value:210 at an offset of 130.850 usec -> 2021-08-01T17:27:27.468.098.575 (XO: 10.468100767)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 130.763 usec -> 2021-08-01T17:27:27.468.098.487 (XO: 10.468100679)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 115.513 usec -> 2021-08-01T17:27:27.468.083.237 (XO: 10.468085429)

 - Block number: 2 starting at 2021-08-01T17:27:41.688.398.725 (XO: 24.688401197 - 24.688707198, t=37.2 degC)  Rank: 00075
   TM values: Max =   243  Min =  -218  Ave =    -4.50  Std =    20.31
   Min TM value:-218 at an offset of 130.288 usec -> 2021-08-01T17:27:41.688.529.012 (XO: 24.688531485)
   Max TM value:243 at an offset of 133.000 usec -> 2021-08-01T17:27:41.688.531.725 (XO: 24.688534197)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 132.875 usec -> 2021-08-01T17:27:41.688.531.600 (XO: 24.688534072)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 130.100 usec -> 2021-08-01T17:27:41.688.528.825 (XO: 24.688531297)

 - Block number: 3 starting at 2021-08-01T17:27:47.268.465.725 (XO: 30.268467738 - 30.268773739, t=37.2 degC)  Rank: 00075
   TM values: Max =   238  Min =  -259  Ave =    -4.52  Std =    28.48
   Min TM value:-259 at an offset of 175.226 usec -> 2021-08-01T17:27:47.268.640.950 (XO: 30.268642963)
   Max TM value:238 at an offset of 121.250 usec -> 2021-08-01T17:27:47.268.586.975 (XO: 30.268588988)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 177.776 usec -> 2021-08-01T17:27:47.268.643.500 (XO: 30.268645513)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 175.088 usec -> 2021-08-01T17:27:47.268.640.813 (XO: 30.268642826)
