-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 14 18:12:54 2021 UTC
-- File 20210514_180528_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 8.790117 to 32.766400
-each separately from 8s to 32s and from 252369us to 790406us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.461963 in 1 packets: 18
      12.513453 in 1 packets: 36
MIU packet time from 2021-05-14T18:05:39.790.117.000 to 2021-05-14T18:06:03.766.400.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.461963 in 1 packets: 18
      12.513453 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 9.5437240 to 33.5436341
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      11.9999550 in 1 packets: 18
      11.9999551 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 54 packets (all packets)
Temperature XO: 
      BF -> 34.0 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210514_180528_1227.dat, 3 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:
      67 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.3338410 to 10.3341300
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4619190  -- OK for SL --
   MIU time from 2021-05-14T18:05:39.790.117.000 to 2021-05-14T18:05:39.790.406.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.461963

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.7960490 to 21.7963380
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5134070  -- OK for SL --
   MIU time from 2021-05-14T18:05:51.252.369.000 to 2021-05-14T18:05:51.252.658.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.513453

 - 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:
      43 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.3097450 to 34.3100340
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-05-14T18:06:03.766.111.000 to 2021-05-14T18:06:03.766.400.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 8, 32bit 10MHz counter = 10.333841000 corrected by 40bit 10MHz counter of 9.543724000 obtained at 1Hz counter of 8. Result: 8.790120002
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2021-05-14T18:05:39.789.976.725
   Max 1st sample MIU time among all SL packets: 2021-05-14T18:06:03.766.259.725
   Min 1st sample XO time among all SL packets: 8.789979727
   Max 1st sample XO time among all SL packets: 32.766262460
   TM values from -243 to 242 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-05-14T18:05:39.789.976.725 (XO: 8.789979727 - 8.790285728, t=34.0 degC)  Rank: 00067
   TM values: Max =   242  Min =  -243  Ave =    -4.43  Std =    84.19
   Min TM value:-243 at an offset of 146.276 usec -> 2021-05-14T18:05:39.790.123.000 (XO: 8.790126002)
   Max TM value:242 at an offset of 146.751 usec -> 2021-05-14T18:05:39.790.123.475 (XO: 8.790126477)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 158.576 usec -> 2021-05-14T18:05:39.790.135.300 (XO: 8.790138303)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 145.713 usec -> 2021-05-14T18:05:39.790.122.438 (XO: 8.790125440)

 - Block number: 2 starting at 2021-05-14T18:05:51.252.228.725 (XO: 20.252230658 - 20.252536659, t=34.0 degC)  Rank: 00051
   TM values: Max =   165  Min =  -176  Ave =    -4.41  Std =    57.86
   Min TM value:-176 at an offset of 139.288 usec -> 2021-05-14T18:05:51.252.368.013 (XO: 20.252369946)
   Max TM value:165 at an offset of 138.238 usec -> 2021-05-14T18:05:51.252.366.963 (XO: 20.252368896)
   Max dTM/dt [1/us]:1.27e+03 at an offset of 133.338 usec -> 2021-05-14T18:05:51.252.362.062 (XO: 20.252363996)
   Min dTM/dt [1/us]:-1.32e+03 at an offset of 133.813 usec -> 2021-05-14T18:05:51.252.362.537 (XO: 20.252364471)

 - Block number: 3 starting at 2021-05-14T18:06:03.765.970.725 (XO: 32.765973459 - 32.766279460, t=34.0 degC)  Rank: 00043
   TM values: Max =   164  Min =  -165  Ave =    -4.31  Std =    57.84
   Min TM value:-165 at an offset of 185.638 usec -> 2021-05-14T18:06:03.766.156.363 (XO: 32.766159097)
   Max TM value:164 at an offset of 77.138 usec -> 2021-05-14T18:06:03.766.047.862 (XO: 32.766050597)
   Max dTM/dt [1/us]:7.85e+02 at an offset of 96.688 usec -> 2021-05-14T18:06:03.766.067.412 (XO: 32.766070147)
   Min dTM/dt [1/us]:-8.26e+02 at an offset of 77.163 usec -> 2021-05-14T18:06:03.766.047.887 (XO: 32.766050622)
