-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 22:03:42 2023 UTC
-- File 20220119_072332_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 9.151558 to 58.632104
-each separately from 9s to 58s and from 31467us to 921961us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.879620 in 1 packets: 18
      8.889916 in 1 packets: 36
      21.709854 in 1 packets: 54
MIU packet time from 2022-01-19T07:23:44.151.558.000 to 2022-01-19T07:24:33.632.104.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.879620 in 1 packets: 18
      8.889916 in 1 packets: 36
      21.709854 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 10.4795513 to 59.4793752
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.9999317 in 1 packets: 18
      7.9999712 in 1 packets: 36
      21.9999210 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220119_072332_1227.dat, 4 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6311107 to 10.6313997
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.8795510  -- OK for SL --
   MIU time from 2022-01-19T07:23:44.151.558.000 to 2022-01-19T07:23:44.151.847.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.879620

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.5109507 to 29.5112397
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.8898870  -- OK for SL --
   MIU time from 2022-01-19T07:24:03.031.467.000 to 2022-01-19T07:24:03.031.756.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.889916

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.4011267 to 38.4014157
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7097750  -- OK for SL --
   MIU time from 2022-01-19T07:24:11.921.672.000 to 2022-01-19T07:24:11.921.961.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.709854

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.1111907 to 60.1114797
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-19T07:24:33.631.815.000 to 2022-01-19T07:24:33.632.104.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 9, 32bit 10MHz counter = 10.631110700 corrected by 40bit 10MHz counter of 10.479551300 obtained at 1Hz counter of 9. Result: 9.151559946
--
   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-01-19T07:23:44.151.417.725
   Max 1st sample MIU time among all SL packets: 2022-01-19T07:24:33.631.963.725
   Min 1st sample XO time among all SL packets: 9.151419670
   Max 1st sample XO time among all SL packets: 58.631966500
   TM values from -193 to 160 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-19T07:23:44.151.417.725 (XO: 9.151419670 - 9.151725671, t=37.2 degC)  Rank: 00051
   TM values: Max =   136  Min =  -167  Ave =    -4.50  Std =    19.33
   Min TM value:-167 at an offset of 120.488 usec -> 2022-01-19T07:23:44.151.538.212 (XO: 9.151540158)
   Max TM value:136 at an offset of 163.613 usec -> 2022-01-19T07:23:44.151.581.338 (XO: 9.151583283)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 122.763 usec -> 2022-01-19T07:23:44.151.540.487 (XO: 9.151542433)
   Min dTM/dt [1/us]:-1.27e+03 at an offset of 163.813 usec -> 2022-01-19T07:23:44.151.581.538 (XO: 9.151583483)

 - Block number: 2 starting at 2022-01-19T07:24:03.031.326.725 (XO: 28.031327538 - 28.031633539, t=37.2 degC)  Rank: 00051
   TM values: Max =   140  Min =  -175  Ave =    -4.43  Std =    21.16
   Min TM value:-175 at an offset of 177.663 usec -> 2022-01-19T07:24:03.031.504.388 (XO: 28.031505201)
   Max TM value:140 at an offset of 122.788 usec -> 2022-01-19T07:24:03.031.449.512 (XO: 28.031450326)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 122.625 usec -> 2022-01-19T07:24:03.031.449.350 (XO: 28.031450163)
   Min dTM/dt [1/us]:-1.42e+03 at an offset of 164.588 usec -> 2022-01-19T07:24:03.031.491.313 (XO: 28.031492126)

 - Block number: 3 starting at 2022-01-19T07:24:11.921.531.725 (XO: 36.921535450 - 36.921841451, t=37.2 degC)  Rank: 00048
   TM values: Max =   136  Min =  -157  Ave =    -4.49  Std =    18.44
   Min TM value:-157 at an offset of 122.438 usec -> 2022-01-19T07:24:11.921.654.162 (XO: 36.921657888)
   Max TM value:136 at an offset of 124.813 usec -> 2022-01-19T07:24:11.921.656.537 (XO: 36.921660263)
   Max dTM/dt [1/us]:1.28e+03 at an offset of 163.063 usec -> 2022-01-19T07:24:11.921.694.788 (XO: 36.921698513)
   Min dTM/dt [1/us]:-1.42e+03 at an offset of 165.288 usec -> 2022-01-19T07:24:11.921.697.013 (XO: 36.921700738)

 - Block number: 4 starting at 2022-01-19T07:24:33.631.674.725 (XO: 58.631677499 - 58.631983500, t=37.2 degC)  Rank: 00052
   TM values: Max =   160  Min =  -193  Ave =    -4.47  Std =    19.65
   Min TM value:-193 at an offset of 154.051 usec -> 2022-01-19T07:24:33.631.828.775 (XO: 58.631831550)
   Max TM value:160 at an offset of 153.763 usec -> 2022-01-19T07:24:33.631.828.488 (XO: 58.631831262)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 153.676 usec -> 2022-01-19T07:24:33.631.828.400 (XO: 58.631831175)
   Min dTM/dt [1/us]:-1.48e+03 at an offset of 111.563 usec -> 2022-01-19T07:24:33.631.786.287 (XO: 58.631789062)
