-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 08:10:08 2023 UTC
-- File 20220609_235947_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 14.288642 to 52.569255
-each separately from 14s to 52s and from 128835us to 569255us.
   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, ...
      5.179840 in 1 packets: 18
      22.659775 in 1 packets: 36
      10.439842 in 1 packets: 54
MIU packet time from 2022-06-10T00:00:04.288.642.000 to 2022-06-10T00:00:42.569.255.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, ...
      5.179840 in 1 packets: 18
      22.659775 in 1 packets: 36
      10.439842 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 15.6127119 to 53.6125793
   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, ...
      4.9999826 in 1 packets: 18
      22.9999197 in 1 packets: 36
      9.9999651 in 1 packets: 54
Temperature FPGA: 
      01 -> 53.7 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      FF -> 56.3 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      00 -> 55.0 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C4 -> 42.0 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220609_235947_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9013549 to 15.9016439
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.1798230  -- OK for SL --
   MIU time from 2022-06-10T00:00:04.288.642.000 to 2022-06-10T00:00:04.288.931.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.179840

 - 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 21.0814669 to 21.0817559
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.6596950  -- OK for SL --
   MIU time from 2022-06-10T00:00:09.468.771.000 to 2022-06-10T00:00:09.469.060.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.659775

 - 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 43.7414509 to 43.7417399
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.4398070  -- OK for SL --
   MIU time from 2022-06-10T00:00:32.128.835.000 to 2022-06-10T00:00:32.129.124.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.439842

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.1815469 to 54.1818359
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-10T00:00:42.568.966.000 to 2022-06-10T00:00:42.569.255.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 = 14, 32bit 10MHz counter = 15.901354900 corrected by 40bit 10MHz counter of 15.612711900 obtained at 1Hz counter of 14. Result: 14.288644010
--
   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-06-10T00:00:04.288.501.725
   Max 1st sample MIU time among all SL packets: 2022-06-10T00:00:42.569.114.725
   Min 1st sample XO time among all SL packets: 14.288503735
   Max 1st sample XO time among all SL packets: 52.569118317
   TM values from -267 to 240 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-10T00:00:04.288.501.725 (XO: 14.288503735 - 14.288809736, t=42.0 degC)  Rank: 00077
   TM values: Max =   227  Min =  -230  Ave =    -4.55  Std =    17.87
   Min TM value:-230 at an offset of 111.813 usec -> 2022-06-10T00:00:04.288.613.537 (XO: 14.288615548)
   Max TM value:227 at an offset of 112.075 usec -> 2022-06-10T00:00:04.288.613.800 (XO: 14.288615810)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 111.913 usec -> 2022-06-10T00:00:04.288.613.637 (XO: 14.288615648)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 109.513 usec -> 2022-06-10T00:00:04.288.611.237 (XO: 14.288613248)

 - Block number: 2 starting at 2022-06-10T00:00:09.468.630.725 (XO: 19.468633812 - 19.468939813, t=42.0 degC)  Rank: 00080
   TM values: Max =   208  Min =  -229  Ave =    -4.53  Std =    23.36
   Min TM value:-229 at an offset of 98.038 usec -> 2022-06-10T00:00:09.468.728.762 (XO: 19.468731850)
   Max TM value:208 at an offset of 98.288 usec -> 2022-06-10T00:00:09.468.729.012 (XO: 19.468732100)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 126.813 usec -> 2022-06-10T00:00:09.468.757.537 (XO: 19.468760625)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 100.538 usec -> 2022-06-10T00:00:09.468.731.262 (XO: 19.468734350)

 - Block number: 3 starting at 2022-06-10T00:00:32.128.694.725 (XO: 42.128696875 - 42.129002877, t=42.0 degC)  Rank: 00077
   TM values: Max =   240  Min =  -258  Ave =    -4.60  Std =    29.57
   Min TM value:-258 at an offset of 120.600 usec -> 2022-06-10T00:00:32.128.815.325 (XO: 42.128817476)
   Max TM value:240 at an offset of 120.325 usec -> 2022-06-10T00:00:32.128.815.050 (XO: 42.128817201)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 122.800 usec -> 2022-06-10T00:00:32.128.817.525 (XO: 42.128819676)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 120.425 usec -> 2022-06-10T00:00:32.128.815.150 (XO: 42.128817301)

 - Block number: 4 starting at 2022-06-10T00:00:42.568.825.725 (XO: 52.568829316 - 52.569135317, t=42.0 degC)  Rank: 00085
   TM values: Max =   227  Min =  -267  Ave =    -4.54  Std =    25.89
   Min TM value:-267 at an offset of 108.963 usec -> 2022-06-10T00:00:42.568.934.687 (XO: 52.568938279)
   Max TM value:227 at an offset of 111.263 usec -> 2022-06-10T00:00:42.568.936.987 (XO: 52.568940579)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 168.026 usec -> 2022-06-10T00:00:42.568.993.750 (XO: 52.568997341)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 108.775 usec -> 2022-06-10T00:00:42.568.934.500 (XO: 52.568938091)
