-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 20:41:19 2023 UTC
-- File 20220703_210357_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 14.347291 to 36.465147
-each separately from 14s to 36s and from 347291us to 807300us.
   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, ...
      2.459431 in 1 packets: 18
      19.657558 in 1 packets: 36
MIU packet time from 2022-07-03T21:04:14.347.291.000 to 2022-07-03T21:04:36.465.147.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, ...
      2.459431 in 1 packets: 18
      19.657558 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 15.6208709 to 37.6207922
   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.9999929 in 1 packets: 18
      19.9999284 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      03 -> 51.1 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 20220703_210357_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9681634 to 15.9684524
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.4594230  -- OK for SL --
   MIU time from 2022-07-03T21:04:14.347.291.000 to 2022-07-03T21:04:14.347.580.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.459431

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.4278754 to 18.4281644
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.6574870  -- OK for SL --
   MIU time from 2022-07-03T21:04:16.807.011.000 to 2022-07-03T21:04:16.807.300.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.657558

 - 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 38.0856514 to 38.0859404
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-03T21:04:36.464.858.000 to 2022-07-03T21:04:36.465.147.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 = 14, 32bit 10MHz counter = 15.968163400 corrected by 40bit 10MHz counter of 15.620870900 obtained at 1Hz counter of 14. Result: 14.347293716
--
   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: 2022-07-03T21:04:14.347.150.725
   Max 1st sample MIU time among all SL packets: 2022-07-03T21:04:36.465.006.725
   Min 1st sample XO time among all SL packets: 14.347153440
   Max 1st sample XO time among all SL packets: 36.465009553
   TM values from -351 to 271 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-03T21:04:14.347.150.725 (XO: 14.347153440 - 14.347459441, t=38.8 degC)  Rank: 00087
   TM values: Max =   245  Min =  -351  Ave =    -4.43  Std =    39.25
   Min TM value:-351 at an offset of 117.263 usec -> 2022-07-03T21:04:14.347.267.987 (XO: 14.347270703)
   Max TM value:245 at an offset of 117.513 usec -> 2022-07-03T21:04:14.347.268.237 (XO: 14.347270953)
   Max dTM/dt [1/us]:2.89e+03 at an offset of 117.400 usec -> 2022-07-03T21:04:14.347.268.125 (XO: 14.347270840)
   Min dTM/dt [1/us]:-3.13e+03 at an offset of 114.925 usec -> 2022-07-03T21:04:14.347.265.650 (XO: 14.347268365)

 - Block number: 2 starting at 2022-07-03T21:04:16.806.870.725 (XO: 16.806874230 - 16.807180231, t=38.8 degC)  Rank: 00087
   TM values: Max =   271  Min =  -295  Ave =    -4.48  Std =    29.50
   Min TM value:-295 at an offset of 130.775 usec -> 2022-07-03T21:04:16.807.001.500 (XO: 16.807005005)
   Max TM value:271 at an offset of 128.313 usec -> 2022-07-03T21:04:16.806.999.037 (XO: 16.807002543)
   Max dTM/dt [1/us]:2.52e+03 at an offset of 128.275 usec -> 2022-07-03T21:04:16.806.999.000 (XO: 16.807002505)
   Min dTM/dt [1/us]:-2.93e+03 at an offset of 128.425 usec -> 2022-07-03T21:04:16.806.999.150 (XO: 16.807002655)

 - Block number: 3 starting at 2022-07-03T21:04:36.464.717.725 (XO: 36.464720552 - 36.465026553, t=38.8 degC)  Rank: 00075
   TM values: Max =   249  Min =  -297  Ave =    -4.57  Std =    24.56
   Min TM value:-297 at an offset of 122.638 usec -> 2022-07-03T21:04:36.464.840.362 (XO: 36.464843189)
   Max TM value:249 at an offset of 120.150 usec -> 2022-07-03T21:04:36.464.837.875 (XO: 36.464840702)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 122.725 usec -> 2022-07-03T21:04:36.464.840.450 (XO: 36.464843277)
   Min dTM/dt [1/us]:-2.88e+03 at an offset of 120.250 usec -> 2022-07-03T21:04:36.464.837.975 (XO: 36.464840802)
