-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:10:42 2023 UTC
-- File 20220113_130938_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 8.269556 to 36.969961
-each separately from 8s to 36s and from 199528us to 969961us.
   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, ...
      18.929683 in 1 packets: 18
      9.769855 in 1 packets: 36
MIU packet time from 2022-01-13T13:09:49.269.556.000 to 2022-01-13T13:10:17.969.961.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, ...
      18.929683 in 1 packets: 18
      9.769855 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 9.5864336 to 37.5863338
   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, ...
      18.9999323 in 1 packets: 18
      8.9999679 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 20220113_130938_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.8559906 to 9.8562796
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9296150  -- OK for SL --
   MIU time from 2022-01-13T13:09:49.269.556.000 to 2022-01-13T13:09:49.269.845.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.929683

 - 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 28.7858946 to 28.7861836
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.7698230  -- OK for SL --
   MIU time from 2022-01-13T13:10:08.199.528.000 to 2022-01-13T13:10:08.199.817.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.769855

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.5560066 to 38.5562956
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-13T13:10:17.969.672.000 to 2022-01-13T13:10:17.969.961.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 = 8, 32bit 10MHz counter = 9.855990600 corrected by 40bit 10MHz counter of 9.586433600 obtained at 1Hz counter of 8. Result: 8.269557943
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-13T13:09:49.269.415.725
   Max 1st sample MIU time among all SL packets: 2022-01-13T13:10:17.969.820.725
   Min 1st sample XO time among all SL packets: 8.269417668
   Max 1st sample XO time among all SL packets: 36.969824919
   TM values from -231 to 210 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-13T13:09:49.269.415.725 (XO: 8.269417668 - 8.269723669, t=37.2 degC)  Rank: 00072
   TM values: Max =   210  Min =  -219  Ave =    -4.54  Std =    17.84
   Min TM value:-219 at an offset of 115.475 usec -> 2022-01-13T13:09:49.269.531.200 (XO: 8.269533143)
   Max TM value:210 at an offset of 113.075 usec -> 2022-01-13T13:09:49.269.528.800 (XO: 8.269530743)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 113.013 usec -> 2022-01-13T13:09:49.269.528.737 (XO: 8.269530681)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 115.413 usec -> 2022-01-13T13:09:49.269.531.137 (XO: 8.269533081)

 - Block number: 2 starting at 2022-01-13T13:10:08.199.387.725 (XO: 27.199389143 - 27.199695144, t=37.2 degC)  Rank: 00075
   TM values: Max =   190  Min =  -213  Ave =    -4.47  Std =    21.26
   Min TM value:-213 at an offset of 130.375 usec -> 2022-01-13T13:10:08.199.518.100 (XO: 27.199519518)
   Max TM value:190 at an offset of 130.613 usec -> 2022-01-13T13:10:08.199.518.337 (XO: 27.199519756)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 130.450 usec -> 2022-01-13T13:10:08.199.518.175 (XO: 27.199519593)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 130.275 usec -> 2022-01-13T13:10:08.199.518.000 (XO: 27.199519418)

 - Block number: 3 starting at 2022-01-13T13:10:17.969.531.725 (XO: 36.969535918 - 36.969841919, t=37.2 degC)  Rank: 00079
   TM values: Max =   209  Min =  -231  Ave =    -4.43  Std =    17.97
   Min TM value:-231 at an offset of 126.438 usec -> 2022-01-13T13:10:17.969.658.162 (XO: 36.969662356)
   Max TM value:209 at an offset of 124.038 usec -> 2022-01-13T13:10:17.969.655.762 (XO: 36.969659956)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 126.538 usec -> 2022-01-13T13:10:17.969.658.262 (XO: 36.969662456)
   Min dTM/dt [1/us]:-2.35e+03 at an offset of 126.363 usec -> 2022-01-13T13:10:17.969.658.087 (XO: 36.969662281)
