-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 17:43:03 2023 UTC
-- File 20211201_050618_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 4.542253 to 31.963399
-each separately from 4s to 31s and from 62933us to 963399us.
   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, ...
      21.520391 in 1 packets: 18
      5.899888 in 1 packets: 36
MIU packet time from 2021-12-01T05:06:25.542.253.000 to 2021-12-01T05:06:52.963.399.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, ...
      21.520391 in 1 packets: 18
      5.899888 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 6.0207835 to 33.0206940
   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.9999270 in 1 packets: 18
      4.9999835 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 20211201_050618_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:
      50 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.5630368 to 6.5633258
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5203190  -- OK for SL --
   MIU time from 2021-12-01T05:06:25.542.253.000 to 2021-12-01T05:06:25.542.542.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.520391

 - 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:
      50 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.0836448 to 28.0839338
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8998710  -- OK for SL --
   MIU time from 2021-12-01T05:06:47.062.933.000 to 2021-12-01T05:06:47.063.222.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.899888

 - 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 33.9838048 to 33.9840938
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-12-01T05:06:52.963.110.000 to 2021-12-01T05:06:52.963.399.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 = 4, 32bit 10MHz counter = 6.563036800 corrected by 40bit 10MHz counter of 6.020783500 obtained at 1Hz counter of 4. Result: 4.542255089
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-12-01T05:06:25.542.112.725
   Max 1st sample MIU time among all SL packets: 2021-12-01T05:06:52.963.258.725
   Min 1st sample XO time among all SL packets: 4.542114814
   Max 1st sample XO time among all SL packets: 31.963262800
   TM values from -174 to 158 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-12-01T05:06:25.542.112.725 (XO: 4.542114814 - 4.542420815, t=35.6 degC)  Rank: 00050
   TM values: Max =   158  Min =  -163  Ave =    -4.54  Std =    20.00
   Min TM value:-163 at an offset of 198.426 usec -> 2021-12-01T05:06:25.542.311.150 (XO: 4.542313240)
   Max TM value:158 at an offset of 127.363 usec -> 2021-12-01T05:06:25.542.240.087 (XO: 4.542242177)
   Max dTM/dt [1/us]:1.26e+03 at an offset of 127.275 usec -> 2021-12-01T05:06:25.542.240.000 (XO: 4.542242089)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 127.488 usec -> 2021-12-01T05:06:25.542.240.212 (XO: 4.542242302)

 - Block number: 2 starting at 2021-12-01T05:06:47.062.792.725 (XO: 26.062794232 - 26.063100233, t=35.6 degC)  Rank: 00050
   TM values: Max =   112  Min =  -145  Ave =    -4.51  Std =    12.70
   Min TM value:-145 at an offset of 124.150 usec -> 2021-12-01T05:06:47.062.916.875 (XO: 26.062918383)
   Max TM value:112 at an offset of 126.925 usec -> 2021-12-01T05:06:47.062.919.650 (XO: 26.062921158)
   Max dTM/dt [1/us]:1.12e+03 at an offset of 124.250 usec -> 2021-12-01T05:06:47.062.916.975 (XO: 26.062918483)
   Min dTM/dt [1/us]:-1.13e+03 at an offset of 121.500 usec -> 2021-12-01T05:06:47.062.914.225 (XO: 26.062915733)

 - Block number: 3 starting at 2021-12-01T05:06:52.962.969.725 (XO: 31.962973799 - 31.963279800, t=35.6 degC)  Rank: 00048
   TM values: Max =   155  Min =  -174  Ave =    -4.56  Std =    19.85
   Min TM value:-174 at an offset of 108.113 usec -> 2021-12-01T05:06:52.963.077.837 (XO: 31.963081912)
   Max TM value:155 at an offset of 110.188 usec -> 2021-12-01T05:06:52.963.079.912 (XO: 31.963083987)
   Max dTM/dt [1/us]:1.32e+03 at an offset of 108.238 usec -> 2021-12-01T05:06:52.963.077.962 (XO: 31.963082037)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 110.300 usec -> 2021-12-01T05:06:52.963.080.025 (XO: 31.963084099)
