-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 02:50:19 2023 UTC
-- File 20230613_120122_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 8.480327 to 36.373275
-each separately from 8s to 36s and from 372986us to 480616us.
   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, ...
      10.977350 in 1 packets: 18
      16.914731 in 1 packets: 36
MIU packet time from 2023-06-13T12:01:33.480.327.000 to 2023-06-13T12:02:01.373.275.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, ...
      10.977350 in 1 packets: 18
      16.914731 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 9.6980389 to 37.6979397
   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, ...
      10.9999611 in 1 packets: 18
      16.9999397 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 20230613_120122_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 10.1783673 to 10.1786563
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9773110  -- OK for SL --
   MIU time from 2023-06-13T12:01:33.480.327.000 to 2023-06-13T12:01:33.480.616.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.977350

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.1559673 to 21.1562563
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9146710  -- OK for SL --
   MIU time from 2023-06-13T12:01:44.457.966.000 to 2023-06-13T12:01:44.458.255.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.914731

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.0709273 to 38.0712163
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-13T12:02:01.372.986.000 to 2023-06-13T12:02:01.373.275.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 = 8, 32bit 10MHz counter = 10.178367300 corrected by 40bit 10MHz counter of 9.698038900 obtained at 1Hz counter of 8. Result: 8.480330129
--
   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-06-13T12:01:33.480.186.725
   Max 1st sample MIU time among all SL packets: 2023-06-13T12:02:01.373.134.725
   Min 1st sample XO time among all SL packets: 8.480189854
   Max 1st sample XO time among all SL packets: 36.373137631
   TM values from -97 to 110 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-13T12:01:33.480.186.725 (XO: 8.480189854 - 8.480495855, t=42.0 degC)  Rank: 00071
   TM values: Max =    97  Min =   -97  Ave =    -4.40  Std =    14.23
   Min TM value:-97 at an offset of 127.200 usec -> 2023-06-13T12:01:33.480.313.925 (XO: 8.480317054)
   Max TM value:97 at an offset of 122.488 usec -> 2023-06-13T12:01:33.480.309.212 (XO: 8.480312342)
   Max dTM/dt [1/us]:2.25e+02 at an offset of 150.013 usec -> 2023-06-13T12:01:33.480.336.738 (XO: 8.480339867)
   Min dTM/dt [1/us]:-2.10e+02 at an offset of 160.113 usec -> 2023-06-13T12:01:33.480.346.838 (XO: 8.480349967)

 - Block number: 2 starting at 2023-06-13T12:01:44.457.825.725 (XO: 19.457828627 - 19.458134628, t=42.0 degC)  Rank: 00070
   TM values: Max =    68  Min =   -93  Ave =    -4.32  Std =    16.88
   Min TM value:-93 at an offset of 96.400 usec -> 2023-06-13T12:01:44.457.922.125 (XO: 19.457925028)
   Max TM value:68 at an offset of 105.325 usec -> 2023-06-13T12:01:44.457.931.050 (XO: 19.457933953)
   Max dTM/dt [1/us]:2.97e+02 at an offset of 85.813 usec -> 2023-06-13T12:01:44.457.911.537 (XO: 19.457914440)
   Min dTM/dt [1/us]:-3.00e+02 at an offset of 219.963 usec -> 2023-06-13T12:01:44.458.045.688 (XO: 19.458048591)

 - Block number: 3 starting at 2023-06-13T12:02:01.372.845.725 (XO: 36.372848630 - 36.373154631, t=42.0 degC)  Rank: 00079
   TM values: Max =   110  Min =   -71  Ave =    -4.22  Std =    18.98
   Min TM value:-71 at an offset of 103.775 usec -> 2023-06-13T12:02:01.372.949.500 (XO: 36.372952405)
   Max TM value:110 at an offset of 93.513 usec -> 2023-06-13T12:02:01.372.939.237 (XO: 36.372942143)
   Max dTM/dt [1/us]:1.55e+02 at an offset of 146.176 usec -> 2023-06-13T12:02:01.372.991.900 (XO: 36.372994805)
   Min dTM/dt [1/us]:-1.36e+02 at an offset of 115.325 usec -> 2023-06-13T12:02:01.372.961.050 (XO: 36.372963955)
