-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 31 18:01:50 2021 UTC
-- File 20210902_042502_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 8.965123 to 49.993356
-each separately from 8s to 49s and from 167569us to 993356us.
   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, ...
      13.202157 in 1 packets: 18
      13.582410 in 1 packets: 36
      14.242510 in 1 packets: 54
MIU packet time from 2021-09-02T04:25:13.965.123.000 to 2021-09-02T04:25:54.993.356.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, ...
      13.202157 in 1 packets: 18
      13.582410 in 1 packets: 36
      14.242510 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 9.4083154 to 50.4081800
   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, ...
      13.9999537 in 1 packets: 18
      12.9999571 in 1 packets: 36
      13.9999538 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210902_042502_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.3734392 to 10.3737282
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2021110  -- OK for SL --
   MIU time from 2021-09-02T04:25:13.965.123.000 to 2021-09-02T04:25:13.965.412.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.202157

 - 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 23.5758392 to 23.5761282
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.5823670  -- OK for SL --
   MIU time from 2021-09-02T04:25:27.167.569.000 to 2021-09-02T04:25:27.167.858.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.582410

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.1584952 to 37.1587842
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2424630  -- OK for SL --
   MIU time from 2021-09-02T04:25:40.750.268.000 to 2021-09-02T04:25:40.750.557.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.242510

 - 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 51.4012472 to 51.4015362
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T04:25:54.993.067.000 to 2021-09-02T04:25:54.993.356.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 = 8, 32bit 10MHz counter = 10.373439200 corrected by 40bit 10MHz counter of 9.408315400 obtained at 1Hz counter of 8. Result: 8.965126985
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-02T04:25:13.964.982.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T04:25:54.993.215.725
   Min 1st sample XO time among all SL packets: 8.964986709
   Max 1st sample XO time among all SL packets: 49.993219203
   TM values from -272 to 221 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T04:25:13.964.982.725 (XO: 8.964986709 - 8.965292710, t=37.2 degC)  Rank: 00085
   TM values: Max =   210  Min =  -259  Ave =    -4.63  Std =    23.69
   Min TM value:-259 at an offset of 127.175 usec -> 2021-09-02T04:25:13.965.109.900 (XO: 8.965113885)
   Max TM value:210 at an offset of 129.825 usec -> 2021-09-02T04:25:13.965.112.550 (XO: 8.965116535)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 102.663 usec -> 2021-09-02T04:25:13.965.085.387 (XO: 8.965089372)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 100.113 usec -> 2021-09-02T04:25:13.965.082.837 (XO: 8.965086822)

 - Block number: 2 starting at 2021-09-02T04:25:27.167.428.725 (XO: 22.167430378 - 22.167736379, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -272  Ave =    -4.58  Std =    28.35
   Min TM value:-272 at an offset of 190.288 usec -> 2021-09-02T04:25:27.167.619.013 (XO: 22.167620666)
   Max TM value:216 at an offset of 132.488 usec -> 2021-09-02T04:25:27.167.561.212 (XO: 22.167562865)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 132.300 usec -> 2021-09-02T04:25:27.167.561.025 (XO: 22.167562678)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 129.713 usec -> 2021-09-02T04:25:27.167.558.437 (XO: 22.167560090)

 - Block number: 3 starting at 2021-09-02T04:25:40.750.127.725 (XO: 35.750131200 - 35.750437201, t=37.2 degC)  Rank: 00080
   TM values: Max =   221  Min =  -251  Ave =    -4.62  Std =    19.67
   Min TM value:-251 at an offset of 131.225 usec -> 2021-09-02T04:25:40.750.258.950 (XO: 35.750262426)
   Max TM value:221 at an offset of 133.850 usec -> 2021-09-02T04:25:40.750.261.575 (XO: 35.750265051)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 133.700 usec -> 2021-09-02T04:25:40.750.261.425 (XO: 35.750264901)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 131.025 usec -> 2021-09-02T04:25:40.750.258.750 (XO: 35.750262226)

 - Block number: 4 starting at 2021-09-02T04:25:54.992.926.725 (XO: 49.992930202 - 49.993236203, t=37.2 degC)  Rank: 00077
   TM values: Max =   209  Min =  -252  Ave =    -4.66  Std =    18.60
   Min TM value:-252 at an offset of 129.663 usec -> 2021-09-02T04:25:54.993.056.387 (XO: 49.993059865)
   Max TM value:209 at an offset of 132.225 usec -> 2021-09-02T04:25:54.993.058.950 (XO: 49.993062427)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 132.025 usec -> 2021-09-02T04:25:54.993.058.750 (XO: 49.993062227)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 129.475 usec -> 2021-09-02T04:25:54.993.056.200 (XO: 49.993059677)
