-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 23:41:07 2021 UTC
-- File 20210813_030534_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 13.269730 to 36.720160
-each separately from 13s to 36s and from 269730us to 720160us.
   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.129702 in 1 packets: 18
      16.319861 in 1 packets: 36
MIU packet time from 2021-08-13T03:05:50.269.730.000 to 2021-08-13T03:06:13.720.160.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.129702 in 1 packets: 18
      16.319861 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 14.9213897 to 37.9213134
   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
      15.9999469 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20210813_030534_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.1911207 to 15.1914097
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.1296790  -- OK for SL --
   MIU time from 2021-08-13T03:05:50.269.730.000 to 2021-08-13T03:05:50.270.019.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.129702

 - 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 22.3210887 to 22.3213777
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.3198070  -- OK for SL --
   MIU time from 2021-08-13T03:05:57.399.721.000 to 2021-08-13T03:05:57.400.010.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.319861

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.6411847 to 38.6414737
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-13T03:06:13.719.871.000 to 2021-08-13T03:06:13.720.160.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 = 13, 32bit 10MHz counter = 15.191120700 corrected by 40bit 10MHz counter of 14.921389700 obtained at 1Hz counter of 13. Result: 13.269731863
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-13T03:05:50.269.589.725
   Max 1st sample MIU time among all SL packets: 2021-08-13T03:06:13.720.019.725
   Min 1st sample XO time among all SL packets: 13.269591588
   Max 1st sample XO time among all SL packets: 36.720022401
   TM values from -260 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-13T03:05:50.269.589.725 (XO: 13.269591588 - 13.269897589, t=37.2 degC)  Rank: 00088
   TM values: Max =   220  Min =  -243  Ave =    -4.45  Std =    22.77
   Min TM value:-243 at an offset of 121.725 usec -> 2021-08-13T03:05:50.269.711.450 (XO: 13.269713313)
   Max TM value:220 at an offset of 124.413 usec -> 2021-08-13T03:05:50.269.714.137 (XO: 13.269716001)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 124.250 usec -> 2021-08-13T03:05:50.269.713.975 (XO: 13.269715838)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 121.575 usec -> 2021-08-13T03:05:50.269.711.300 (XO: 13.269713163)

 - Block number: 2 starting at 2021-08-13T03:05:57.399.580.725 (XO: 20.399583244 - 20.399889245, t=37.2 degC)  Rank: 00079
   TM values: Max =   237  Min =  -260  Ave =    -4.48  Std =    27.88
   Min TM value:-260 at an offset of 125.775 usec -> 2021-08-13T03:05:57.399.706.500 (XO: 20.399709019)
   Max TM value:237 at an offset of 167.613 usec -> 2021-08-13T03:05:57.399.748.338 (XO: 20.399750857)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 167.513 usec -> 2021-08-13T03:05:57.399.748.238 (XO: 20.399750757)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 125.638 usec -> 2021-08-13T03:05:57.399.706.362 (XO: 20.399708882)

 - Block number: 3 starting at 2021-08-13T03:06:13.719.730.725 (XO: 36.719733400 - 36.720039401, t=37.2 degC)  Rank: 00078
   TM values: Max =   214  Min =  -242  Ave =    -4.37  Std =    28.82
   Min TM value:-242 at an offset of 122.550 usec -> 2021-08-13T03:06:13.719.853.275 (XO: 36.719855951)
   Max TM value:214 at an offset of 81.100 usec -> 2021-08-13T03:06:13.719.811.825 (XO: 36.719814500)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 80.963 usec -> 2021-08-13T03:06:13.719.811.687 (XO: 36.719814363)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 109.613 usec -> 2021-08-13T03:06:13.719.840.337 (XO: 36.719843013)
