-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun May 21 22:56:30 2023 UTC
-- File 20230521_160305_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 9.095306 to 41.096592
-each separately from 9s to 41s and from 95306us to 696141us.
   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, ...
      18.600257 in 1 packets: 18
      13.400162 in 1 packets: 36
MIU packet time from 2023-05-21T16:03:17.095.306.000 to 2023-05-21T16:03:49.096.592.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, ...
      18.600257 in 1 packets: 18
      13.400162 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 10.5466861 to 42.5465691
   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, ...
      17.9999342 in 1 packets: 18
      13.9999488 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
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 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 20230521_160305_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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6419931 to 10.6422821
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6001910  -- OK for SL --
   MIU time from 2023-05-21T16:03:17.095.306.000 to 2023-05-21T16:03:17.095.595.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.600257

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.2424731 to 29.2427621
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4001110  -- OK for SL --
   MIU time from 2023-05-21T16:03:35.695.852.000 to 2023-05-21T16:03:35.696.141.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.400162

 - 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:
      64 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.6428731 to 42.6431621
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-21T16:03:49.096.303.000 to 2023-05-21T16:03:49.096.592.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 = 9, 32bit 10MHz counter = 10.641993100 corrected by 40bit 10MHz counter of 10.546686100 obtained at 1Hz counter of 9. Result: 9.095307353
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2023-05-21T16:03:17.095.165.725
   Max 1st sample MIU time among all SL packets: 2023-05-21T16:03:49.096.451.725
   Min 1st sample XO time among all SL packets: 9.095167077
   Max 1st sample XO time among all SL packets: 41.096453072
   TM values from -165 to 187 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-21T16:03:17.095.165.725 (XO: 9.095167077 - 9.095473078, t=37.2 degC)  Rank: 00061
   TM values: Max =   187  Min =  -165  Ave =    -4.37  Std =    14.43
   Min TM value:-165 at an offset of 124.650 usec -> 2023-05-21T16:03:17.095.290.375 (XO: 9.095291728)
   Max TM value:187 at an offset of 122.050 usec -> 2023-05-21T16:03:17.095.287.775 (XO: 9.095289128)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 121.963 usec -> 2023-05-21T16:03:17.095.287.687 (XO: 9.095289040)
   Min dTM/dt [1/us]:-1.50e+03 at an offset of 122.163 usec -> 2023-05-21T16:03:17.095.287.887 (XO: 9.095289240)

 - Block number: 2 starting at 2023-05-21T16:03:35.695.711.725 (XO: 27.695715099 - 27.696021100, t=37.2 degC)  Rank: 00058
   TM values: Max =   178  Min =  -162  Ave =    -4.47  Std =    13.33
   Min TM value:-162 at an offset of 124.188 usec -> 2023-05-21T16:03:35.695.835.912 (XO: 27.695839287)
   Max TM value:178 at an offset of 121.575 usec -> 2023-05-21T16:03:35.695.833.300 (XO: 27.695836675)
   Max dTM/dt [1/us]:1.38e+03 at an offset of 109.513 usec -> 2023-05-21T16:03:35.695.821.237 (XO: 27.695824612)
   Min dTM/dt [1/us]:-1.44e+03 at an offset of 121.700 usec -> 2023-05-21T16:03:35.695.833.425 (XO: 27.695836800)

 - Block number: 3 starting at 2023-05-21T16:03:49.096.162.725 (XO: 41.096164071 - 41.096470072, t=37.2 degC)  Rank: 00064
   TM values: Max =   171  Min =  -152  Ave =    -4.39  Std =    14.66
   Min TM value:-152 at an offset of 123.963 usec -> 2023-05-21T16:03:49.096.286.687 (XO: 41.096288034)
   Max TM value:171 at an offset of 121.300 usec -> 2023-05-21T16:03:49.096.284.025 (XO: 41.096285372)
   Max dTM/dt [1/us]:1.24e+03 at an offset of 121.200 usec -> 2023-05-21T16:03:49.096.283.925 (XO: 41.096285272)
   Min dTM/dt [1/us]:-1.43e+03 at an offset of 108.950 usec -> 2023-05-21T16:03:49.096.271.675 (XO: 41.096273022)
