-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 13 16:35:57 2023 UTC
-- File 20220603_105614_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 13.045147 to 47.845213
-each separately from 13s to 47s and from 45147us to 845213us.
   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, ...
      2.629589 in 1 packets: 18
      24.839555 in 1 packets: 36
      7.329766 in 1 packets: 54
MIU packet time from 2022-06-03T10:56:30.045.147.000 to 2022-06-03T10:57:04.845.213.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, ...
      2.629589 in 1 packets: 18
      24.839555 in 1 packets: 36
      7.329766 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 15.2435544 to 49.2434407
   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, ...
      1.9999933 in 1 packets: 18
      24.9999164 in 1 packets: 36
      6.9999766 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C5 -> 43.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: 
      0 in 1 packets: 1
      1 in 71 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220603_105614_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.2887027 to 15.2889917
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.6295830  -- OK for SL --
   MIU time from 2022-06-03T10:56:30.045.147.000 to 2022-06-03T10:56:30.045.436.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.629589

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.9185747 to 17.9188637
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8394710  -- OK for SL --
   MIU time from 2022-06-03T10:56:32.675.025.000 to 2022-06-03T10:56:32.675.314.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.839555

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.7583347 to 42.7586237
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.3297430  -- OK for SL --
   MIU time from 2022-06-03T10:56:57.514.869.000 to 2022-06-03T10:56:57.515.158.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.329766

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.0883667 to 50.0886557
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-03T10:57:04.844.924.000 to 2022-06-03T10:57:04.845.213.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 = 13, 32bit 10MHz counter = 15.288702700 corrected by 40bit 10MHz counter of 15.243554400 obtained at 1Hz counter of 13. Result: 13.045148449
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2022-06-03T10:56:30.045.006.725
   Max 1st sample MIU time among all SL packets: 2022-06-03T10:57:04.845.072.725
   Min 1st sample XO time among all SL packets: 13.045008174
   Max 1st sample XO time among all SL packets: 47.845077514
   TM values from -261 to 241 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-03T10:56:30.045.006.725 (XO: 13.045008174 - 13.045314175, t=43.6 degC)  Rank: 00081
   TM values: Max =   226  Min =  -242  Ave =    -4.39  Std =    29.28
   Min TM value:-242 at an offset of 181.801 usec -> 2022-06-03T10:56:30.045.188.525 (XO: 13.045189974)
   Max TM value:226 at an offset of 83.425 usec -> 2022-06-03T10:56:30.045.090.150 (XO: 13.045091599)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 154.551 usec -> 2022-06-03T10:56:30.045.161.275 (XO: 13.045162724)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 181.651 usec -> 2022-06-03T10:56:30.045.188.375 (XO: 13.045189824)

 - Block number: 2 starting at 2022-06-03T10:56:32.674.884.725 (XO: 15.674888952 - 15.675194953, t=43.6 degC)  Rank: 00078
   TM values: Max =   241  Min =  -261  Ave =    -4.42  Std =    36.85
   Min TM value:-261 at an offset of 153.413 usec -> 2022-06-03T10:56:32.675.038.138 (XO: 15.675042365)
   Max TM value:241 at an offset of 155.763 usec -> 2022-06-03T10:56:32.675.040.488 (XO: 15.675044715)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 214.276 usec -> 2022-06-03T10:56:32.675.099.000 (XO: 15.675103228)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 187.313 usec -> 2022-06-03T10:56:32.675.072.038 (XO: 15.675076265)

 - Block number: 3 starting at 2022-06-03T10:56:57.514.728.725 (XO: 40.514732075 - 40.515038076, t=43.6 degC)  Rank: 00079
   TM values: Max =   228  Min =  -254  Ave =    -4.43  Std =    30.76
   Min TM value:-254 at an offset of 123.525 usec -> 2022-06-03T10:56:57.514.852.250 (XO: 40.514855601)
   Max TM value:228 at an offset of 199.076 usec -> 2022-06-03T10:56:57.514.927.800 (XO: 40.514931151)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 198.938 usec -> 2022-06-03T10:56:57.514.927.663 (XO: 40.514931013)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 128.263 usec -> 2022-06-03T10:56:57.514.856.987 (XO: 40.514860338)

 - Block number: 4 starting at 2022-06-03T10:57:04.844.783.725 (XO: 47.844788513 - 47.845094514, t=43.6 degC)  Rank: 00080
   TM values: Max =   238  Min =  -259  Ave =    -4.48  Std =    26.95
   Min TM value:-259 at an offset of 144.425 usec -> 2022-06-03T10:57:04.844.928.150 (XO: 47.844932938)
   Max TM value:238 at an offset of 175.538 usec -> 2022-06-03T10:57:04.844.959.263 (XO: 47.844964051)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 175.426 usec -> 2022-06-03T10:57:04.844.959.150 (XO: 47.844963938)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 115.038 usec -> 2022-06-03T10:57:04.844.898.762 (XO: 47.844903551)
