-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 23:25:19 2023 UTC
-- File 20220617_132048_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 6.615136 to 52.460231
-each separately from 6s to 52s and from 173659us to 615425us.
   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, ...
      12.558234 in 1 packets: 18
      12.278438 in 1 packets: 36
      21.007267 in 1 packets: 54
MIU packet time from 2022-06-17T13:20:57.615.136.000 to 2022-06-17T13:21:43.460.231.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, ...
      12.558234 in 1 packets: 18
      12.278438 in 1 packets: 36
      21.007267 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 8.1485643 to 54.1484148
   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, ...
      12.9999577 in 1 packets: 18
      11.9999610 in 1 packets: 36
      20.9999318 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FE -> 57.6 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C5 -> 43.6 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C6 -> 45.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220617_132048_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 8.7637024 to 8.7639914
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5581910  -- OK for SL --
   MIU time from 2022-06-17T13:20:57.615.136.000 to 2022-06-17T13:20:57.615.425.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.558234

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.3221824 to 21.3224714
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.2783990  -- OK for SL --
   MIU time from 2022-06-17T13:21:10.173.659.000 to 2022-06-17T13:21:10.173.948.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.278438

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.6008704 to 33.6011594
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.0071990  -- OK for SL --
   MIU time from 2022-06-17T13:21:22.452.386.000 to 2022-06-17T13:21:22.452.675.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.007267

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.6083584 to 54.6086474
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-17T13:21:43.459.942.000 to 2022-06-17T13:21:43.460.231.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 = 6, 32bit 10MHz counter = 8.763702400 corrected by 40bit 10MHz counter of 8.148564300 obtained at 1Hz counter of 6. Result: 6.615140130
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2022-06-17T13:20:57.614.995.725
   Max 1st sample MIU time among all SL packets: 2022-06-17T13:21:43.460.090.725
   Min 1st sample XO time among all SL packets: 6.614999854
   Max 1st sample XO time among all SL packets: 52.460093797
   TM values from -267 to 227 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-17T13:20:57.614.995.725 (XO: 6.614999854 - 6.615305856, t=43.6 degC)  Rank: 00077
   TM values: Max =   220  Min =  -250  Ave =    -4.61  Std =    30.97
   Min TM value:-250 at an offset of 183.863 usec -> 2022-06-17T13:20:57.615.179.588 (XO: 6.615183718)
   Max TM value:220 at an offset of 186.226 usec -> 2022-06-17T13:20:57.615.181.950 (XO: 6.615186080)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 60.088 usec -> 2022-06-17T13:20:57.615.055.812 (XO: 6.615059942)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 188.563 usec -> 2022-06-17T13:20:57.615.184.288 (XO: 6.615188418)

 - Block number: 2 starting at 2022-06-17T13:21:10.173.518.725 (XO: 19.173520680 - 19.173826681, t=43.6 degC)  Rank: 00073
   TM values: Max =   218  Min =  -223  Ave =    -4.47  Std =    26.13
   Min TM value:-223 at an offset of 113.788 usec -> 2022-06-17T13:21:10.173.632.512 (XO: 19.173634468)
   Max TM value:218 at an offset of 116.175 usec -> 2022-06-17T13:21:10.173.634.900 (XO: 19.173636856)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 116.025 usec -> 2022-06-17T13:21:10.173.634.750 (XO: 19.173636706)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 130.588 usec -> 2022-06-17T13:21:10.173.649.312 (XO: 19.173651268)

 - Block number: 3 starting at 2022-06-17T13:21:22.452.245.725 (XO: 31.452248572 - 31.452554573, t=45.2 degC)  Rank: 00075
   TM values: Max =   224  Min =  -267  Ave =    -4.48  Std =    26.80
   Min TM value:-267 at an offset of 101.025 usec -> 2022-06-17T13:21:22.452.346.750 (XO: 31.452349598)
   Max TM value:224 at an offset of 61.700 usec -> 2022-06-17T13:21:22.452.307.425 (XO: 31.452310272)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 61.563 usec -> 2022-06-17T13:21:22.452.307.287 (XO: 31.452310135)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 59.200 usec -> 2022-06-17T13:21:22.452.304.925 (XO: 31.452307772)

 - Block number: 4 starting at 2022-06-17T13:21:43.459.801.725 (XO: 52.459804796 - 52.460110797, t=43.6 degC)  Rank: 00080
   TM values: Max =   227  Min =  -238  Ave =    -4.46  Std =    20.56
   Min TM value:-238 at an offset of 124.313 usec -> 2022-06-17T13:21:43.459.926.037 (XO: 52.459929109)
   Max TM value:227 at an offset of 126.650 usec -> 2022-06-17T13:21:43.459.928.375 (XO: 52.459931447)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 126.550 usec -> 2022-06-17T13:21:43.459.928.275 (XO: 52.459931347)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 124.188 usec -> 2022-06-17T13:21:43.459.925.912 (XO: 52.459928984)
