-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 17:10:45 2023 UTC
-- File 20220624_131352_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 7.947715 to 33.203396
-each separately from 7s to 33s and from 203107us to 992614us.
   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, ...
      22.044321 in 1 packets: 18
      3.210493 in 1 packets: 36
MIU packet time from 2022-06-24T13:14:02.947.715.000 to 2022-06-24T13:14:28.203.396.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, ...
      22.044321 in 1 packets: 18
      3.210493 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.2582402 to 35.2581437
   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, ...
      21.9999183 in 1 packets: 18
      3.9999852 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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 20220624_131352_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.2059555 to 10.2062445
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.0442390  -- OK for SL --
   MIU time from 2022-06-24T13:14:02.947.715.000 to 2022-06-24T13:14:02.948.004.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.044321

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.2504835 to 32.2507725
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.2104790  -- OK for SL --
   MIU time from 2022-06-24T13:14:24.992.325.000 to 2022-06-24T13:14:24.992.614.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.210493

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.4612515 to 35.4615405
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-24T13:14:28.203.107.000 to 2022-06-24T13:14:28.203.396.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 = 7, 32bit 10MHz counter = 10.205955500 corrected by 40bit 10MHz counter of 9.258240200 obtained at 1Hz counter of 7. Result: 7.947718901
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-06-24T13:14:02.947.574.725
   Max 1st sample MIU time among all SL packets: 2022-06-24T13:14:28.203.255.725
   Min 1st sample XO time among all SL packets: 7.947578626
   Max 1st sample XO time among all SL packets: 33.203257297
   TM values from -325 to 260 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-24T13:14:02.947.574.725 (XO: 7.947578626 - 7.947884627, t=37.2 degC)  Rank: 00072
   TM values: Max =   196  Min =  -269  Ave =    -4.37  Std =    26.39
   Min TM value:-269 at an offset of 105.538 usec -> 2022-06-24T13:14:02.947.680.262 (XO: 7.947684164)
   Max TM value:196 at an offset of 108.125 usec -> 2022-06-24T13:14:02.947.682.850 (XO: 7.947686751)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 105.650 usec -> 2022-06-24T13:14:02.947.680.375 (XO: 7.947684276)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 103.075 usec -> 2022-06-24T13:14:02.947.677.800 (XO: 7.947681701)

 - Block number: 2 starting at 2022-06-24T13:14:24.992.184.725 (XO: 29.992188396 - 29.992494397, t=37.2 degC)  Rank: 00072
   TM values: Max =   243  Min =  -325  Ave =    -4.40  Std =    36.93
   Min TM value:-325 at an offset of 121.413 usec -> 2022-06-24T13:14:24.992.306.137 (XO: 29.992309809)
   Max TM value:243 at an offset of 118.963 usec -> 2022-06-24T13:14:24.992.303.687 (XO: 29.992307359)
   Max dTM/dt [1/us]:2.88e+03 at an offset of 121.525 usec -> 2022-06-24T13:14:24.992.306.250 (XO: 29.992309922)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 119.063 usec -> 2022-06-24T13:14:24.992.303.787 (XO: 29.992307459)

 - Block number: 3 starting at 2022-06-24T13:14:28.202.966.725 (XO: 33.202968296 - 33.203274297, t=37.2 degC)  Rank: 00078
   TM values: Max =   260  Min =  -270  Ave =    -4.36  Std =    25.10
   Min TM value:-270 at an offset of 117.850 usec -> 2022-06-24T13:14:28.203.084.575 (XO: 33.203086147)
   Max TM value:260 at an offset of 115.413 usec -> 2022-06-24T13:14:28.203.082.137 (XO: 33.203083709)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 117.975 usec -> 2022-06-24T13:14:28.203.084.700 (XO: 33.203086272)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 115.513 usec -> 2022-06-24T13:14:28.203.082.237 (XO: 33.203083809)
