-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  5 22:38:22 2024 UTC
-- File 20230720_171750_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 4.574264 to 42.805247
-each separately from 4s to 42s and from 44658us to 805247us.
   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, ...
      20.470105 in 1 packets: 18
      17.760011 in 1 packets: 36
MIU packet time from 2023-07-20T17:17:57.574.264.000 to 2023-07-20T17:18:35.805.247.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, ...
      20.470105 in 1 packets: 18
      17.760011 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 5.6720093 to 43.6718752
   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, ...
      20.9999260 in 1 packets: 18
      16.9999399 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets (all packets)
Temperature XO: 
      C5 -> 43.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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20230720_171750_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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.2462749 to 6.2465639
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4700310  -- OK for SL --
   MIU time from 2023-07-20T17:17:57.574.264.000 to 2023-07-20T17:17:57.574.553.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.470105

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.7165949 to 26.7168839
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7599510  -- OK for SL --
   MIU time from 2023-07-20T17:18:18.044.658.000 to 2023-07-20T17:18:18.044.947.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.760011

 - 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:
      138 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.4768349 to 44.4771239
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-20T17:18:35.804.958.000 to 2023-07-20T17:18:35.805.247.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 = 4, 32bit 10MHz counter = 6.246274900 corrected by 40bit 10MHz counter of 5.672009300 obtained at 1Hz counter of 4. Result: 4.574267610
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2023-07-20T17:17:57.574.123.725
   Max 1st sample MIU time among all SL packets: 2023-07-20T17:18:35.805.106.725
   Min 1st sample XO time among all SL packets: 4.574127334
   Max 1st sample XO time among all SL packets: 42.805111243
   TM values from -954 to 1082 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-20T17:17:57.574.123.725 (XO: 4.574127334 - 4.574433336, t=43.6 degC)  Rank: 00089
   TM values: Max =   267  Min =  -357  Ave =    -4.43  Std =    38.48
   Min TM value:-357 at an offset of 108.450 usec -> 2023-07-20T17:17:57.574.232.175 (XO: 4.574235785)
   Max TM value:267 at an offset of 167.501 usec -> 2023-07-20T17:17:57.574.291.225 (XO: 4.574294835)
   Max dTM/dt [1/us]:3.00e+03 at an offset of 167.376 usec -> 2023-07-20T17:17:57.574.291.100 (XO: 4.574294710)
   Min dTM/dt [1/us]:-3.28e+03 at an offset of 108.338 usec -> 2023-07-20T17:17:57.574.232.062 (XO: 4.574235672)

 - Block number: 2 starting at 2023-07-20T17:18:18.044.517.725 (XO: 25.044519485 - 25.044825486, t=43.6 degC)  Rank: 00064
   TM values: Max =   265  Min =  -281  Ave =    -4.41  Std =    39.17
   Min TM value:-281 at an offset of 106.725 usec -> 2023-07-20T17:18:18.044.624.450 (XO: 25.044626211)
   Max TM value:265 at an offset of 111.575 usec -> 2023-07-20T17:18:18.044.629.300 (XO: 25.044631061)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 109.100 usec -> 2023-07-20T17:18:18.044.626.825 (XO: 25.044628586)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 111.713 usec -> 2023-07-20T17:18:18.044.629.437 (XO: 25.044631198)

 - Block number: 3 starting at 2023-07-20T17:18:35.804.817.725 (XO: 42.804822242 - 42.805128243, t=43.6 degC)  Rank: 00138
   TM values: Max =  1082  Min =  -954  Ave =    -4.40  Std =    41.15
   Min TM value:-954 at an offset of 124.563 usec -> 2023-07-20T17:18:35.804.942.287 (XO: 42.804946805)
   Max TM value:1082 at an offset of 124.300 usec -> 2023-07-20T17:18:35.804.942.025 (XO: 42.804946542)
   Max dTM/dt [1/us]:1.27e+04 at an offset of 124.238 usec -> 2023-07-20T17:18:35.804.941.962 (XO: 42.804946480)
   Min dTM/dt [1/us]:-1.39e+04 at an offset of 124.350 usec -> 2023-07-20T17:18:35.804.942.075 (XO: 42.804946592)
