-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 15:00:59 2022 UTC
-- File 20210902_221531_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 8.538455 to 58.159246
-each separately from 8s to 58s and from 158957us to 968901us.
   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, ...
      13.339770 in 1 packets: 18
      15.089809 in 1 packets: 36
      21.190056 in 1 packets: 54
MIU packet time from 2021-09-02T22:15:42.538.455.000 to 2021-09-02T22:16:32.159.246.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, ...
      13.339770 in 1 packets: 18
      15.089809 in 1 packets: 36
      21.190056 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 9.8382977 to 59.8381315
   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, ...
      12.9999568 in 1 packets: 18
      14.9999501 in 1 packets: 36
      21.9999269 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: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210902_221531_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.3767536 to 10.3770426
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3397270  -- OK for SL --
   MIU time from 2021-09-02T22:15:42.538.455.000 to 2021-09-02T22:15:42.538.744.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.339770

 - 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.7167696 to 23.7170586
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0897590  -- OK for SL --
   MIU time from 2021-09-02T22:15:55.878.514.000 to 2021-09-02T22:15:55.878.803.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.089809

 - 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 38.8068176 to 38.8071066
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.1899830  -- OK for SL --
   MIU time from 2021-09-02T22:16:10.968.612.000 to 2021-09-02T22:16:10.968.901.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.190056

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.9970896 to 59.9973786
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T22:16:32.158.957.000 to 2021-09-02T22:16:32.159.246.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 = 8, 32bit 10MHz counter = 10.376753600 corrected by 40bit 10MHz counter of 9.838297700 obtained at 1Hz counter of 8. Result: 8.538457677
--
   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-09-02T22:15:42.538.314.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T22:16:32.159.105.725
   Min 1st sample XO time among all SL packets: 8.538317401
   Max 1st sample XO time among all SL packets: 58.159107350
   TM values from -292 to 247 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T22:15:42.538.314.725 (XO: 8.538317401 - 8.538623402, t=37.2 degC)  Rank: 00081
   TM values: Max =   208  Min =  -292  Ave =    -4.47  Std =    30.32
   Min TM value:-292 at an offset of 199.463 usec -> 2021-09-02T22:15:42.538.514.188 (XO: 8.538516865)
   Max TM value:208 at an offset of 183.438 usec -> 2021-09-02T22:15:42.538.498.163 (XO: 8.538500840)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 130.950 usec -> 2021-09-02T22:15:42.538.445.675 (XO: 8.538448352)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 128.413 usec -> 2021-09-02T22:15:42.538.443.137 (XO: 8.538445814)

 - Block number: 2 starting at 2021-09-02T22:15:55.878.373.725 (XO: 21.878377811 - 21.878683813, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -277  Ave =    -4.52  Std =    20.21
   Min TM value:-277 at an offset of 113.525 usec -> 2021-09-02T22:15:55.878.487.250 (XO: 21.878491337)
   Max TM value:216 at an offset of 113.238 usec -> 2021-09-02T22:15:55.878.486.962 (XO: 21.878491049)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 115.900 usec -> 2021-09-02T22:15:55.878.489.625 (XO: 21.878493712)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 113.350 usec -> 2021-09-02T22:15:55.878.487.075 (XO: 21.878491162)

 - Block number: 3 starting at 2021-09-02T22:16:10.968.471.725 (XO: 36.968476018 - 36.968782019, t=37.2 degC)  Rank: 00079
   TM values: Max =   247  Min =  -237  Ave =    -4.38  Std =    21.03
   Min TM value:-237 at an offset of 128.825 usec -> 2021-09-02T22:16:10.968.600.550 (XO: 36.968604843)
   Max TM value:247 at an offset of 131.513 usec -> 2021-09-02T22:16:10.968.603.237 (XO: 36.968607531)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 131.450 usec -> 2021-09-02T22:16:10.968.603.175 (XO: 36.968607468)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 128.688 usec -> 2021-09-02T22:16:10.968.600.412 (XO: 36.968604706)

 - Block number: 4 starting at 2021-09-02T22:16:32.158.816.725 (XO: 58.158818349 - 58.159124350, t=37.2 degC)  Rank: 00085
   TM values: Max =   223  Min =  -252  Ave =    -4.41  Std =    22.80
   Min TM value:-252 at an offset of 100.013 usec -> 2021-09-02T22:16:32.158.916.737 (XO: 58.158918362)
   Max TM value:223 at an offset of 112.625 usec -> 2021-09-02T22:16:32.158.929.350 (XO: 58.158930974)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 115.313 usec -> 2021-09-02T22:16:32.158.932.037 (XO: 58.158933662)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 112.750 usec -> 2021-09-02T22:16:32.158.929.475 (XO: 58.158931099)
