-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jun  3 22:38:23 2023 UTC
-- File 20230603_040106_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 12.070214 to 42.896784
-each separately from 12s to 42s and from 70214us to 896784us.
   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, ...
      3.359289 in 1 packets: 18
      27.466414 in 1 packets: 36
MIU packet time from 2023-06-03T04:01:21.070.214.000 to 2023-06-03T04:01:51.896.784.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, ...
      3.359289 in 1 packets: 18
      27.466414 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 13.6666280 to 43.6665220
   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, ...
      2.9999894 in 1 packets: 18
      26.9999046 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 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
Temperature XO: 
      C3 -> 40.4 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20230603_040106_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 13.7368427 to 13.7371317
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.3592790  -- OK for SL --
   MIU time from 2023-06-03T04:01:21.070.214.000 to 2023-06-03T04:01:21.070.503.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.359289

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.0964107 to 17.0966997
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.4663190  -- OK for SL --
   MIU time from 2023-06-03T04:01:24.429.792.000 to 2023-06-03T04:01:24.430.081.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.466414

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.5630187 to 44.5633077
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-03T04:01:51.896.495.000 to 2023-06-03T04:01:51.896.784.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 = 12, 32bit 10MHz counter = 13.736842700 corrected by 40bit 10MHz counter of 13.666628000 obtained at 1Hz counter of 12. Result: 12.070214946
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2023-06-03T04:01:21.070.073.725
   Max 1st sample MIU time among all SL packets: 2023-06-03T04:01:51.896.643.725
   Min 1st sample XO time among all SL packets: 12.070074670
   Max 1st sample XO time among all SL packets: 42.896648563
   TM values from -280 to 209 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-03T04:01:21.070.073.725 (XO: 12.070074670 - 12.070380671, t=40.4 degC)  Rank: 00077
   TM values: Max =   186  Min =  -280  Ave =    -4.40  Std =    20.94
   Min TM value:-280 at an offset of 112.038 usec -> 2023-06-03T04:01:21.070.185.762 (XO: 12.070186708)
   Max TM value:186 at an offset of 99.613 usec -> 2023-06-03T04:01:21.070.173.337 (XO: 12.070174283)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 114.375 usec -> 2023-06-03T04:01:21.070.188.100 (XO: 12.070189046)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 111.875 usec -> 2023-06-03T04:01:21.070.185.600 (XO: 12.070186546)

 - Block number: 2 starting at 2023-06-03T04:01:24.429.651.725 (XO: 15.429654529 - 15.429960530, t=40.4 degC)  Rank: 00081
   TM values: Max =   185  Min =  -272  Ave =    -4.48  Std =    23.58
   Min TM value:-272 at an offset of 120.688 usec -> 2023-06-03T04:01:24.429.772.412 (XO: 15.429775217)
   Max TM value:185 at an offset of 125.688 usec -> 2023-06-03T04:01:24.429.777.412 (XO: 15.429780217)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 123.100 usec -> 2023-06-03T04:01:24.429.774.825 (XO: 15.429777629)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 120.563 usec -> 2023-06-03T04:01:24.429.772.287 (XO: 15.429775092)

 - Block number: 3 starting at 2023-06-03T04:01:51.896.354.725 (XO: 42.896359562 - 42.896665563, t=40.4 degC)  Rank: 00078
   TM values: Max =   209  Min =  -238  Ave =    -4.40  Std =    29.48
   Min TM value:-238 at an offset of 140.663 usec -> 2023-06-03T04:01:51.896.495.387 (XO: 42.896500225)
   Max TM value:209 at an offset of 89.900 usec -> 2023-06-03T04:01:51.896.444.625 (XO: 42.896449463)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 143.051 usec -> 2023-06-03T04:01:51.896.497.775 (XO: 42.896502613)
   Min dTM/dt [1/us]:-1.85e+03 at an offset of 140.525 usec -> 2023-06-03T04:01:51.896.495.250 (XO: 42.896500088)
