-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 10 10:05:35 2021 UTC
-- File 20210710_032802_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 3.681174 to 53.790463
-each separately from 3s to 53s and from 570456us to 790463us.
   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, ...
      12.009399 in 1 packets: 18
      16.879305 in 1 packets: 36
      21.219429 in 1 packets: 54
MIU packet time from 2021-07-10T03:28:08.681.174.000 to 2021-07-10T03:28:58.790.463.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, ...
      12.009399 in 1 packets: 18
      16.879305 in 1 packets: 36
      21.219429 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 4.8640696 to 54.8639012
   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, ...
      11.9999596 in 1 packets: 18
      16.9999427 in 1 packets: 36
      20.9999293 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210710_032802_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.5452442 to 5.5455332
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.0093590  -- OK for SL --
   MIU time from 2021-07-10T03:28:08.681.174.000 to 2021-07-10T03:28:08.681.463.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.009399

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.5548922 to 17.5551812
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.8792470  -- OK for SL --
   MIU time from 2021-07-10T03:28:20.690.862.000 to 2021-07-10T03:28:20.691.151.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.879305

 - 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 34.4344282 to 34.4347172
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2193590  -- OK for SL --
   MIU time from 2021-07-10T03:28:37.570.456.000 to 2021-07-10T03:28:37.570.745.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.219429

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.6540762 to 55.6543652
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-10T03:28:58.790.174.000 to 2021-07-10T03:28:58.790.463.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 = 3, 32bit 10MHz counter = 5.545244200 corrected by 40bit 10MHz counter of 4.864069600 obtained at 1Hz counter of 3. Result: 3.681176916
--
   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-07-10T03:28:08.681.033.725
   Max 1st sample MIU time among all SL packets: 2021-07-10T03:28:58.790.322.725
   Min 1st sample XO time among all SL packets: 3.681036641
   Max 1st sample XO time among all SL packets: 53.790326333
   TM values from -266 to 254 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-10T03:28:08.681.033.725 (XO: 3.681036641 - 3.681342642, t=37.2 degC)  Rank: 00084
   TM values: Max =   238  Min =  -241  Ave =    -4.52  Std =    21.93
   Min TM value:-241 at an offset of 122.950 usec -> 2021-07-10T03:28:08.681.156.675 (XO: 3.681159591)
   Max TM value:238 at an offset of 122.688 usec -> 2021-07-10T03:28:08.681.156.412 (XO: 3.681159328)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 120.675 usec -> 2021-07-10T03:28:08.681.154.400 (XO: 3.681157316)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 122.813 usec -> 2021-07-10T03:28:08.681.156.537 (XO: 3.681159453)

 - Block number: 2 starting at 2021-07-10T03:28:20.690.721.725 (XO: 15.690725073 - 15.691031075, t=37.2 degC)  Rank: 00077
   TM values: Max =   228  Min =  -256  Ave =    -4.54  Std =    25.60
   Min TM value:-256 at an offset of 102.375 usec -> 2021-07-10T03:28:20.690.824.100 (XO: 15.690827449)
   Max TM value:228 at an offset of 102.075 usec -> 2021-07-10T03:28:20.690.823.800 (XO: 15.690827149)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 104.700 usec -> 2021-07-10T03:28:20.690.826.425 (XO: 15.690829774)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 102.163 usec -> 2021-07-10T03:28:20.690.823.887 (XO: 15.690827236)

 - Block number: 3 starting at 2021-07-10T03:28:37.570.315.725 (XO: 32.570317964 - 32.570623965, t=37.2 degC)  Rank: 00077
   TM values: Max =   224  Min =  -266  Ave =    -4.44  Std =    24.04
   Min TM value:-266 at an offset of 112.250 usec -> 2021-07-10T03:28:37.570.427.975 (XO: 32.570430214)
   Max TM value:224 at an offset of 114.825 usec -> 2021-07-10T03:28:37.570.430.550 (XO: 32.570432789)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 114.600 usec -> 2021-07-10T03:28:37.570.430.325 (XO: 32.570432564)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 112.038 usec -> 2021-07-10T03:28:37.570.427.762 (XO: 32.570430002)

 - Block number: 4 starting at 2021-07-10T03:28:58.790.033.725 (XO: 53.790037332 - 53.790343333, t=37.2 degC)  Rank: 00085
   TM values: Max =   254  Min =  -251  Ave =    -4.46  Std =    22.01
   Min TM value:-251 at an offset of 128.288 usec -> 2021-07-10T03:28:58.790.162.012 (XO: 53.790165620)
   Max TM value:254 at an offset of 128.025 usec -> 2021-07-10T03:28:58.790.161.750 (XO: 53.790165358)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 126.013 usec -> 2021-07-10T03:28:58.790.159.737 (XO: 53.790163345)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 128.163 usec -> 2021-07-10T03:28:58.790.161.887 (XO: 53.790165495)
