-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 22:46:41 2021 UTC
-- File 20210822_150559_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 7.387168 to 53.212009
-each separately from 7s to 53s and from 89215us to 668345us.
   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, ...
      12.280599 in 1 packets: 18
      11.420870 in 1 packets: 36
      22.122216 in 1 packets: 54
MIU packet time from 2021-08-22T15:06:09.387.168.000 to 2021-08-22T15:06:55.212.009.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, ...
      12.280599 in 1 packets: 18
      11.420870 in 1 packets: 36
      22.122216 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 8.9381214 to 54.9379695
   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, ...
      11.9999604 in 2 packets: 18, 36
      21.9999273 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 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 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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210822_150559_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 9.3252903 to 9.3255793
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.2805590  -- OK for SL --
   MIU time from 2021-08-22T15:06:09.387.168.000 to 2021-08-22T15:06:09.387.457.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.280599

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.6061383 to 21.6064273
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4208310  -- OK for SL --
   MIU time from 2021-08-22T15:06:21.668.056.000 to 2021-08-22T15:06:21.668.345.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.420870

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.0272583 to 33.0275473
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.1221430  -- OK for SL --
   MIU time from 2021-08-22T15:06:33.089.215.000 to 2021-08-22T15:06:33.089.504.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.122216

 - 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 55.1496903 to 55.1499793
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T15:06:55.211.720.000 to 2021-08-22T15:06:55.212.009.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 = 7, 32bit 10MHz counter = 9.325290300 corrected by 40bit 10MHz counter of 8.938121400 obtained at 1Hz counter of 7. Result: 7.387170178
--
   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-22T15:06:09.387.027.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T15:06:55.211.868.725
   Min 1st sample XO time among all SL packets: 7.387029902
   Max 1st sample XO time among all SL packets: 53.211870224
   TM values from -287 to 242 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T15:06:09.387.027.725 (XO: 7.387029902 - 7.387335903, t=37.2 degC)  Rank: 00080
   TM values: Max =   205  Min =  -260  Ave =    -4.39  Std =    18.42
   Min TM value:-260 at an offset of 114.725 usec -> 2021-08-22T15:06:09.387.142.450 (XO: 7.387144628)
   Max TM value:205 at an offset of 114.438 usec -> 2021-08-22T15:06:09.387.142.162 (XO: 7.387144340)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 117.113 usec -> 2021-08-22T15:06:09.387.144.837 (XO: 7.387147015)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 114.550 usec -> 2021-08-22T15:06:09.387.142.275 (XO: 7.387144453)

 - Block number: 2 starting at 2021-08-22T15:06:21.667.915.725 (XO: 19.667918429 - 19.668224430, t=37.2 degC)  Rank: 00087
   TM values: Max =   242  Min =  -287  Ave =    -4.55  Std =    30.82
   Min TM value:-287 at an offset of 117.925 usec -> 2021-08-22T15:06:21.668.033.650 (XO: 19.668036355)
   Max TM value:242 at an offset of 117.663 usec -> 2021-08-22T15:06:21.668.033.387 (XO: 19.668036092)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 120.338 usec -> 2021-08-22T15:06:21.668.036.062 (XO: 19.668038767)
   Min dTM/dt [1/us]:-2.81e+03 at an offset of 117.800 usec -> 2021-08-22T15:06:21.668.033.525 (XO: 19.668036230)

 - Block number: 3 starting at 2021-08-22T15:06:33.089.074.725 (XO: 31.089076128 - 31.089382129, t=37.2 degC)  Rank: 00083
   TM values: Max =   223  Min =  -248  Ave =    -4.50  Std =    19.01
   Min TM value:-248 at an offset of 112.550 usec -> 2021-08-22T15:06:33.089.187.275 (XO: 31.089188678)
   Max TM value:223 at an offset of 115.175 usec -> 2021-08-22T15:06:33.089.189.900 (XO: 31.089191303)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 114.988 usec -> 2021-08-22T15:06:33.089.189.712 (XO: 31.089191116)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 112.363 usec -> 2021-08-22T15:06:33.089.187.087 (XO: 31.089188491)

 - Block number: 4 starting at 2021-08-22T15:06:55.211.579.725 (XO: 53.211581223 - 53.211887224, t=37.2 degC)  Rank: 00079
   TM values: Max =   213  Min =  -266  Ave =    -4.47  Std =    23.84
   Min TM value:-266 at an offset of 112.675 usec -> 2021-08-22T15:06:55.211.692.400 (XO: 53.211693899)
   Max TM value:213 at an offset of 115.250 usec -> 2021-08-22T15:06:55.211.694.975 (XO: 53.211696474)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 115.075 usec -> 2021-08-22T15:06:55.211.694.800 (XO: 53.211696299)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 112.500 usec -> 2021-08-22T15:06:55.211.692.225 (XO: 53.211693724)
