-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 23 17:31:51 2021 UTC
-- File 20210722_113428_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 2.092035 to 58.550686
-each separately from 2s to 58s and from 92035us to 911764us.
   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, ...
      24.819151 in 1 packets: 18
      3.439548 in 1 packets: 36
      28.198796 in 1 packets: 54
MIU packet time from 2021-07-22T11:34:33.092.035.000 to 2021-07-22T11:35:29.550.686.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, ...
      24.819151 in 1 packets: 18
      3.439548 in 1 packets: 36
      28.198796 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 3.9314306 to 59.9312447
   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, ...
      23.9999203 in 1 packets: 18
      3.9999867 in 1 packets: 36
      27.9999071 in 1 packets: 54
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 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20210722_113428_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.0234665 to 4.0237555
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.8190710  -- OK for SL --
   MIU time from 2021-07-22T11:34:33.092.035.000 to 2021-07-22T11:34:33.092.324.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.819151

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.8428265 to 28.8431155
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.4395350  -- OK for SL --
   MIU time from 2021-07-22T11:34:57.911.475.000 to 2021-07-22T11:34:57.911.764.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.439548

 - 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 32.2826505 to 32.2829395
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 28.1987030  -- OK for SL --
   MIU time from 2021-07-22T11:35:01.351.312.000 to 2021-07-22T11:35:01.351.601.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 28.198796

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.4816425 to 60.4819315
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-22T11:35:29.550.397.000 to 2021-07-22T11:35:29.550.686.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 = 2, 32bit 10MHz counter = 4.023466500 corrected by 40bit 10MHz counter of 3.931430600 obtained at 1Hz counter of 2. Result: 2.092036213
--
   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: 2021-07-22T11:34:33.091.894.725
   Max 1st sample MIU time among all SL packets: 2021-07-22T11:35:29.550.545.725
   Min 1st sample XO time among all SL packets: 2.091895937
   Max 1st sample XO time among all SL packets: 58.550548342
   TM values from -247 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-22T11:34:33.091.894.725 (XO: 2.091895937 - 2.092201938, t=37.2 degC)  Rank: 00080
   TM values: Max =   191  Min =  -247  Ave =    -4.43  Std =    21.24
   Min TM value:-247 at an offset of 119.588 usec -> 2021-07-22T11:34:33.092.014.312 (XO: 2.092015525)
   Max TM value:191 at an offset of 119.300 usec -> 2021-07-22T11:34:33.092.014.025 (XO: 2.092015238)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 122.000 usec -> 2021-07-22T11:34:33.092.016.725 (XO: 2.092017938)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 119.413 usec -> 2021-07-22T11:34:33.092.014.137 (XO: 2.092015350)

 - Block number: 2 starting at 2021-07-22T11:34:57.911.334.725 (XO: 26.911338424 - 26.911644425, t=37.2 degC)  Rank: 00082
   TM values: Max =   196  Min =  -216  Ave =    -4.45  Std =    17.36
   Min TM value:-216 at an offset of 108.325 usec -> 2021-07-22T11:34:57.911.443.050 (XO: 26.911446749)
   Max TM value:196 at an offset of 110.913 usec -> 2021-07-22T11:34:57.911.445.637 (XO: 26.911449336)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 110.725 usec -> 2021-07-22T11:34:57.911.445.450 (XO: 26.911449149)
   Min dTM/dt [1/us]:-1.62e+03 at an offset of 108.088 usec -> 2021-07-22T11:34:57.911.442.812 (XO: 26.911446511)

 - Block number: 3 starting at 2021-07-22T11:35:01.351.171.725 (XO: 30.351173819 - 30.351479820, t=37.2 degC)  Rank: 00079
   TM values: Max =   224  Min =  -238  Ave =    -4.47  Std =    18.62
   Min TM value:-238 at an offset of 123.550 usec -> 2021-07-22T11:35:01.351.295.275 (XO: 30.351297369)
   Max TM value:224 at an offset of 123.250 usec -> 2021-07-22T11:35:01.351.294.975 (XO: 30.351297069)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 125.913 usec -> 2021-07-22T11:35:01.351.297.637 (XO: 30.351299732)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 123.350 usec -> 2021-07-22T11:35:01.351.295.075 (XO: 30.351297169)

 - Block number: 4 starting at 2021-07-22T11:35:29.550.256.725 (XO: 58.550259341 - 58.550565342, t=37.2 degC)  Rank: 00079
   TM values: Max =   196  Min =  -240  Ave =    -4.49  Std =    20.40
   Min TM value:-240 at an offset of 121.863 usec -> 2021-07-22T11:35:29.550.378.587 (XO: 58.550381204)
   Max TM value:196 at an offset of 124.438 usec -> 2021-07-22T11:35:29.550.381.162 (XO: 58.550383779)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 124.225 usec -> 2021-07-22T11:35:29.550.380.950 (XO: 58.550383566)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 121.650 usec -> 2021-07-22T11:35:29.550.378.375 (XO: 58.550380991)
