-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jun  7 15:52:58 2021 UTC
-- File 20210603_202822_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 0.013964 to 34.041336
-each separately from 0s to 34s and from 13964us to 569044us.
   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, ...
      15.554502 in 1 packets: 18
      18.472003 in 1 packets: 36
MIU packet time from 2021-06-03T20:28:25.013.964.000 to 2021-06-03T20:28:59.041.336.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, ...
      15.554502 in 1 packets: 18
      18.472003 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 1.6530530 to 35.6529301
   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, ...
      14.9999458 in 1 packets: 18
      18.9999313 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      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 20210603_202822_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.6670181 to 1.6673071
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.5544470  -- OK for SL --
   MIU time from 2021-06-03T20:28:25.013.964.000 to 2021-06-03T20:28:25.014.253.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.554502

 - 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:
      44 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.2217541 to 17.2220431
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4719350  -- OK for SL --
   MIU time from 2021-06-03T20:28:40.568.755.000 to 2021-06-03T20:28:40.569.044.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.472003

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6939781 to 35.6942671
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-03T20:28:59.041.047.000 to 2021-06-03T20:28:59.041.336.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 = 0, 32bit 10MHz counter = 1.667018100 corrected by 40bit 10MHz counter of 1.653053000 obtained at 1Hz counter of 0. Result: 0.013965150
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2021-06-03T20:28:25.013.823.725
   Max 1st sample MIU time among all SL packets: 2021-06-03T20:28:59.041.195.725
   Min 1st sample XO time among all SL packets: 0.013824875
   Max 1st sample XO time among all SL packets: 34.041196873
   TM values from -163 to 157 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-03T20:28:25.013.823.725 (XO: 0.013824875 - 0.014130876, t=35.6 degC)  Rank: 00077
   TM values: Max =   150  Min =  -160  Ave =    -4.41  Std =    51.85
   Min TM value:-160 at an offset of 169.676 usec -> 2021-06-03T20:28:25.013.993.400 (XO: 0.013994550)
   Max TM value:150 at an offset of 170.551 usec -> 2021-06-03T20:28:25.013.994.275 (XO: 0.013995425)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 119.400 usec -> 2021-06-03T20:28:25.013.943.125 (XO: 0.013944275)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 164.226 usec -> 2021-06-03T20:28:25.013.987.950 (XO: 0.013989100)

 - Block number: 2 starting at 2021-06-03T20:28:40.568.614.725 (XO: 15.568617072 - 15.568923073, t=35.6 degC)  Rank: 00044
   TM values: Max =   108  Min =  -122  Ave =    -4.39  Std =    36.14
   Min TM value:-122 at an offset of 103.650 usec -> 2021-06-03T20:28:40.568.718.375 (XO: 15.568720722)
   Max TM value:108 at an offset of 104.013 usec -> 2021-06-03T20:28:40.568.718.737 (XO: 15.568721085)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 151.013 usec -> 2021-06-03T20:28:40.568.765.738 (XO: 15.568768085)
   Min dTM/dt [1/us]:-1.31e+03 at an offset of 112.938 usec -> 2021-06-03T20:28:40.568.727.662 (XO: 15.568730010)

 - Block number: 3 starting at 2021-06-03T20:28:59.040.906.725 (XO: 34.040907872 - 34.041213873, t=35.6 degC)  Rank: 00082
   TM values: Max =   157  Min =  -163  Ave =    -4.32  Std =    63.49
   Min TM value:-163 at an offset of 166.688 usec -> 2021-06-03T20:28:59.041.073.413 (XO: 34.041074560)
   Max TM value:157 at an offset of 119.813 usec -> 2021-06-03T20:28:59.041.026.537 (XO: 34.041027685)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 119.375 usec -> 2021-06-03T20:28:59.041.026.100 (XO: 34.041027248)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 266.051 usec -> 2021-06-03T20:28:59.041.172.775 (XO: 34.041173923)
