-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  2 09:22:42 2021 UTC
-- File 20210731_172349_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 9.126263 to 52.591753
-each separately from 9s to 52s and from 126263us to 591753us.
   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, ...
      16.264709 in 1 packets: 18
      8.746109 in 1 packets: 36
      18.453516 in 1 packets: 54
MIU packet time from 2021-07-31T17:24:01.126.263.000 to 2021-07-31T17:24:44.591.753.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, ...
      16.264709 in 1 packets: 18
      8.746109 in 1 packets: 36
      18.453516 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 10.9088330 to 53.9086884
   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, ...
      15.9999463 in 1 packets: 18
      8.9999697 in 1 packets: 36
      17.9999394 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210731_172349_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.0350969 to 11.0353859
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2646550  -- OK for SL --
   MIU time from 2021-07-31T17:24:01.126.263.000 to 2021-07-31T17:24:01.126.552.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.264709

 - 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 27.3000409 to 27.3003299
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.7460790  -- OK for SL --
   MIU time from 2021-07-31T17:24:17.391.261.000 to 2021-07-31T17:24:17.391.550.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.746109

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.0464089 to 36.0466979
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4534550  -- OK for SL --
   MIU time from 2021-07-31T17:24:26.137.659.000 to 2021-07-31T17:24:26.137.948.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.453516

 - 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 54.5001529 to 54.5004419
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-31T17:24:44.591.464.000 to 2021-07-31T17:24:44.591.753.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 = 9, 32bit 10MHz counter = 11.035096900 corrected by 40bit 10MHz counter of 10.908833000 obtained at 1Hz counter of 9. Result: 9.126264317
--
   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.999996500 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-31T17:24:01.126.122.725
   Max 1st sample MIU time among all SL packets: 2021-07-31T17:24:44.591.612.725
   Min 1st sample XO time among all SL packets: 9.126124041
   Max 1st sample XO time among all SL packets: 52.591615177
   TM values from -291 to 244 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-31T17:24:01.126.122.725 (XO: 9.126124041 - 9.126430042, t=37.2 degC)  Rank: 00083
   TM values: Max =   227  Min =  -273  Ave =    -4.50  Std =    26.15
   Min TM value:-273 at an offset of 114.213 usec -> 2021-07-31T17:24:01.126.236.937 (XO: 9.126238254)
   Max TM value:227 at an offset of 113.925 usec -> 2021-07-31T17:24:01.126.236.650 (XO: 9.126237967)
   Max dTM/dt [1/us]:2.60e+03 at an offset of 116.613 usec -> 2021-07-31T17:24:01.126.239.337 (XO: 9.126240654)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 114.088 usec -> 2021-07-31T17:24:01.126.236.812 (XO: 9.126238129)

 - Block number: 2 starting at 2021-07-31T17:24:17.391.120.725 (XO: 25.391122694 - 25.391428695, t=37.2 degC)  Rank: 00079
   TM values: Max =   244  Min =  -284  Ave =    -4.50  Std =    26.46
   Min TM value:-284 at an offset of 128.788 usec -> 2021-07-31T17:24:17.391.249.512 (XO: 25.391251482)
   Max TM value:244 at an offset of 100.850 usec -> 2021-07-31T17:24:17.391.221.575 (XO: 25.391223544)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 126.400 usec -> 2021-07-31T17:24:17.391.247.125 (XO: 25.391249094)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 100.963 usec -> 2021-07-31T17:24:17.391.221.687 (XO: 25.391223657)

 - Block number: 3 starting at 2021-07-31T17:24:26.137.518.725 (XO: 34.137520093 - 34.137826094, t=37.2 degC)  Rank: 00082
   TM values: Max =   237  Min =  -276  Ave =    -4.45  Std =    22.93
   Min TM value:-276 at an offset of 128.763 usec -> 2021-07-31T17:24:26.137.647.487 (XO: 34.137648856)
   Max TM value:237 at an offset of 128.475 usec -> 2021-07-31T17:24:26.137.647.200 (XO: 34.137648568)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 131.125 usec -> 2021-07-31T17:24:26.137.649.850 (XO: 34.137651218)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 128.588 usec -> 2021-07-31T17:24:26.137.647.312 (XO: 34.137648681)

 - Block number: 4 starting at 2021-07-31T17:24:44.591.323.725 (XO: 52.591326176 - 52.591632177, t=37.2 degC)  Rank: 00077
   TM values: Max =   212  Min =  -291  Ave =    -4.53  Std =    22.92
   Min TM value:-291 at an offset of 114.238 usec -> 2021-07-31T17:24:44.591.437.962 (XO: 52.591440414)
   Max TM value:212 at an offset of 116.838 usec -> 2021-07-31T17:24:44.591.440.562 (XO: 52.591443014)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 116.650 usec -> 2021-07-31T17:24:44.591.440.375 (XO: 52.591442827)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 114.075 usec -> 2021-07-31T17:24:44.591.437.800 (XO: 52.591440252)
