-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 12:34:22 2023 UTC
-- File 20210707_043910_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 6.952772 to 46.164404
-each separately from 6s to 46s and from 164115us to 953061us.
   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, ...
      15.900296 in 1 packets: 18
      18.610291 in 1 packets: 36
      4.699889 in 1 packets: 54
MIU packet time from 2021-07-07T04:39:19.952.772.000 to 2021-07-07T04:39:59.164.404.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, ...
      15.900296 in 1 packets: 18
      18.610291 in 1 packets: 36
      4.699889 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 7.8964762 to 47.8963325
   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, ...
      15.9999425 in 1 packets: 18
      18.9999317 in 1 packets: 36
      4.9999821 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210707_043910_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.8492482 to 8.8495372
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9002390  -- OK for SL --
   MIU time from 2021-07-07T04:39:19.952.772.000 to 2021-07-07T04:39:19.953.061.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.900296

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.7497762 to 24.7500652
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6102230  -- OK for SL --
   MIU time from 2021-07-07T04:39:35.853.357.000 to 2021-07-07T04:39:35.853.646.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.610291

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.3602882 to 43.3605772
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.6998710  -- OK for SL --
   MIU time from 2021-07-07T04:39:54.463.937.000 to 2021-07-07T04:39:54.464.226.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.699889

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.0604482 to 48.0607372
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-07T04:39:59.164.115.000 to 2021-07-07T04:39:59.164.404.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 = 6, 32bit 10MHz counter = 8.849248200 corrected by 40bit 10MHz counter of 7.896476200 obtained at 1Hz counter of 6. Result: 6.952775335
--
   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: 2021-07-07T04:39:19.952.631.725
   Max 1st sample MIU time among all SL packets: 2021-07-07T04:39:59.164.263.725
   Min 1st sample XO time among all SL packets: 6.952635059
   Max 1st sample XO time among all SL packets: 46.164265016
   TM values from -280 to 293 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-07T04:39:19.952.631.725 (XO: 6.952635059 - 6.952941060, t=37.2 degC)  Rank: 00078
   TM values: Max =   229  Min =  -257  Ave =    -4.59  Std =    19.52
   Min TM value:-257 at an offset of 129.913 usec -> 2021-07-07T04:39:19.952.761.637 (XO: 6.952764972)
   Max TM value:229 at an offset of 132.563 usec -> 2021-07-07T04:39:19.952.764.287 (XO: 6.952767622)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 132.413 usec -> 2021-07-07T04:39:19.952.764.137 (XO: 6.952767472)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 129.738 usec -> 2021-07-07T04:39:19.952.761.462 (XO: 6.952764797)

 - Block number: 2 starting at 2021-07-07T04:39:35.853.216.725 (XO: 22.853220211 - 22.853526212, t=37.2 degC)  Rank: 00079
   TM values: Max =   244  Min =  -280  Ave =    -4.38  Std =    26.42
   Min TM value:-280 at an offset of 113.500 usec -> 2021-07-07T04:39:35.853.330.225 (XO: 22.853333712)
   Max TM value:244 at an offset of 113.225 usec -> 2021-07-07T04:39:35.853.329.950 (XO: 22.853333437)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 128.763 usec -> 2021-07-07T04:39:35.853.345.487 (XO: 22.853348974)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 113.413 usec -> 2021-07-07T04:39:35.853.330.137 (XO: 22.853333624)

 - Block number: 3 starting at 2021-07-07T04:39:54.463.796.725 (XO: 41.463799148 - 41.464105149, t=37.2 degC)  Rank: 00073
   TM values: Max =   293  Min =  -249  Ave =    -4.54  Std =    32.71
   Min TM value:-249 at an offset of 126.838 usec -> 2021-07-07T04:39:54.463.923.562 (XO: 41.463925986)
   Max TM value:293 at an offset of 129.525 usec -> 2021-07-07T04:39:54.463.926.250 (XO: 41.463928674)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 186.538 usec -> 2021-07-07T04:39:54.463.983.263 (XO: 41.463985686)
   Min dTM/dt [1/us]:-2.58e+03 at an offset of 99.500 usec -> 2021-07-07T04:39:54.463.896.225 (XO: 41.463898649)

 - Block number: 4 starting at 2021-07-07T04:39:59.163.974.725 (XO: 46.163976015 - 46.164282016, t=37.2 degC)  Rank: 00077
   TM values: Max =   273  Min =  -239  Ave =    -4.36  Std =    21.71
   Min TM value:-239 at an offset of 114.425 usec -> 2021-07-07T04:39:59.164.089.150 (XO: 46.164090441)
   Max TM value:273 at an offset of 117.100 usec -> 2021-07-07T04:39:59.164.091.825 (XO: 46.164093116)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 116.925 usec -> 2021-07-07T04:39:59.164.091.650 (XO: 46.164092941)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 102.450 usec -> 2021-07-07T04:39:59.164.077.175 (XO: 46.164078466)
