-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Nov 20 04:21:17 2021 UTC
-- File 20210721_104537_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 2.015040 to 56.904708
-each separately from 2s to 56s and from 15040us to 904708us.
   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, ...
      19.749470 in 1 packets: 18
      11.949543 in 1 packets: 36
      23.189499 in 1 packets: 54
MIU packet time from 2021-07-21T10:45:42.015.040.000 to 2021-07-21T10:46:36.904.708.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, ...
      19.749470 in 1 packets: 18
      11.949543 in 1 packets: 36
      23.189499 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 3.9501906 to 57.9500125
   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.9999374 in 1 packets: 18
      11.9999603 in 1 packets: 36
      22.9999242 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: 
      0 in 1 packets: 1
      1 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: 
      0 in 1 packets: 1
      1 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 20210721_104537_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.9652319 to 3.9655209
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7494070  -- OK for SL --
   MIU time from 2021-07-21T10:45:42.015.040.000 to 2021-07-21T10:45:42.015.329.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.749470

 - 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.7149279 to 23.7152169
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9495030  -- OK for SL --
   MIU time from 2021-07-21T10:46:01.764.799.000 to 2021-07-21T10:46:01.765.088.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.949543

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.6647199 to 35.6650089
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.1894230  -- OK for SL --
   MIU time from 2021-07-21T10:46:13.714.631.000 to 2021-07-21T10:46:13.714.920.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.189499

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.8544319 to 58.8547209
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-21T10:46:36.904.419.000 to 2021-07-21T10:46:36.904.708.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 = 2, 32bit 10MHz counter = 3.965231900 corrected by 40bit 10MHz counter of 3.950190600 obtained at 1Hz counter of 2. Result: 2.015041350
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-07-21T10:45:42.014.899.725
   Max 1st sample MIU time among all SL packets: 2021-07-21T10:46:36.904.567.725
   Min 1st sample XO time among all SL packets: 2.014901074
   Max 1st sample XO time among all SL packets: 56.904571201
   TM values from -247 to 208 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-21T10:45:42.014.899.725 (XO: 2.014901074 - 2.015207075, t=37.2 degC)  Rank: 00081
   TM values: Max =   191  Min =  -240  Ave =    -4.49  Std =    17.27
   Min TM value:-240 at an offset of 109.563 usec -> 2021-07-21T10:45:42.015.009.287 (XO: 2.015010637)
   Max TM value:191 at an offset of 109.250 usec -> 2021-07-21T10:45:42.015.008.975 (XO: 2.015010325)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 111.950 usec -> 2021-07-21T10:45:42.015.011.675 (XO: 2.015013025)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 109.363 usec -> 2021-07-21T10:45:42.015.009.087 (XO: 2.015010437)

 - Block number: 2 starting at 2021-07-21T10:46:01.764.658.725 (XO: 21.764662148 - 21.764968149, t=37.2 degC)  Rank: 00079
   TM values: Max =   201  Min =  -247  Ave =    -4.53  Std =    19.17
   Min TM value:-247 at an offset of 124.588 usec -> 2021-07-21T10:46:01.764.783.312 (XO: 21.764786736)
   Max TM value:201 at an offset of 122.288 usec -> 2021-07-21T10:46:01.764.781.012 (XO: 21.764784436)
   Max dTM/dt [1/us]:1.55e+03 at an offset of 122.150 usec -> 2021-07-21T10:46:01.764.780.875 (XO: 21.764784299)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 124.400 usec -> 2021-07-21T10:46:01.764.783.125 (XO: 21.764786549)

 - Block number: 3 starting at 2021-07-21T10:46:13.714.490.725 (XO: 33.714493611 - 33.714799612, t=37.2 degC)  Rank: 00077
   TM values: Max =   177  Min =  -230  Ave =    -4.53  Std =    21.59
   Min TM value:-230 at an offset of 109.275 usec -> 2021-07-21T10:46:13.714.600.000 (XO: 33.714602887)
   Max TM value:177 at an offset of 208.601 usec -> 2021-07-21T10:46:13.714.699.325 (XO: 33.714702212)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 111.675 usec -> 2021-07-21T10:46:13.714.602.400 (XO: 33.714605287)
   Min dTM/dt [1/us]:-1.91e+03 at an offset of 109.063 usec -> 2021-07-21T10:46:13.714.599.787 (XO: 33.714602674)

 - Block number: 4 starting at 2021-07-21T10:46:36.904.278.725 (XO: 56.904282200 - 56.904588201, t=37.2 degC)  Rank: 00079
   TM values: Max =   208  Min =  -236  Ave =    -4.52  Std =    23.40
   Min TM value:-236 at an offset of 122.450 usec -> 2021-07-21T10:46:36.904.401.175 (XO: 56.904404650)
   Max TM value:208 at an offset of 122.163 usec -> 2021-07-21T10:46:36.904.400.887 (XO: 56.904404362)
   Max dTM/dt [1/us]:1.63e+03 at an offset of 120.088 usec -> 2021-07-21T10:46:36.904.398.812 (XO: 56.904402287)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 122.275 usec -> 2021-07-21T10:46:36.904.401.000 (XO: 56.904404475)
