-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 18:18:18 2023 UTC
-- File 20220709_213122_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 5.200142 to 37.400051
-each separately from 5s to 37s and from 200142us to 560379us.
   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, ...
      12.359659 in 1 packets: 18
      19.839383 in 1 packets: 36
MIU packet time from 2022-07-09T21:31:30.200.142.000 to 2022-07-09T21:32:02.400.051.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, ...
      12.359659 in 1 packets: 18
      19.839383 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 7.1483679 to 39.1482518
   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, ...
      11.9999565 in 1 packets: 18
      19.9999274 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets (all packets)
Temperature XO: 
      C2 -> 38.8 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220709_213122_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.3485110 to 7.3488000
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.3596150  -- OK for SL --
   MIU time from 2022-07-09T21:31:30.200.142.000 to 2022-07-09T21:31:30.200.431.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.359659

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.7084150 to 19.7087040
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8393110  -- OK for SL --
   MIU time from 2022-07-09T21:31:42.560.090.000 to 2022-07-09T21:31:42.560.379.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.839383

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.5480150 to 39.5483040
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-09T21:32:02.399.762.000 to 2022-07-09T21:32:02.400.051.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 = 5, 32bit 10MHz counter = 7.348511000 corrected by 40bit 10MHz counter of 7.148367900 obtained at 1Hz counter of 5. Result: 5.200143821
--
   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-07-09T21:31:30.200.001.725
   Max 1st sample MIU time among all SL packets: 2022-07-09T21:32:02.399.910.725
   Min 1st sample XO time among all SL packets: 5.200003545
   Max 1st sample XO time among all SL packets: 37.399913365
   TM values from -300 to 233 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-09T21:31:30.200.001.725 (XO: 5.200003545 - 5.200309546, t=38.8 degC)  Rank: 00083
   TM values: Max =   220  Min =  -263  Ave =    -4.34  Std =    32.60
   Min TM value:-263 at an offset of 108.400 usec -> 2022-07-09T21:31:30.200.110.125 (XO: 5.200111945)
   Max TM value:220 at an offset of 64.488 usec -> 2022-07-09T21:31:30.200.066.212 (XO: 5.200068033)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 140.213 usec -> 2022-07-09T21:31:30.200.141.938 (XO: 5.200143758)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 64.600 usec -> 2022-07-09T21:31:30.200.066.325 (XO: 5.200068145)

 - Block number: 2 starting at 2022-07-09T21:31:42.559.949.725 (XO: 17.559952341 - 17.560258342, t=38.8 degC)  Rank: 00077
   TM values: Max =   219  Min =  -300  Ave =    -4.45  Std =    36.07
   Min TM value:-300 at an offset of 121.850 usec -> 2022-07-09T21:31:42.560.071.575 (XO: 17.560074191)
   Max TM value:219 at an offset of 162.313 usec -> 2022-07-09T21:31:42.560.112.038 (XO: 17.560114654)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 121.975 usec -> 2022-07-09T21:31:42.560.071.700 (XO: 17.560074316)
   Min dTM/dt [1/us]:-2.64e+03 at an offset of 162.438 usec -> 2022-07-09T21:31:42.560.112.163 (XO: 17.560114779)

 - Block number: 3 starting at 2022-07-09T21:32:02.399.621.725 (XO: 37.399624364 - 37.399930365, t=38.8 degC)  Rank: 00084
   TM values: Max =   233  Min =  -267  Ave =    -4.54  Std =    31.37
   Min TM value:-267 at an offset of 122.075 usec -> 2022-07-09T21:32:02.399.743.800 (XO: 37.399746439)
   Max TM value:233 at an offset of 119.613 usec -> 2022-07-09T21:32:02.399.741.337 (XO: 37.399743977)
   Max dTM/dt [1/us]:2.63e+03 at an offset of 122.188 usec -> 2022-07-09T21:32:02.399.743.912 (XO: 37.399746552)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 119.725 usec -> 2022-07-09T21:32:02.399.741.450 (XO: 37.399744089)
