-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 11:43:34 2023 UTC
-- File 20220109_210440_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 14.331312 to 38.271304
-each separately from 14s to 38s and from 191223us to 331601us.
   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, ...
      1.859622 in 1 packets: 18
      22.079503 in 1 packets: 36
MIU packet time from 2022-01-09T21:04:57.331.312.000 to 2022-01-09T21:05:21.271.304.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, ...
      1.859622 in 1 packets: 18
      22.079503 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 15.5273227 to 39.5272349
   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, ...
      1.9999927 in 1 packets: 18
      21.9999195 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 20220109_210440_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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.8586351 to 15.8589241
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.8596150  -- OK for SL --
   MIU time from 2022-01-09T21:04:57.331.312.000 to 2022-01-09T21:04:57.331.601.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.859622

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7185391 to 17.7188281
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.0794230  -- OK for SL --
   MIU time from 2022-01-09T21:04:59.191.223.000 to 2022-01-09T21:04:59.191.512.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.079503

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.7982511 to 39.7985401
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-09T21:05:21.271.015.000 to 2022-01-09T21:05:21.271.304.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 = 14, 32bit 10MHz counter = 15.858635100 corrected by 40bit 10MHz counter of 15.527322700 obtained at 1Hz counter of 14. Result: 14.331313626
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-01-09T21:04:57.331.171.725
   Max 1st sample MIU time among all SL packets: 2022-01-09T21:05:21.271.163.725
   Min 1st sample XO time among all SL packets: 14.331173350
   Max 1st sample XO time among all SL packets: 38.271165928
   TM values from -209 to 204 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-09T21:04:57.331.171.725 (XO: 14.331173350 - 14.331479351, t=37.2 degC)  Rank: 00064
   TM values: Max =   184  Min =  -209  Ave =    -4.57  Std =    21.18
   Min TM value:-209 at an offset of 122.950 usec -> 2022-01-09T21:04:57.331.294.675 (XO: 14.331296301)
   Max TM value:184 at an offset of 120.475 usec -> 2022-01-09T21:04:57.331.292.200 (XO: 14.331293826)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 123.038 usec -> 2022-01-09T21:04:57.331.294.762 (XO: 14.331296388)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 120.600 usec -> 2022-01-09T21:04:57.331.292.325 (XO: 14.331293951)

 - Block number: 2 starting at 2022-01-09T21:04:59.191.082.725 (XO: 16.191084113 - 16.191390114, t=37.2 degC)  Rank: 00069
   TM values: Max =   199  Min =  -193  Ave =    -4.51  Std =    20.80
   Min TM value:-193 at an offset of 121.938 usec -> 2022-01-09T21:04:59.191.204.662 (XO: 16.191206051)
   Max TM value:199 at an offset of 162.426 usec -> 2022-01-09T21:04:59.191.245.150 (XO: 16.191246538)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 164.988 usec -> 2022-01-09T21:04:59.191.247.713 (XO: 16.191249101)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 119.638 usec -> 2022-01-09T21:04:59.191.202.362 (XO: 16.191203751)

 - Block number: 3 starting at 2022-01-09T21:05:21.270.874.725 (XO: 38.270876927 - 38.271182928, t=37.2 degC)  Rank: 00069
   TM values: Max =   204  Min =  -209  Ave =    -4.45  Std =    18.22
   Min TM value:-209 at an offset of 124.038 usec -> 2022-01-09T21:05:21.270.998.762 (XO: 38.271000965)
   Max TM value:204 at an offset of 121.638 usec -> 2022-01-09T21:05:21.270.996.362 (XO: 38.270998565)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 124.138 usec -> 2022-01-09T21:05:21.270.998.862 (XO: 38.271001065)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 121.713 usec -> 2022-01-09T21:05:21.270.996.437 (XO: 38.270998640)
