-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 17 22:31:07 2022 UTC
-- File 20210921_095401_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.551678 to 47.755396
-each separately from 2s to 47s and from 263004us to 755396us.
   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, ...
      18.711037 in 1 packets: 18
      18.471083 in 1 packets: 36
      8.020442 in 1 packets: 54
MIU packet time from 2021-09-21T09:54:06.551.678.000 to 2021-09-21T09:54:51.755.396.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, ...
      18.711037 in 1 packets: 18
      18.471083 in 1 packets: 36
      8.020442 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.9322479 to 48.9320994
   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, ...
      18.9999373 in 1 packets: 18
      17.9999406 in 1 packets: 36
      7.9999736 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 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 20210921_095401_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.4839266 to 4.4842156
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7109750  -- OK for SL --
   MIU time from 2021-09-21T09:54:06.551.678.000 to 2021-09-21T09:54:06.551.967.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.711037

 - 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 23.1951906 to 23.1954796
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4710230  -- OK for SL --
   MIU time from 2021-09-21T09:54:25.263.004.000 to 2021-09-21T09:54:25.263.293.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.471083

 - 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 41.6665026 to 41.6667916
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0204150  -- OK for SL --
   MIU time from 2021-09-21T09:54:43.734.376.000 to 2021-09-21T09:54:43.734.665.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.020442

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.6872066 to 49.6874956
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-21T09:54:51.755.107.000 to 2021-09-21T09:54:51.755.396.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.483926600 corrected by 40bit 10MHz counter of 3.932247900 obtained at 1Hz counter of 2. Result: 2.551680521
--
   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-09-21T09:54:06.551.537.725
   Max 1st sample MIU time among all SL packets: 2021-09-21T09:54:51.755.255.725
   Min 1st sample XO time among all SL packets: 2.551540245
   Max 1st sample XO time among all SL packets: 47.755258417
   TM values from -251 to 211 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-21T09:54:06.551.537.725 (XO: 2.551540245 - 2.551846246, t=37.2 degC)  Rank: 00081
   TM values: Max =   200  Min =  -241  Ave =    -4.64  Std =    19.26
   Min TM value:-241 at an offset of 124.650 usec -> 2021-09-21T09:54:06.551.662.375 (XO: 2.551664895)
   Max TM value:200 at an offset of 127.338 usec -> 2021-09-21T09:54:06.551.665.062 (XO: 2.551667583)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 127.163 usec -> 2021-09-21T09:54:06.551.664.887 (XO: 2.551667408)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 124.438 usec -> 2021-09-21T09:54:06.551.662.162 (XO: 2.551664683)

 - Block number: 2 starting at 2021-09-21T09:54:25.262.863.725 (XO: 21.262865992 - 21.263171993, t=37.2 degC)  Rank: 00082
   TM values: Max =   211  Min =  -222  Ave =    -4.60  Std =    17.96
   Min TM value:-222 at an offset of 113.563 usec -> 2021-09-21T09:54:25.262.977.287 (XO: 21.262979555)
   Max TM value:211 at an offset of 116.300 usec -> 2021-09-21T09:54:25.262.980.025 (XO: 21.262982293)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 116.188 usec -> 2021-09-21T09:54:25.262.979.912 (XO: 21.262982180)
   Min dTM/dt [1/us]:-1.58e+03 at an offset of 100.675 usec -> 2021-09-21T09:54:25.262.964.400 (XO: 21.262966668)

 - Block number: 3 starting at 2021-09-21T09:54:43.734.235.725 (XO: 39.734238948 - 39.734544949, t=37.2 degC)  Rank: 00077
   TM values: Max =   199  Min =  -236  Ave =    -4.59  Std =    28.32
   Min TM value:-236 at an offset of 154.251 usec -> 2021-09-21T09:54:43.734.389.975 (XO: 39.734393198)
   Max TM value:199 at an offset of 125.463 usec -> 2021-09-21T09:54:43.734.361.187 (XO: 39.734364411)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 170.613 usec -> 2021-09-21T09:54:43.734.406.338 (XO: 39.734409561)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 167.976 usec -> 2021-09-21T09:54:43.734.403.700 (XO: 39.734406924)

 - Block number: 4 starting at 2021-09-21T09:54:51.754.966.725 (XO: 47.754969416 - 47.755275417, t=37.2 degC)  Rank: 00078
   TM values: Max =   204  Min =  -251  Ave =    -4.58  Std =    21.64
   Min TM value:-251 at an offset of 112.800 usec -> 2021-09-21T09:54:51.755.079.525 (XO: 47.755082217)
   Max TM value:204 at an offset of 112.500 usec -> 2021-09-21T09:54:51.755.079.225 (XO: 47.755081917)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 115.188 usec -> 2021-09-21T09:54:51.755.081.912 (XO: 47.755084604)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 112.600 usec -> 2021-09-21T09:54:51.755.079.325 (XO: 47.755082017)
