-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 08:16:53 2023 UTC
-- File 20230624_194639_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 0.106505 to 36.296323
-each separately from 0s to 36s and from 106505us to 316430us.
   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, ...
      25.209347 in 1 packets: 18
      10.979604 in 1 packets: 36
MIU packet time from 2023-06-24T19:46:42.106.505.000 to 2023-06-24T19:47:18.296.323.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, ...
      25.209347 in 1 packets: 18
      10.979604 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 1.6678621 to 37.6677408
   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, ...
      24.9999158 in 1 packets: 18
      10.9999629 in 1 packets: 36
Temperature FPGA: 
      FF -> 56.3 degC in 54 packets (all packets)
Temperature XO: 
      C6 -> 45.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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20230624_194639_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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 1.7743686 to 1.7746576
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.2092630  -- OK for SL --
   MIU time from 2023-06-24T19:46:42.106.505.000 to 2023-06-24T19:46:42.106.794.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.209347

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.9839206 to 26.9842096
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9795670  -- OK for SL --
   MIU time from 2023-06-24T19:47:07.316.141.000 to 2023-06-24T19:47:07.316.430.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.979604

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9637766 to 37.9640656
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-24T19:47:18.296.034.000 to 2023-06-24T19:47:18.296.323.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 = 0, 32bit 10MHz counter = 1.774368600 corrected by 40bit 10MHz counter of 1.667862100 obtained at 1Hz counter of 0. Result: 0.106506862
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2023-06-24T19:46:42.106.364.725
   Max 1st sample MIU time among all SL packets: 2023-06-24T19:47:18.296.182.725
   Min 1st sample XO time among all SL packets: 0.106366587
   Max 1st sample XO time among all SL packets: 36.296185502
   TM values from -362 to 282 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-24T19:46:42.106.364.725 (XO: 0.106366587 - 0.106672588, t=45.2 degC)  Rank: 00071
   TM values: Max =   228  Min =  -318  Ave =    -4.51  Std =    27.16
   Min TM value:-318 at an offset of 36.500 usec -> 2023-06-24T19:46:42.106.401.225 (XO: 0.106403087)
   Max TM value:228 at an offset of 34.050 usec -> 2023-06-24T19:46:42.106.398.775 (XO: 0.106400637)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 36.600 usec -> 2023-06-24T19:46:42.106.401.325 (XO: 0.106403187)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 34.175 usec -> 2023-06-24T19:46:42.106.398.900 (XO: 0.106400762)

 - Block number: 2 starting at 2023-06-24T19:47:07.316.000.725 (XO: 25.316003499 - 25.316309500, t=45.2 degC)  Rank: 00076
   TM values: Max =   282  Min =  -362  Ave =    -4.45  Std =    39.42
   Min TM value:-362 at an offset of 120.925 usec -> 2023-06-24T19:47:07.316.121.650 (XO: 25.316124425)
   Max TM value:282 at an offset of 120.700 usec -> 2023-06-24T19:47:07.316.121.425 (XO: 25.316124200)
   Max dTM/dt [1/us]:2.84e+03 at an offset of 123.250 usec -> 2023-06-24T19:47:07.316.123.975 (XO: 25.316126750)
   Min dTM/dt [1/us]:-3.49e+03 at an offset of 120.763 usec -> 2023-06-24T19:47:07.316.121.487 (XO: 25.316124262)

 - Block number: 3 starting at 2023-06-24T19:47:18.295.893.725 (XO: 36.295896501 - 36.296202502, t=45.2 degC)  Rank: 00076
   TM values: Max =   254  Min =  -322  Ave =    -4.49  Std =    26.83
   Min TM value:-322 at an offset of 124.675 usec -> 2023-06-24T19:47:18.296.018.400 (XO: 36.296021177)
   Max TM value:254 at an offset of 124.950 usec -> 2023-06-24T19:47:18.296.018.675 (XO: 36.296021452)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 124.850 usec -> 2023-06-24T19:47:18.296.018.575 (XO: 36.296021352)
   Min dTM/dt [1/us]:-2.85e+03 at an offset of 122.350 usec -> 2023-06-24T19:47:18.296.016.075 (XO: 36.296018852)
