-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 14:06:46 2021 UTC
-- File 20210822_123117_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 3.561418 to 51.459913
-each separately from 3s to 51s and from 180789us to 600321us.
   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, ...
      17.619082 in 1 packets: 18
      18.418954 in 1 packets: 36
      11.859303 in 1 packets: 54
MIU packet time from 2021-08-22T12:31:23.561.418.000 to 2021-08-22T12:32:11.459.913.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, ...
      17.619082 in 1 packets: 18
      18.418954 in 1 packets: 36
      11.859303 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 4.8570091 to 52.8568509
   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, ...
      17.9999407 in 1 packets: 18
      17.9999406 in 1 packets: 36
      11.9999605 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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_123117_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.4184275 to 5.4187165
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6190230  -- OK for SL --
   MIU time from 2021-08-22T12:31:23.561.418.000 to 2021-08-22T12:31:23.561.707.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.619082

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.0377395 to 23.0380285
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4188950  -- OK for SL --
   MIU time from 2021-08-22T12:31:41.180.789.000 to 2021-08-22T12:31:41.181.078.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.418954

 - 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 41.4569235 to 41.4572125
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8592630  -- OK for SL --
   MIU time from 2021-08-22T12:31:59.600.032.000 to 2021-08-22T12:31:59.600.321.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.859303

 - 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 53.3164755 to 53.3167645
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T12:32:11.459.624.000 to 2021-08-22T12:32:11.459.913.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 = 3, 32bit 10MHz counter = 5.418427500 corrected by 40bit 10MHz counter of 4.857009100 obtained at 1Hz counter of 3. Result: 3.561420253
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-22T12:31:23.561.277.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T12:32:11.459.772.725
   Min 1st sample XO time among all SL packets: 3.561279977
   Max 1st sample XO time among all SL packets: 51.459774842
   TM values from -247 to 206 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T12:31:23.561.277.725 (XO: 3.561279977 - 3.561585978, t=37.2 degC)  Rank: 00078
   TM values: Max =   206  Min =  -233  Ave =    -4.41  Std =    18.75
   Min TM value:-233 at an offset of 128.613 usec -> 2021-08-22T12:31:23.561.406.337 (XO: 3.561408590)
   Max TM value:206 at an offset of 128.338 usec -> 2021-08-22T12:31:23.561.406.062 (XO: 3.561408315)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 131.025 usec -> 2021-08-22T12:31:23.561.408.750 (XO: 3.561411003)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 128.450 usec -> 2021-08-22T12:31:23.561.406.175 (XO: 3.561408428)

 - Block number: 2 starting at 2021-08-22T12:31:41.180.648.725 (XO: 21.180650021 - 21.180956022, t=37.2 degC)  Rank: 00080
   TM values: Max =   197  Min =  -247  Ave =    -4.44  Std =    21.19
   Min TM value:-247 at an offset of 87.375 usec -> 2021-08-22T12:31:41.180.736.100 (XO: 21.180737396)
   Max TM value:197 at an offset of 89.975 usec -> 2021-08-22T12:31:41.180.738.700 (XO: 21.180739996)
   Max dTM/dt [1/us]:1.65e+03 at an offset of 89.800 usec -> 2021-08-22T12:31:41.180.738.525 (XO: 21.180739821)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 87.200 usec -> 2021-08-22T12:31:41.180.735.925 (XO: 21.180737221)

 - Block number: 3 starting at 2021-08-22T12:31:59.599.891.725 (XO: 39.599894805 - 39.600200806, t=37.2 degC)  Rank: 00083
   TM values: Max =   195  Min =  -233  Ave =    -4.39  Std =    19.97
   Min TM value:-233 at an offset of 87.763 usec -> 2021-08-22T12:31:59.599.979.487 (XO: 39.599982567)
   Max TM value:195 at an offset of 90.413 usec -> 2021-08-22T12:31:59.599.982.137 (XO: 39.599985217)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 90.188 usec -> 2021-08-22T12:31:59.599.981.912 (XO: 39.599984992)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 87.588 usec -> 2021-08-22T12:31:59.599.979.312 (XO: 39.599982392)

 - Block number: 4 starting at 2021-08-22T12:32:11.459.483.725 (XO: 51.459485841 - 51.459791842, t=37.2 degC)  Rank: 00079
   TM values: Max =   195  Min =  -234  Ave =    -4.41  Std =    17.72
   Min TM value:-234 at an offset of 122.675 usec -> 2021-08-22T12:32:11.459.606.400 (XO: 51.459608517)
   Max TM value:195 at an offset of 125.238 usec -> 2021-08-22T12:32:11.459.608.962 (XO: 51.459611079)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 125.038 usec -> 2021-08-22T12:32:11.459.608.762 (XO: 51.459610879)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 122.463 usec -> 2021-08-22T12:32:11.459.606.187 (XO: 51.459608304)
