-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun May 21 23:46:56 2023 UTC
-- File 20230521_173856_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 13.846455 to 34.397542
-each separately from 13s to 34s and from 397253us to 846744us.
   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, ...
      1.586407 in 1 packets: 18
      18.963813 in 1 packets: 36
MIU packet time from 2023-05-21T17:39:12.846.455.000 to 2023-05-21T17:39:33.397.542.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, ...
      1.586407 in 1 packets: 18
      18.963813 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 14.6904875 to 35.6904096
   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, ...
      1.9999926 in 1 packets: 18
      18.9999295 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 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 20230521_173856_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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.5369436 to 15.5372326
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.5863990  -- OK for SL --
   MIU time from 2023-05-21T17:39:12.846.455.000 to 2023-05-21T17:39:12.846.744.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.586407

 - 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:
      100 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.1236316 to 17.1239206
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9637430  -- OK for SL --
   MIU time from 2023-05-21T17:39:14.433.151.000 to 2023-05-21T17:39:14.433.440.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.963813

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.0876636 to 36.0879526
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-21T17:39:33.397.253.000 to 2023-05-21T17:39:33.397.542.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 = 13, 32bit 10MHz counter = 15.536943600 corrected by 40bit 10MHz counter of 14.690487500 obtained at 1Hz counter of 13. Result: 13.846459232
--
   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.999996300 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2023-05-21T17:39:12.846.314.725
   Max 1st sample MIU time among all SL packets: 2023-05-21T17:39:33.397.401.725
   Min 1st sample XO time among all SL packets: 13.846318956
   Max 1st sample XO time among all SL packets: 34.397404195
   TM values from -843 to 453 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-21T17:39:12.846.314.725 (XO: 13.846318956 - 13.846624958, t=37.2 degC)  Rank: 00063
   TM values: Max =   174  Min =  -180  Ave =    -4.36  Std =    76.25
   Min TM value:-180 at an offset of 153.826 usec -> 2023-05-21T17:39:12.846.468.550 (XO: 13.846472782)
   Max TM value:174 at an offset of 198.563 usec -> 2023-05-21T17:39:12.846.513.288 (XO: 13.846517520)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 176.563 usec -> 2023-05-21T17:39:12.846.491.288 (XO: 13.846495520)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 133.863 usec -> 2023-05-21T17:39:12.846.448.587 (XO: 13.846452819)

 - Block number: 2 starting at 2023-05-21T17:39:14.433.010.725 (XO: 15.433012827 - 15.433318828, t=37.2 degC)  Rank: 00100
   TM values: Max =   453  Min =  -843  Ave =    -5.32  Std =    77.71
   Min TM value:-843 at an offset of 95.988 usec -> 2023-05-21T17:39:14.433.106.712 (XO: 15.433108815)
   Max TM value:453 at an offset of 96.250 usec -> 2023-05-21T17:39:14.433.106.975 (XO: 15.433109078)
   Max dTM/dt [1/us]:5.91e+03 at an offset of 96.088 usec -> 2023-05-21T17:39:14.433.106.812 (XO: 15.433108915)
   Min dTM/dt [1/us]:-6.03e+03 at an offset of 95.938 usec -> 2023-05-21T17:39:14.433.106.662 (XO: 15.433108765)

 - Block number: 3 starting at 2023-05-21T17:39:33.397.112.725 (XO: 34.397115194 - 34.397421195, t=37.2 degC)  Rank: 00069
   TM values: Max =   251  Min =  -402  Ave =    -4.38  Std =    50.83
   Min TM value:-402 at an offset of 113.038 usec -> 2023-05-21T17:39:33.397.225.762 (XO: 34.397228232)
   Max TM value:251 at an offset of 113.288 usec -> 2023-05-21T17:39:33.397.226.012 (XO: 34.397228482)
   Max dTM/dt [1/us]:3.51e+03 at an offset of 134.125 usec -> 2023-05-21T17:39:33.397.246.850 (XO: 34.397249320)
   Min dTM/dt [1/us]:-3.60e+03 at an offset of 112.988 usec -> 2023-05-21T17:39:33.397.225.712 (XO: 34.397228182)
