-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 11:28:57 2023 UTC
-- File 20220125_121621_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 7.513079 to 35.950781
-each separately from 7s to 35s and from 371556us to 950781us.
   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, ...
      16.858188 in 1 packets: 18
      11.578647 in 1 packets: 36
MIU packet time from 2022-01-25T12:16:31.513.079.000 to 2022-01-25T12:16:59.950.781.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, ...
      16.858188 in 1 packets: 18
      11.578647 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 8.5232427 to 36.5231416
   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, ...
      16.9999386 in 1 packets: 18
      10.9999603 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20220125_121621_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.0363224 to 9.0366114
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8581270  -- OK for SL --
   MIU time from 2022-01-25T12:16:31.513.079.000 to 2022-01-25T12:16:31.513.368.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.858188

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.8947384 to 25.8950274
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.5786070  -- OK for SL --
   MIU time from 2022-01-25T12:16:48.371.556.000 to 2022-01-25T12:16:48.371.845.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.578647

 - 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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.4736344 to 37.4739234
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-25T12:16:59.950.492.000 to 2022-01-25T12:16:59.950.781.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 = 7, 32bit 10MHz counter = 9.036322400 corrected by 40bit 10MHz counter of 8.523242700 obtained at 1Hz counter of 7. Result: 7.513081547
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-01-25T12:16:31.512.938.725
   Max 1st sample MIU time among all SL packets: 2022-01-25T12:16:59.950.640.725
   Min 1st sample XO time among all SL packets: 7.512941272
   Max 1st sample XO time among all SL packets: 35.950644947
   TM values from -218 to 156 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-25T12:16:31.512.938.725 (XO: 7.512941272 - 7.513247273, t=37.2 degC)  Rank: 00072
   TM values: Max =   151  Min =  -194  Ave =    -4.59  Std =    17.36
   Min TM value:-194 at an offset of 108.488 usec -> 2022-01-25T12:16:31.513.047.212 (XO: 7.513049759)
   Max TM value:151 at an offset of 110.900 usec -> 2022-01-25T12:16:31.513.049.625 (XO: 7.513052172)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 110.738 usec -> 2022-01-25T12:16:31.513.049.462 (XO: 7.513052009)
   Min dTM/dt [1/us]:-1.53e+03 at an offset of 108.288 usec -> 2022-01-25T12:16:31.513.047.012 (XO: 7.513049559)

 - Block number: 2 starting at 2022-01-25T12:16:48.371.415.725 (XO: 24.371418162 - 24.371724163, t=37.2 degC)  Rank: 00063
   TM values: Max =   156  Min =  -218  Ave =    -4.48  Std =    26.95
   Min TM value:-218 at an offset of 120.988 usec -> 2022-01-25T12:16:48.371.536.712 (XO: 24.371539150)
   Max TM value:156 at an offset of 63.613 usec -> 2022-01-25T12:16:48.371.479.337 (XO: 24.371481775)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 66.238 usec -> 2022-01-25T12:16:48.371.481.962 (XO: 24.371484400)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 63.725 usec -> 2022-01-25T12:16:48.371.479.450 (XO: 24.371481887)

 - Block number: 3 starting at 2022-01-25T12:16:59.950.351.725 (XO: 35.950355946 - 35.950661947, t=37.2 degC)  Rank: 00068
   TM values: Max =   148  Min =  -196  Ave =    -4.49  Std =    21.11
   Min TM value:-196 at an offset of 122.488 usec -> 2022-01-25T12:16:59.950.474.212 (XO: 35.950478434)
   Max TM value:148 at an offset of 120.000 usec -> 2022-01-25T12:16:59.950.471.725 (XO: 35.950475947)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 122.588 usec -> 2022-01-25T12:16:59.950.474.312 (XO: 35.950478534)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 120.125 usec -> 2022-01-25T12:16:59.950.471.850 (XO: 35.950476072)
