-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 09:42:36 2023 UTC
-- File 20220623_063759_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.639945 to 52.143755
-each separately from 7s to 52s and from 100856us to 640234us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.460622 in 1 packets: 18
      24.121678 in 1 packets: 36
      8.920354 in 1 packets: 54
MIU packet time from 2022-06-23T06:38:09.639.945.000 to 2022-06-23T06:38:54.143.755.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.460622 in 1 packets: 18
      24.121678 in 1 packets: 36
      8.920354 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.6068550 to 53.6066770
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.9999527 in 1 packets: 18
      23.9999050 in 1 packets: 36
      8.9999643 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220623_063759_1227.dat, 4 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 9.2468004 to 9.2470894
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4605750  -- OK for SL --
   MIU time from 2022-06-23T06:38:09.639.945.000 to 2022-06-23T06:38:09.640.234.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.460622

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.7076644 to 20.7079534
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.1215830  -- OK for SL --
   MIU time from 2022-06-23T06:38:21.100.856.000 to 2022-06-23T06:38:21.101.145.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.121678

 - 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 44.8295364 to 44.8298254
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9203190  -- OK for SL --
   MIU time from 2022-06-23T06:38:45.222.823.000 to 2022-06-23T06:38:45.223.112.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.920354

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.7501444 to 53.7504334
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-23T06:38:54.143.466.000 to 2022-06-23T06:38:54.143.755.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 9.246800400 corrected by 40bit 10MHz counter of 8.606855000 obtained at 1Hz counter of 7. Result: 7.639947960
--
   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.999996000 - 0.999996100
   Min 1st sample MIU time among all SL packets: 2022-06-23T06:38:09.639.804.725
   Max 1st sample MIU time among all SL packets: 2022-06-23T06:38:54.143.614.725
   Min 1st sample XO time among all SL packets: 7.639807684
   Max 1st sample XO time among all SL packets: 52.143616699
   TM values from -289 to 234 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-23T06:38:09.639.804.725 (XO: 7.639807684 - 7.640113685, t=37.2 degC)  Rank: 00082
   TM values: Max =   225  Min =  -281  Ave =    -4.54  Std =    23.92
   Min TM value:-281 at an offset of 101.750 usec -> 2022-06-23T06:38:09.639.906.475 (XO: 7.639909435)
   Max TM value:225 at an offset of 99.288 usec -> 2022-06-23T06:38:09.639.904.012 (XO: 7.639906972)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 101.863 usec -> 2022-06-23T06:38:09.639.906.587 (XO: 7.639909547)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 99.388 usec -> 2022-06-23T06:38:09.639.904.112 (XO: 7.639907072)

 - Block number: 2 starting at 2022-06-23T06:38:21.100.715.725 (XO: 19.100716818 - 19.101022819, t=37.2 degC)  Rank: 00076
   TM values: Max =   207  Min =  -289  Ave =    -4.59  Std =    28.48
   Min TM value:-289 at an offset of 126.175 usec -> 2022-06-23T06:38:21.100.841.900 (XO: 19.100842993)
   Max TM value:207 at an offset of 123.675 usec -> 2022-06-23T06:38:21.100.839.400 (XO: 19.100840493)
   Max dTM/dt [1/us]:2.64e+03 at an offset of 126.263 usec -> 2022-06-23T06:38:21.100.841.987 (XO: 19.100843081)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 123.788 usec -> 2022-06-23T06:38:21.100.839.512 (XO: 19.100840606)

 - Block number: 3 starting at 2022-06-23T06:38:45.222.682.725 (XO: 43.222684316 - 43.222990317, t=37.2 degC)  Rank: 00079
   TM values: Max =   234  Min =  -263  Ave =    -4.46  Std =    25.61
   Min TM value:-263 at an offset of 116.150 usec -> 2022-06-23T06:38:45.222.798.875 (XO: 43.222800466)
   Max TM value:234 at an offset of 113.650 usec -> 2022-06-23T06:38:45.222.796.375 (XO: 43.222797966)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 116.288 usec -> 2022-06-23T06:38:45.222.799.012 (XO: 43.222800604)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 113.763 usec -> 2022-06-23T06:38:45.222.796.487 (XO: 43.222798079)

 - Block number: 4 starting at 2022-06-23T06:38:54.143.325.725 (XO: 52.143327698 - 52.143633700, t=37.2 degC)  Rank: 00080
   TM values: Max =   162  Min =  -277  Ave =    -4.46  Std =    21.34
   Min TM value:-277 at an offset of 124.025 usec -> 2022-06-23T06:38:54.143.449.750 (XO: 52.143451724)
   Max TM value:162 at an offset of 126.663 usec -> 2022-06-23T06:38:54.143.452.388 (XO: 52.143454361)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 124.100 usec -> 2022-06-23T06:38:54.143.449.825 (XO: 52.143451799)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 121.600 usec -> 2022-06-23T06:38:54.143.447.325 (XO: 52.143449299)
