-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 04:00:16 2023 UTC
-- File 20220618_120938_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 4.022122 to 32.582214
-each separately from 4s to 32s and from 22122us to 762248us.
   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, ...
      14.739548 in 1 packets: 18
      13.819677 in 1 packets: 36
MIU packet time from 2022-06-18T12:09:45.022.122.000 to 2022-06-18T12:10:13.582.214.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, ...
      14.739548 in 1 packets: 18
      13.819677 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 5.7554991 to 33.7554079
   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, ...
      13.9999545 in 1 packets: 18
      13.9999543 in 1 packets: 36
Temperature FPGA: 
      FF -> 56.3 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FE -> 57.6 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C5 -> 43.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: 
      1 in 1 packets: 1
      2 in 53 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220618_120938_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:
      93 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.7776225 to 5.7779115
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7395030  -- OK for SL --
   MIU time from 2022-06-18T12:09:45.022.122.000 to 2022-06-18T12:09:45.022.411.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.739548

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.5174145 to 20.5177035
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.8196310  -- OK for SL --
   MIU time from 2022-06-18T12:09:59.761.959.000 to 2022-06-18T12:09:59.762.248.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.819677

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.3373345 to 34.3376235
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-18T12:10:13.581.925.000 to 2022-06-18T12:10:13.582.214.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 = 4, 32bit 10MHz counter = 5.777622500 corrected by 40bit 10MHz counter of 5.755499100 obtained at 1Hz counter of 4. Result: 4.022123471
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2022-06-18T12:09:45.021.981.725
   Max 1st sample MIU time among all SL packets: 2022-06-18T12:10:13.582.073.725
   Min 1st sample XO time among all SL packets: 4.021983195
   Max 1st sample XO time among all SL packets: 32.582077188
   TM values from -277 to 236 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-18T12:09:45.021.981.725 (XO: 4.021983195 - 4.022289196, t=43.6 degC)  Rank: 00093
   TM values: Max =   204  Min =  -257  Ave =    -4.58  Std =    24.87
   Min TM value:-257 at an offset of 140.175 usec -> 2022-06-18T12:09:45.022.121.900 (XO: 4.022123371)
   Max TM value:204 at an offset of 126.613 usec -> 2022-06-18T12:09:45.022.108.337 (XO: 4.022109808)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 126.475 usec -> 2022-06-18T12:09:45.022.108.200 (XO: 4.022109671)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 140.063 usec -> 2022-06-18T12:09:45.022.121.787 (XO: 4.022123258)

 - Block number: 2 starting at 2022-06-18T12:09:59.761.818.725 (XO: 18.761823139 - 18.762129140, t=43.6 degC)  Rank: 00077
   TM values: Max =   236  Min =  -277  Ave =    -4.60  Std =    29.47
   Min TM value:-277 at an offset of 126.638 usec -> 2022-06-18T12:09:59.761.945.362 (XO: 18.761949777)
   Max TM value:236 at an offset of 128.975 usec -> 2022-06-18T12:09:59.761.947.700 (XO: 18.761952114)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 215.226 usec -> 2022-06-18T12:09:59.762.033.950 (XO: 18.762038365)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 126.463 usec -> 2022-06-18T12:09:59.761.945.187 (XO: 18.761949602)

 - Block number: 3 starting at 2022-06-18T12:10:13.581.784.725 (XO: 32.581788187 - 32.582094188, t=43.6 degC)  Rank: 00075
   TM values: Max =   232  Min =  -243  Ave =    -4.60  Std =    28.98
   Min TM value:-243 at an offset of 286.501 usec -> 2022-06-18T12:10:13.582.071.225 (XO: 32.582074688)
   Max TM value:232 at an offset of 288.876 usec -> 2022-06-18T12:10:13.582.073.600 (XO: 32.582077063)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 122.300 usec -> 2022-06-18T12:10:13.581.907.025 (XO: 32.581910487)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 304.026 usec -> 2022-06-18T12:10:13.582.088.750 (XO: 32.582092213)
