-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  8 17:55:24 2024 UTC
-- File 20230721_200337_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 11.789310 to 57.139047
-each separately from 11s to 57s and from 138758us to 789599us.
   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, ...
      7.399418 in 1 packets: 18
      23.559674 in 1 packets: 36
      14.389489 in 1 packets: 54
MIU packet time from 2023-07-21T20:03:51.789.310.000 to 2023-07-21T20:04:37.139.047.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, ...
      7.399418 in 1 packets: 18
      23.559674 in 1 packets: 36
      14.389489 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 12.6162756 to 58.6161251
   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, ...
      7.9999738 in 1 packets: 18
      22.9999247 in 1 packets: 36
      14.9999510 in 1 packets: 54
Temperature FPGA: 
      FE -> 57.6 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      00 -> 55.0 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      FF -> 56.3 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C6 -> 45.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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      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 20230721_200337_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.4055883 to 13.4058773
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.3993910  -- OK for SL --
   MIU time from 2023-07-21T20:03:51.789.310.000 to 2023-07-21T20:03:51.789.599.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.399418

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.8052683 to 20.8055573
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.5595990  -- OK for SL --
   MIU time from 2023-07-21T20:03:59.189.017.000 to 2023-07-21T20:03:59.189.306.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.559674

 - 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 44.3651563 to 44.3654453
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3894390  -- OK for SL --
   MIU time from 2023-07-21T20:04:22.748.980.000 to 2023-07-21T20:04:22.749.269.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.389489

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.7548843 to 58.7551733
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-21T20:04:37.138.758.000 to 2023-07-21T20:04:37.139.047.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 = 11, 32bit 10MHz counter = 13.405588300 corrected by 40bit 10MHz counter of 12.616275600 obtained at 1Hz counter of 11. Result: 11.789315305
--
   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: 2023-07-21T20:03:51.789.169.725
   Max 1st sample MIU time among all SL packets: 2023-07-21T20:04:37.138.906.725
   Min 1st sample XO time among all SL packets: 11.789175029
   Max 1st sample XO time among all SL packets: 57.138908383
   TM values from -415 to 318 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-21T20:03:51.789.169.725 (XO: 11.789175029 - 11.789481030, t=45.2 degC)  Rank: 00072
   TM values: Max =   248  Min =  -326  Ave =    -4.36  Std =    37.32
   Min TM value:-326 at an offset of 115.713 usec -> 2023-07-21T20:03:51.789.285.437 (XO: 11.789290742)
   Max TM value:248 at an offset of 120.463 usec -> 2023-07-21T20:03:51.789.290.187 (XO: 11.789295492)
   Max dTM/dt [1/us]:2.48e+03 at an offset of 117.988 usec -> 2023-07-21T20:03:51.789.287.712 (XO: 11.789293017)
   Min dTM/dt [1/us]:-2.88e+03 at an offset of 115.563 usec -> 2023-07-21T20:03:51.789.285.287 (XO: 11.789290592)

 - Block number: 2 starting at 2023-07-21T20:03:59.188.876.725 (XO: 19.188879229 - 19.189185230, t=45.2 degC)  Rank: 00071
   TM values: Max =   306  Min =  -415  Ave =    -4.48  Std =    56.63
   Min TM value:-415 at an offset of 122.200 usec -> 2023-07-21T20:03:59.188.998.925 (XO: 19.189001430)
   Max TM value:306 at an offset of 121.825 usec -> 2023-07-21T20:03:59.188.998.550 (XO: 19.189001055)
   Max dTM/dt [1/us]:2.48e+03 at an offset of 206.051 usec -> 2023-07-21T20:03:59.189.082.775 (XO: 19.189085280)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 122.063 usec -> 2023-07-21T20:03:59.188.998.787 (XO: 19.189001292)

 - Block number: 3 starting at 2023-07-21T20:04:22.748.839.725 (XO: 42.748844396 - 42.749150397, t=45.2 degC)  Rank: 00075
   TM values: Max =   238  Min =  -353  Ave =    -4.38  Std =    34.12
   Min TM value:-353 at an offset of 106.100 usec -> 2023-07-21T20:04:22.748.945.825 (XO: 42.748950497)
   Max TM value:238 at an offset of 105.825 usec -> 2023-07-21T20:04:22.748.945.550 (XO: 42.748950222)
   Max dTM/dt [1/us]:2.92e+03 at an offset of 108.350 usec -> 2023-07-21T20:04:22.748.948.075 (XO: 42.748952747)
   Min dTM/dt [1/us]:-3.21e+03 at an offset of 105.963 usec -> 2023-07-21T20:04:22.748.945.687 (XO: 42.748950359)

 - Block number: 4 starting at 2023-07-21T20:04:37.138.617.725 (XO: 57.138619382 - 57.138925383, t=45.2 degC)  Rank: 00082
   TM values: Max =   318  Min =  -325  Ave =    -4.46  Std =    82.24
   Min TM value:-325 at an offset of 154.313 usec -> 2023-07-21T20:04:37.138.772.038 (XO: 57.138773695)
   Max TM value:318 at an offset of 154.676 usec -> 2023-07-21T20:04:37.138.772.400 (XO: 57.138774058)
   Max dTM/dt [1/us]:3.42e+03 at an offset of 154.451 usec -> 2023-07-21T20:04:37.138.772.175 (XO: 57.138773833)
   Min dTM/dt [1/us]:-3.26e+03 at an offset of 126.663 usec -> 2023-07-21T20:04:37.138.744.387 (XO: 57.138746045)
