-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Dec 18 12:17:58 2021 UTC
-- File 20210816_180008_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.881340 to 57.030564
-each separately from 2s to 57s and from 30275us to 881629us.
   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, ...
      21.819432 in 1 packets: 18
      12.419418 in 1 packets: 36
      19.909218 in 1 packets: 54
MIU packet time from 2021-08-16T18:00:13.881.340.000 to 2021-08-16T18:01:08.030.564.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, ...
      21.819432 in 1 packets: 18
      12.419418 in 1 packets: 36
      19.909218 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.9322628 to 58.9320799
   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, ...
      21.9999269 in 1 packets: 18
      12.9999567 in 1 packets: 36
      19.9999335 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210816_180008_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.8136038 to 4.8138928
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.8193590  -- OK for SL --
   MIU time from 2021-08-16T18:00:13.881.340.000 to 2021-08-16T18:00:13.881.629.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.819432

 - 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 26.6332518 to 26.6335408
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4193750  -- OK for SL --
   MIU time from 2021-08-16T18:00:35.701.061.000 to 2021-08-16T18:00:35.701.350.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.419418

 - 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 39.0529158 to 39.0532048
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.9091510  -- OK for SL --
   MIU time from 2021-08-16T18:00:48.120.768.000 to 2021-08-16T18:00:48.121.057.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.909218

 - 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 58.9623558 to 58.9626448
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-16T18:01:08.030.275.000 to 2021-08-16T18:01:08.030.564.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.813603800 corrected by 40bit 10MHz counter of 3.932262800 obtained at 1Hz counter of 2. Result: 2.881343908
--
   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-08-16T18:00:13.881.199.725
   Max 1st sample MIU time among all SL packets: 2021-08-16T18:01:08.030.423.725
   Min 1st sample XO time among all SL packets: 2.881203633
   Max 1st sample XO time among all SL packets: 57.030424725
   TM values from -282 to 284 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-16T18:00:13.881.199.725 (XO: 2.881203633 - 2.881509634, t=37.2 degC)  Rank: 00084
   TM values: Max =   227  Min =  -271  Ave =    -4.45  Std =    25.80
   Min TM value:-271 at an offset of 123.638 usec -> 2021-08-16T18:00:13.881.323.362 (XO: 2.881327271)
   Max TM value:227 at an offset of 126.163 usec -> 2021-08-16T18:00:13.881.325.887 (XO: 2.881329796)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 125.988 usec -> 2021-08-16T18:00:13.881.325.712 (XO: 2.881329621)
   Min dTM/dt [1/us]:-2.69e+03 at an offset of 123.463 usec -> 2021-08-16T18:00:13.881.323.187 (XO: 2.881327096)

 - Block number: 2 starting at 2021-08-16T18:00:35.700.920.725 (XO: 24.700924138 - 24.701230139, t=37.2 degC)  Rank: 00082
   TM values: Max =   223  Min =  -275  Ave =    -4.42  Std =    23.92
   Min TM value:-275 at an offset of 123.413 usec -> 2021-08-16T18:00:35.701.044.137 (XO: 24.701047551)
   Max TM value:223 at an offset of 125.888 usec -> 2021-08-16T18:00:35.701.046.612 (XO: 24.701050026)
   Max dTM/dt [1/us]:2.68e+03 at an offset of 125.763 usec -> 2021-08-16T18:00:35.701.046.487 (XO: 24.701049901)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 123.225 usec -> 2021-08-16T18:00:35.701.043.950 (XO: 24.701047363)

 - Block number: 3 starting at 2021-08-16T18:00:48.120.627.725 (XO: 37.120629535 - 37.120935536, t=37.2 degC)  Rank: 00076
   TM values: Max =   232  Min =  -277  Ave =    -4.52  Std =    30.65
   Min TM value:-277 at an offset of 157.913 usec -> 2021-08-16T18:00:48.120.785.638 (XO: 37.120787448)
   Max TM value:232 at an offset of 114.013 usec -> 2021-08-16T18:00:48.120.741.737 (XO: 37.120743548)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 116.650 usec -> 2021-08-16T18:00:48.120.744.375 (XO: 37.120746186)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 114.125 usec -> 2021-08-16T18:00:48.120.741.850 (XO: 37.120743661)

 - Block number: 4 starting at 2021-08-16T18:01:08.030.134.725 (XO: 57.030135724 - 57.030441725, t=37.2 degC)  Rank: 00080
   TM values: Max =   284  Min =  -282  Ave =    -4.47  Std =    33.56
   Min TM value:-282 at an offset of 110.875 usec -> 2021-08-16T18:01:08.030.245.600 (XO: 57.030246600)
   Max TM value:284 at an offset of 110.650 usec -> 2021-08-16T18:01:08.030.245.375 (XO: 57.030246375)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 108.700 usec -> 2021-08-16T18:01:08.030.243.425 (XO: 57.030244425)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 110.763 usec -> 2021-08-16T18:01:08.030.245.487 (XO: 57.030246487)
