-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 10 01:05:53 2021 UTC
-- File 20210808_164846_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.261663 to 41.732156
-each separately from 14s to 41s and from 261663us to 732156us.
   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, ...
      10.239825 in 1 packets: 18
      17.229801 in 1 packets: 36
MIU packet time from 2021-08-08T16:49:03.261.663.000 to 2021-08-08T16:49:30.732.156.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, ...
      10.239825 in 1 packets: 18
      17.229801 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.6660616 to 42.6659708
   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, ...
      9.9999664 in 1 packets: 18
      16.9999428 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 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 20210808_164846_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9277261 to 15.9280151
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.2397910  -- OK for SL --
   MIU time from 2021-08-08T16:49:03.261.663.000 to 2021-08-08T16:49:03.261.952.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.239825

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.1678061 to 26.1680951
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2297430  -- OK for SL --
   MIU time from 2021-08-08T16:49:13.501.777.000 to 2021-08-08T16:49:13.502.066.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.229801

 - 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 43.3978381 to 43.3981271
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-08T16:49:30.731.867.000 to 2021-08-08T16:49:30.732.156.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.927726100 corrected by 40bit 10MHz counter of 15.666061600 obtained at 1Hz counter of 14. Result: 14.261665363
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-08T16:49:03.261.522.725
   Max 1st sample MIU time among all SL packets: 2021-08-08T16:49:30.732.015.725
   Min 1st sample XO time among all SL packets: 14.261525088
   Max 1st sample XO time among all SL packets: 41.732018514
   TM values from -299 to 268 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-08T16:49:03.261.522.725 (XO: 14.261525088 - 14.261831089, t=37.2 degC)  Rank: 00080
   TM values: Max =   254  Min =  -299  Ave =    -4.37  Std =    29.32
   Min TM value:-299 at an offset of 116.950 usec -> 2021-08-08T16:49:03.261.639.675 (XO: 14.261642038)
   Max TM value:254 at an offset of 114.438 usec -> 2021-08-08T16:49:03.261.637.162 (XO: 14.261639526)
   Max dTM/dt [1/us]:2.76e+03 at an offset of 117.075 usec -> 2021-08-08T16:49:03.261.639.800 (XO: 14.261642163)
   Min dTM/dt [1/us]:-2.78e+03 at an offset of 114.538 usec -> 2021-08-08T16:49:03.261.637.262 (XO: 14.261639626)

 - Block number: 2 starting at 2021-08-08T16:49:13.501.636.725 (XO: 24.501639531 - 24.501945532, t=37.2 degC)  Rank: 00078
   TM values: Max =   250  Min =  -283  Ave =    -4.43  Std =    32.73
   Min TM value:-283 at an offset of 112.550 usec -> 2021-08-08T16:49:13.501.749.275 (XO: 24.501752081)
   Max TM value:250 at an offset of 115.213 usec -> 2021-08-08T16:49:13.501.751.937 (XO: 24.501754743)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 115.025 usec -> 2021-08-08T16:49:13.501.751.750 (XO: 24.501754556)
   Min dTM/dt [1/us]:-2.57e+03 at an offset of 112.438 usec -> 2021-08-08T16:49:13.501.749.162 (XO: 24.501751968)

 - Block number: 3 starting at 2021-08-08T16:49:30.731.726.725 (XO: 41.731729513 - 41.732035514, t=37.2 degC)  Rank: 00084
   TM values: Max =   268  Min =  -287  Ave =    -4.36  Std =    30.85
   Min TM value:-287 at an offset of 127.663 usec -> 2021-08-08T16:49:30.731.854.387 (XO: 41.731857176)
   Max TM value:268 at an offset of 125.413 usec -> 2021-08-08T16:49:30.731.852.137 (XO: 41.731854926)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 125.288 usec -> 2021-08-08T16:49:30.731.852.012 (XO: 41.731854801)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 127.475 usec -> 2021-08-08T16:49:30.731.854.200 (XO: 41.731856988)
