-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Mar  5 18:19:26 2022 UTC
-- File 20220202_090744_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.792354 to 42.502471
-each separately from 14s to 42s and from 502182us to 792643us.
   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, ...
      6.717192 in 1 packets: 18
      20.992058 in 1 packets: 36
MIU packet time from 2022-02-02T09:08:01.792.354.000 to 2022-02-02T09:08:29.502.471.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, ...
      6.717192 in 1 packets: 18
      20.992058 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.7624829 to 43.7623823
   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, ...
      6.9999748 in 1 packets: 18
      20.9999246 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.6 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220202_090744_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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.5548372 to 16.5551262
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7171670  -- OK for SL --
   MIU time from 2022-02-02T09:08:01.792.354.000 to 2022-02-02T09:08:01.792.643.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.717192

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.2722932 to 23.2725822
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.9919830  -- OK for SL --
   MIU time from 2022-02-02T09:08:08.509.835.000 to 2022-02-02T09:08:08.510.124.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.992058

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.2645652 to 44.2648542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-02T09:08:29.502.182.000 to 2022-02-02T09:08:29.502.471.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 = 16.554837200 corrected by 40bit 10MHz counter of 15.762482900 obtained at 1Hz counter of 14. Result: 14.792357152
--
   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-02-02T09:08:01.792.213.725
   Max 1st sample MIU time among all SL packets: 2022-02-02T09:08:29.502.330.725
   Min 1st sample XO time among all SL packets: 14.792216877
   Max 1st sample XO time among all SL packets: 42.502333433
   TM values from -286 to 228 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-02T09:08:01.792.213.725 (XO: 14.792216877 - 14.792522878, t=35.6 degC)  Rank: 00089
   TM values: Max =   215  Min =  -269  Ave =    -4.52  Std =    20.81
   Min TM value:-269 at an offset of 123.663 usec -> 2022-02-02T09:08:01.792.337.387 (XO: 14.792340540)
   Max TM value:215 at an offset of 121.213 usec -> 2022-02-02T09:08:01.792.334.937 (XO: 14.792338090)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 123.775 usec -> 2022-02-02T09:08:01.792.337.500 (XO: 14.792340652)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 121.325 usec -> 2022-02-02T09:08:01.792.335.050 (XO: 14.792338202)

 - Block number: 2 starting at 2022-02-02T09:08:08.509.694.725 (XO: 21.509697009 - 21.510003010, t=35.6 degC)  Rank: 00079
   TM values: Max =   167  Min =  -263  Ave =    -4.55  Std =    24.43
   Min TM value:-263 at an offset of 111.863 usec -> 2022-02-02T09:08:08.509.806.587 (XO: 21.509808872)
   Max TM value:167 at an offset of 107.650 usec -> 2022-02-02T09:08:08.509.802.375 (XO: 21.509804659)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 111.938 usec -> 2022-02-02T09:08:08.509.806.662 (XO: 21.509808947)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 109.488 usec -> 2022-02-02T09:08:08.509.804.212 (XO: 21.509806497)

 - Block number: 3 starting at 2022-02-02T09:08:29.502.041.725 (XO: 42.502044432 - 42.502350433, t=35.6 degC)  Rank: 00084
   TM values: Max =   228  Min =  -286  Ave =    -4.46  Std =    27.58
   Min TM value:-286 at an offset of 100.713 usec -> 2022-02-02T09:08:29.502.142.437 (XO: 42.502145145)
   Max TM value:228 at an offset of 98.300 usec -> 2022-02-02T09:08:29.502.140.025 (XO: 42.502142733)
   Max dTM/dt [1/us]:2.72e+03 at an offset of 100.825 usec -> 2022-02-02T09:08:29.502.142.550 (XO: 42.502145258)
   Min dTM/dt [1/us]:-2.64e+03 at an offset of 98.400 usec -> 2022-02-02T09:08:29.502.140.125 (XO: 42.502142833)
