-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 23:11:21 2022 UTC
-- File 20220208_000741_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 11.509855 to 37.767388
-each separately from 11s to 37s and from 208432us to 767388us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.698288 in 1 packets: 18
      12.558378 in 1 packets: 36
MIU packet time from 2022-02-08T00:07:55.509.855.000 to 2022-02-08T00:08:21.767.388.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.698288 in 1 packets: 18
      12.558378 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.8198434 to 38.8197510
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      13.9999503 in 1 packets: 18
      11.9999573 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220208_000741_1227.dat, 3 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.3296989 to 13.3299879
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6982390  -- OK for SL --
   MIU time from 2022-02-08T00:07:55.509.855.000 to 2022-02-08T00:07:55.510.144.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.698288

 - 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:
      98 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.0282269 to 27.0285159
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5583350  -- OK for SL --
   MIU time from 2022-02-08T00:08:09.208.432.000 to 2022-02-08T00:08:09.208.721.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.558378

 - 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 39.5868509 to 39.5871399
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-08T00:08:21.767.099.000 to 2022-02-08T00:08:21.767.388.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 11, 32bit 10MHz counter = 13.329698900 corrected by 40bit 10MHz counter of 12.819843400 obtained at 1Hz counter of 11. Result: 11.509857335
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-08T00:07:55.509.714.725
   Max 1st sample MIU time among all SL packets: 2022-02-08T00:08:21.767.247.725
   Min 1st sample XO time among all SL packets: 11.509717060
   Max 1st sample XO time among all SL packets: 37.767251387
   TM values from -284 to 264 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-08T00:07:55.509.714.725 (XO: 11.509717060 - 11.510023061, t=37.2 degC)  Rank: 00074
   TM values: Max =   172  Min =  -256  Ave =    -4.31  Std =    21.83
   Min TM value:-256 at an offset of 117.988 usec -> 2022-02-08T00:07:55.509.832.712 (XO: 11.509835048)
   Max TM value:172 at an offset of 115.425 usec -> 2022-02-08T00:07:55.509.830.150 (XO: 11.509832485)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 118.075 usec -> 2022-02-08T00:07:55.509.832.800 (XO: 11.509835135)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 115.575 usec -> 2022-02-08T00:07:55.509.830.300 (XO: 11.509832635)

 - Block number: 2 starting at 2022-02-08T00:08:09.208.291.725 (XO: 25.208293675 - 25.208599676, t=37.2 degC)  Rank: 00098
   TM values: Max =   233  Min =  -278  Ave =    -4.39  Std =    27.91
   Min TM value:-278 at an offset of 130.025 usec -> 2022-02-08T00:08:09.208.421.750 (XO: 25.208423700)
   Max TM value:233 at an offset of 127.600 usec -> 2022-02-08T00:08:09.208.419.325 (XO: 25.208421275)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 130.150 usec -> 2022-02-08T00:08:09.208.421.875 (XO: 25.208423825)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 127.725 usec -> 2022-02-08T00:08:09.208.419.450 (XO: 25.208421400)

 - Block number: 3 starting at 2022-02-08T00:08:21.766.958.725 (XO: 37.766962386 - 37.767268387, t=37.2 degC)  Rank: 00077
   TM values: Max =   264  Min =  -284  Ave =    -4.44  Std =    20.39
   Min TM value:-284 at an offset of 108.438 usec -> 2022-02-08T00:08:21.767.067.162 (XO: 37.767070824)
   Max TM value:264 at an offset of 106.038 usec -> 2022-02-08T00:08:21.767.064.762 (XO: 37.767068424)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 105.975 usec -> 2022-02-08T00:08:21.767.064.700 (XO: 37.767068361)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 108.375 usec -> 2022-02-08T00:08:21.767.067.100 (XO: 37.767070761)
