-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar  7 04:43:24 2022 UTC
-- File 20220208_043910_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.473586 to 51.994642
-each separately from 2s to 51s and from 173767us to 994642us.
   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, ...
      23.699892 in 1 packets: 18
      9.779984 in 1 packets: 36
      16.040024 in 1 packets: 54
MIU packet time from 2022-02-08T04:39:15.473.586.000 to 2022-02-08T04:40:04.994.642.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, ...
      23.699892 in 1 packets: 18
      9.779984 in 1 packets: 36
      16.040024 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.1599882 to 53.1598135
   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, ...
      23.9999144 in 1 packets: 18
      8.9999680 in 1 packets: 36
      15.9999429 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      C0 -> 35.6 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220208_043910_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 4.6335746 to 4.6338636
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.6998070  -- OK for SL --
   MIU time from 2022-02-08T04:39:15.473.586.000 to 2022-02-08T04:39:15.473.875.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.699892

 - 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 28.3336706 to 28.3339596
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.7799510  -- OK for SL --
   MIU time from 2022-02-08T04:39:39.173.767.000 to 2022-02-08T04:39:39.174.056.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.779984

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.1139106 to 38.1141996
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.0399670  -- OK for SL --
   MIU time from 2022-02-08T04:39:48.954.040.000 to 2022-02-08T04:39:48.954.329.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.040024

 - 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 54.1541666 to 54.1544556
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-08T04:40:04.994.353.000 to 2022-02-08T04:40:04.994.642.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.633574600 corrected by 40bit 10MHz counter of 4.159988200 obtained at 1Hz counter of 2. Result: 2.473588105
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-08T04:39:15.473.445.725
   Max 1st sample MIU time among all SL packets: 2022-02-08T04:40:04.994.501.725
   Min 1st sample XO time among all SL packets: 2.473447829
   Max 1st sample XO time among all SL packets: 51.994505306
   TM values from -326 to 269 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-08T04:39:15.473.445.725 (XO: 2.473447829 - 2.473753831, t=37.2 degC)  Rank: 00078
   TM values: Max =   269  Min =  -326  Ave =    -4.58  Std =    29.50
   Min TM value:-326 at an offset of 119.425 usec -> 2022-02-08T04:39:15.473.565.150 (XO: 2.473567255)
   Max TM value:269 at an offset of 116.988 usec -> 2022-02-08T04:39:15.473.562.712 (XO: 2.473564817)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 119.500 usec -> 2022-02-08T04:39:15.473.565.225 (XO: 2.473567330)
   Min dTM/dt [1/us]:-2.84e+03 at an offset of 117.075 usec -> 2022-02-08T04:39:15.473.562.800 (XO: 2.473564905)

 - Block number: 2 starting at 2022-02-08T04:39:39.173.626.725 (XO: 26.173628350 - 26.173934351, t=35.6 degC)  Rank: 00087
   TM values: Max =   220  Min =  -276  Ave =    -4.61  Std =    30.98
   Min TM value:-276 at an offset of 130.413 usec -> 2022-02-08T04:39:39.173.757.137 (XO: 26.173758763)
   Max TM value:220 at an offset of 127.938 usec -> 2022-02-08T04:39:39.173.754.662 (XO: 26.173756288)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 130.513 usec -> 2022-02-08T04:39:39.173.757.237 (XO: 26.173758863)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 128.038 usec -> 2022-02-08T04:39:39.173.754.762 (XO: 26.173756388)

 - Block number: 3 starting at 2022-02-08T04:39:48.953.899.725 (XO: 35.953903159 - 35.954209160, t=35.6 degC)  Rank: 00080
   TM values: Max =   216  Min =  -278  Ave =    -4.55  Std =    22.76
   Min TM value:-278 at an offset of 118.700 usec -> 2022-02-08T04:39:48.954.018.425 (XO: 35.954021859)
   Max TM value:216 at an offset of 116.250 usec -> 2022-02-08T04:39:48.954.015.975 (XO: 35.954019409)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 118.825 usec -> 2022-02-08T04:39:48.954.018.550 (XO: 35.954021984)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 116.338 usec -> 2022-02-08T04:39:48.954.016.062 (XO: 35.954019497)

 - Block number: 4 starting at 2022-02-08T04:40:04.994.212.725 (XO: 51.994216305 - 51.994522306, t=35.6 degC)  Rank: 00079
   TM values: Max =   222  Min =  -257  Ave =    -4.62  Std =    26.21
   Min TM value:-257 at an offset of 119.050 usec -> 2022-02-08T04:40:04.994.331.775 (XO: 51.994335355)
   Max TM value:222 at an offset of 119.300 usec -> 2022-02-08T04:40:04.994.332.025 (XO: 51.994335605)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 119.175 usec -> 2022-02-08T04:40:04.994.331.900 (XO: 51.994335480)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 116.700 usec -> 2022-02-08T04:40:04.994.329.425 (XO: 51.994333005)
