-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 12 05:58:09 2021 UTC
-- File 20210811_120135_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 2.285044 to 30.670659
-each separately from 2s to 30s and from 100731us to 670659us.
   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, ...
      25.815398 in 1 packets: 18
      2.569350 in 1 packets: 36
MIU packet time from 2021-08-11T12:01:40.285.044.000 to 2021-08-11T12:02:08.670.659.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, ...
      25.815398 in 1 packets: 18
      2.569350 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 3.9112899 to 31.9111965
   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, ...
      25.9999133 in 1 packets: 18
      1.9999933 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210811_120135_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.1963351 to 4.1966241
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.8153110  -- OK for SL --
   MIU time from 2021-08-11T12:01:40.285.044.000 to 2021-08-11T12:01:40.285.333.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.815398

 - 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 30.0119351 to 30.0122241
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.5693430  -- OK for SL --
   MIU time from 2021-08-11T12:02:06.100.731.000 to 2021-08-11T12:02:06.101.020.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.569350

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.5815671 to 32.5818561
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-11T12:02:08.670.370.000 to 2021-08-11T12:02:08.670.659.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 = 2, 32bit 10MHz counter = 4.196335100 corrected by 40bit 10MHz counter of 3.911289900 obtained at 1Hz counter of 2. Result: 2.285046169
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-08-11T12:01:40.284.903.725
   Max 1st sample MIU time among all SL packets: 2021-08-11T12:02:08.670.518.725
   Min 1st sample XO time among all SL packets: 2.284905894
   Max 1st sample XO time among all SL packets: 30.670521605
   TM values from -233 to 225 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-11T12:01:40.284.903.725 (XO: 2.284905894 - 2.285211895, t=37.2 degC)  Rank: 00077
   TM values: Max =   175  Min =  -216  Ave =    -4.56  Std =    18.52
   Min TM value:-216 at an offset of 110.788 usec -> 2021-08-11T12:01:40.285.014.512 (XO: 2.285016682)
   Max TM value:175 at an offset of 113.488 usec -> 2021-08-11T12:01:40.285.017.212 (XO: 2.285019382)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 113.300 usec -> 2021-08-11T12:01:40.285.017.025 (XO: 2.285019194)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 110.600 usec -> 2021-08-11T12:01:40.285.014.325 (XO: 2.285016494)

 - Block number: 2 starting at 2021-08-11T12:02:06.100.590.725 (XO: 28.100591967 - 28.100897968, t=37.2 degC)  Rank: 00082
   TM values: Max =   179  Min =  -233  Ave =    -4.49  Std =    20.71
   Min TM value:-233 at an offset of 112.838 usec -> 2021-08-11T12:02:06.100.703.562 (XO: 28.100704805)
   Max TM value:179 at an offset of 115.425 usec -> 2021-08-11T12:02:06.100.706.150 (XO: 28.100707392)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 115.250 usec -> 2021-08-11T12:02:06.100.705.975 (XO: 28.100707217)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 112.600 usec -> 2021-08-11T12:02:06.100.703.325 (XO: 28.100704567)

 - Block number: 3 starting at 2021-08-11T12:02:08.670.229.725 (XO: 30.670232604 - 30.670538605, t=37.2 degC)  Rank: 00077
   TM values: Max =   225  Min =  -231  Ave =    -4.41  Std =    28.92
   Min TM value:-231 at an offset of 115.638 usec -> 2021-08-11T12:02:08.670.345.362 (XO: 30.670348242)
   Max TM value:225 at an offset of 118.113 usec -> 2021-08-11T12:02:08.670.347.837 (XO: 30.670350717)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 117.988 usec -> 2021-08-11T12:02:08.670.347.712 (XO: 30.670350592)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 115.463 usec -> 2021-08-11T12:02:08.670.345.187 (XO: 30.670348067)
