-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Feb 15 04:50:10 2022 UTC
-- File 20211114_101020_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.210417 to 48.924886
-each separately from 1s to 48s and from 153353us to 924886us.
   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, ...
      14.491489 in 1 packets: 18
      15.450869 in 1 packets: 36
      17.770955 in 1 packets: 54
MIU packet time from 2021-11-14T10:10:24.210.417.000 to 2021-11-14T10:11:11.924.886.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, ...
      14.491489 in 1 packets: 18
      15.450869 in 1 packets: 36
      17.770955 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.8956691 to 49.8955060
   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.9999514 in 1 packets: 18
      15.9999446 in 1 packets: 36
      16.9999409 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C0 -> 35.6 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 72 packets (all packets)
Number of generated alerts: 
      1 in 3 packets: 1, 2, 3
      2 in 69 packets: 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, ...
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 20211114_101020_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:
      117 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.1060875 to 3.1063765
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4914390  -- OK for SL --
   MIU time from 2021-11-14T10:10:24.210.417.000 to 2021-11-14T10:10:24.210.706.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.491489

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.5978155 to 17.5981045
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.4508150  -- OK for SL --
   MIU time from 2021-11-14T10:10:38.702.195.000 to 2021-11-14T10:10:38.702.484.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.450869

 - 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:
      46 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0489195 to 33.0492085
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7708950  -- OK for SL --
   MIU time from 2021-11-14T10:10:54.153.353.000 to 2021-11-14T10:10:54.153.642.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.770955

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.8201035 to 50.8203925
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-11-14T10:11:11.924.597.000 to 2021-11-14T10:11:11.924.886.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 = 3.106087500 corrected by 40bit 10MHz counter of 2.895669100 obtained at 1Hz counter of 1. Result: 1.210419115
--
   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.999996400 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2021-11-14T10:10:24.210.276.725
   Max 1st sample MIU time among all SL packets: 2021-11-14T10:11:11.924.745.725
   Min 1st sample XO time among all SL packets: 1.210278840
   Max 1st sample XO time among all SL packets: 48.924749462
   TM values from -839 to 451 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-11-14T10:10:24.210.276.725 (XO: 1.210278840 - 1.210584841, t=35.6 degC)  Rank: 00117
   TM values: Max =   451  Min =  -839  Ave =    -4.51  Std =    46.29
   Min TM value:-839 at an offset of 98.188 usec -> 2021-11-14T10:10:24.210.374.912 (XO: 1.210377028)
   Max TM value:451 at an offset of 98.338 usec -> 2021-11-14T10:10:24.210.375.062 (XO: 1.210377178)
   Max dTM/dt [1/us]:9.86e+03 at an offset of 98.263 usec -> 2021-11-14T10:10:24.210.374.987 (XO: 1.210377103)
   Min dTM/dt [1/us]:-7.51e+03 at an offset of 98.150 usec -> 2021-11-14T10:10:24.210.374.875 (XO: 1.210376990)

 - Block number: 2 starting at 2021-11-14T10:10:38.702.054.725 (XO: 15.702057112 - 15.702363113, t=35.6 degC)  Rank: 00054
   TM values: Max =   182  Min =  -172  Ave =    -4.58  Std =    15.39
   Min TM value:-172 at an offset of 100.025 usec -> 2021-11-14T10:10:38.702.154.750 (XO: 15.702157137)
   Max TM value:182 at an offset of 99.663 usec -> 2021-11-14T10:10:38.702.154.387 (XO: 15.702156775)
   Max dTM/dt [1/us]:1.19e+03 at an offset of 102.350 usec -> 2021-11-14T10:10:38.702.157.075 (XO: 15.702159462)
   Min dTM/dt [1/us]:-1.52e+03 at an offset of 99.775 usec -> 2021-11-14T10:10:38.702.154.500 (XO: 15.702156887)

 - Block number: 3 starting at 2021-11-14T10:10:54.153.212.725 (XO: 31.153214677 - 31.153520678, t=35.6 degC)  Rank: 00046
   TM values: Max =   175  Min =  -169  Ave =    -4.57  Std =    20.81
   Min TM value:-169 at an offset of 84.813 usec -> 2021-11-14T10:10:54.153.297.537 (XO: 31.153299489)
   Max TM value:175 at an offset of 87.038 usec -> 2021-11-14T10:10:54.153.299.762 (XO: 31.153301714)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 84.938 usec -> 2021-11-14T10:10:54.153.297.662 (XO: 31.153299614)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 87.088 usec -> 2021-11-14T10:10:54.153.299.812 (XO: 31.153301764)

 - Block number: 4 starting at 2021-11-14T10:11:11.924.456.725 (XO: 48.924460461 - 48.924766462, t=35.6 degC)  Rank: 00057
   TM values: Max =   189  Min =  -163  Ave =    -4.56  Std =    19.60
   Min TM value:-163 at an offset of 115.613 usec -> 2021-11-14T10:11:11.924.572.337 (XO: 48.924576074)
   Max TM value:189 at an offset of 113.038 usec -> 2021-11-14T10:11:11.924.569.762 (XO: 48.924573499)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 112.938 usec -> 2021-11-14T10:11:11.924.569.662 (XO: 48.924573399)
   Min dTM/dt [1/us]:-1.69e+03 at an offset of 113.138 usec -> 2021-11-14T10:11:11.924.569.862 (XO: 48.924573599)
