-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jan  7 13:50:23 2022 UTC
-- File 20210908_161130_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 1.008141 to 59.130528
-each separately from 1s to 59s and from 8141us to 279824us.
   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, ...
      18.110315 in 1 packets: 18
      16.160501 in 1 packets: 36
      23.850415 in 1 packets: 54
MIU packet time from 2021-09-08T16:11:34.008.141.000 to 2021-09-08T16:12:32.130.528.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, ...
      18.110315 in 1 packets: 18
      16.160501 in 1 packets: 36
      23.850415 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 2.8941418 to 60.8939473
   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, ...
      17.9999397 in 1 packets: 18
      15.9999463 in 1 packets: 36
      23.9999195 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20210908_161130_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.9022838 to 2.9025728
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1102550  -- OK for SL --
   MIU time from 2021-09-08T16:11:34.008.141.000 to 2021-09-08T16:11:34.008.430.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.110315

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.0128278 to 21.0131168
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1604470  -- OK for SL --
   MIU time from 2021-09-08T16:11:52.118.745.000 to 2021-09-08T16:11:52.119.034.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.160501

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.1735638 to 37.1738528
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.8503350  -- OK for SL --
   MIU time from 2021-09-08T16:12:08.279.535.000 to 2021-09-08T16:12:08.279.824.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.850415

 - 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 61.0241878 to 61.0244768
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-08T16:12:32.130.239.000 to 2021-09-08T16:12:32.130.528.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 = 1, 32bit 10MHz counter = 2.902283800 corrected by 40bit 10MHz counter of 2.894141800 obtained at 1Hz counter of 1. Result: 1.008142027
--
   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-09-08T16:11:34.008.000.725
   Max 1st sample MIU time among all SL packets: 2021-09-08T16:12:32.130.387.725
   Min 1st sample XO time among all SL packets: 1.008001751
   Max 1st sample XO time among all SL packets: 59.130389655
   TM values from -276 to 255 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-08T16:11:34.008.000.725 (XO: 1.008001751 - 1.008307752, t=37.2 degC)  Rank: 00080
   TM values: Max =   225  Min =  -256  Ave =    -4.55  Std =    21.61
   Min TM value:-256 at an offset of 109.413 usec -> 2021-09-08T16:11:34.008.110.137 (XO: 1.008111164)
   Max TM value:225 at an offset of 109.688 usec -> 2021-09-08T16:11:34.008.110.412 (XO: 1.008111439)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 109.500 usec -> 2021-09-08T16:11:34.008.110.225 (XO: 1.008111252)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 106.938 usec -> 2021-09-08T16:11:34.008.107.662 (XO: 1.008108689)

 - Block number: 2 starting at 2021-09-08T16:11:52.118.604.725 (XO: 19.118606428 - 19.118912429, t=37.2 degC)  Rank: 00088
   TM values: Max =   255  Min =  -276  Ave =    -4.54  Std =    21.46
   Min TM value:-276 at an offset of 121.613 usec -> 2021-09-08T16:11:52.118.726.337 (XO: 19.118728041)
   Max TM value:255 at an offset of 124.325 usec -> 2021-09-08T16:11:52.118.729.050 (XO: 19.118730754)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 119.438 usec -> 2021-09-08T16:11:52.118.724.162 (XO: 19.118725866)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 121.525 usec -> 2021-09-08T16:11:52.118.726.250 (XO: 19.118727954)

 - Block number: 3 starting at 2021-09-08T16:12:08.279.394.725 (XO: 35.279396647 - 35.279702648, t=37.2 degC)  Rank: 00079
   TM values: Max =   253  Min =  -254  Ave =    -4.55  Std =    22.14
   Min TM value:-254 at an offset of 95.225 usec -> 2021-09-08T16:12:08.279.489.950 (XO: 35.279491872)
   Max TM value:253 at an offset of 97.875 usec -> 2021-09-08T16:12:08.279.492.600 (XO: 35.279494522)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 97.775 usec -> 2021-09-08T16:12:08.279.492.500 (XO: 35.279494422)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 95.075 usec -> 2021-09-08T16:12:08.279.489.800 (XO: 35.279491722)

 - Block number: 4 starting at 2021-09-08T16:12:32.130.098.725 (XO: 59.130100654 - 59.130406655, t=37.2 degC)  Rank: 00079
   TM values: Max =   251  Min =  -235  Ave =    -4.60  Std =    23.50
   Min TM value:-235 at an offset of 119.613 usec -> 2021-09-08T16:12:32.130.218.337 (XO: 59.130220267)
   Max TM value:251 at an offset of 122.263 usec -> 2021-09-08T16:12:32.130.220.987 (XO: 59.130222917)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 122.038 usec -> 2021-09-08T16:12:32.130.220.762 (XO: 59.130222692)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 119.463 usec -> 2021-09-08T16:12:32.130.218.187 (XO: 59.130220117)
