-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  1 00:06:40 2021 UTC
-- File 20210730_020001_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 11.515570 to 44.341391
-each separately from 11s to 44s and from 341102us to 794794us.
   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, ...
      7.278646 in 1 packets: 18
      25.546308 in 1 packets: 36
MIU packet time from 2021-07-30T02:00:15.515.570.000 to 2021-07-30T02:00:48.341.391.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, ...
      7.278646 in 1 packets: 18
      25.546308 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 12.9747417 to 45.9746326
   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, ...
      6.9999768 in 1 packets: 18
      25.9999141 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210730_020001_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.4903121 to 13.4906011
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.2786230  -- OK for SL --
   MIU time from 2021-07-30T02:00:15.515.570.000 to 2021-07-30T02:00:15.515.859.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.278646

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.7692241 to 20.7695131
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.5462230  -- OK for SL --
   MIU time from 2021-07-30T02:00:22.794.505.000 to 2021-07-30T02:00:22.794.794.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.546308

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.3157361 to 46.3160251
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-30T02:00:48.341.102.000 to 2021-07-30T02:00:48.341.391.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 = 11, 32bit 10MHz counter = 13.490312100 corrected by 40bit 10MHz counter of 12.974741700 obtained at 1Hz counter of 11. Result: 11.515572153
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-07-30T02:00:15.515.429.725
   Max 1st sample MIU time among all SL packets: 2021-07-30T02:00:48.341.250.725
   Min 1st sample XO time among all SL packets: 11.515431877
   Max 1st sample XO time among all SL packets: 44.341253351
   TM values from -232 to 205 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-30T02:00:15.515.429.725 (XO: 11.515431877 - 11.515737879, t=37.2 degC)  Rank: 00082
   TM values: Max =   176  Min =  -213  Ave =    -4.48  Std =    18.10
   Min TM value:-213 at an offset of 122.963 usec -> 2021-07-30T02:00:15.515.552.687 (XO: 11.515554840)
   Max TM value:176 at an offset of 125.550 usec -> 2021-07-30T02:00:15.515.555.275 (XO: 11.515557428)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 125.375 usec -> 2021-07-30T02:00:15.515.555.100 (XO: 11.515557253)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 122.750 usec -> 2021-07-30T02:00:15.515.552.475 (XO: 11.515554628)

 - Block number: 2 starting at 2021-07-30T02:00:22.794.364.725 (XO: 18.794367867 - 18.794673868, t=37.2 degC)  Rank: 00076
   TM values: Max =   191  Min =  -232  Ave =    -4.56  Std =    28.68
   Min TM value:-232 at an offset of 210.913 usec -> 2021-07-30T02:00:22.794.575.638 (XO: 18.794578780)
   Max TM value:191 at an offset of 184.938 usec -> 2021-07-30T02:00:22.794.549.663 (XO: 18.794552805)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 184.776 usec -> 2021-07-30T02:00:22.794.549.500 (XO: 18.794552643)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 210.813 usec -> 2021-07-30T02:00:22.794.575.538 (XO: 18.794578680)

 - Block number: 3 starting at 2021-07-30T02:00:48.340.961.725 (XO: 44.340964350 - 44.341270351, t=37.2 degC)  Rank: 00076
   TM values: Max =   205  Min =  -228  Ave =    -4.46  Std =    18.91
   Min TM value:-228 at an offset of 116.475 usec -> 2021-07-30T02:00:48.341.078.200 (XO: 44.341080826)
   Max TM value:205 at an offset of 118.950 usec -> 2021-07-30T02:00:48.341.080.675 (XO: 44.341083301)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 114.163 usec -> 2021-07-30T02:00:48.341.075.887 (XO: 44.341078513)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 116.313 usec -> 2021-07-30T02:00:48.341.078.037 (XO: 44.341080663)
