-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 05:58:58 2023 UTC
-- File 20220706_230352_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 4.475236 to 50.789740
-each separately from 4s to 50s and from 321661us to 789740us.
   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, ...
      14.857925 in 1 packets: 18
      13.987922 in 1 packets: 36
      17.467501 in 1 packets: 54
MIU packet time from 2022-07-06T23:03:59.475.236.000 to 2022-07-06T23:04:45.789.740.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, ...
      14.857925 in 1 packets: 18
      13.987922 in 1 packets: 36
      17.467501 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 5.6215356 to 51.6213689
   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, ...
      14.9999457 in 1 packets: 18
      13.9999492 in 1 packets: 36
      16.9999384 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C2 -> 38.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C1 -> 37.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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 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 20220706_230352_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.0967725 to 6.0970615
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8578710  -- OK for SL --
   MIU time from 2022-07-06T23:03:59.475.236.000 to 2022-07-06T23:03:59.475.525.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.857925

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.9549325 to 20.9552215
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9878710  -- OK for SL --
   MIU time from 2022-07-06T23:04:14.333.450.000 to 2022-07-06T23:04:14.333.739.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.987922

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.9430925 to 34.9433815
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4674390  -- OK for SL --
   MIU time from 2022-07-06T23:04:28.321.661.000 to 2022-07-06T23:04:28.321.950.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.467501

 - 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 52.4108205 to 52.4111095
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-06T23:04:45.789.451.000 to 2022-07-06T23:04:45.789.740.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 = 4, 32bit 10MHz counter = 6.096772500 corrected by 40bit 10MHz counter of 5.621535600 obtained at 1Hz counter of 4. Result: 4.475238611
--
   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-06T23:03:59.475.095.725
   Max 1st sample MIU time among all SL packets: 2022-07-06T23:04:45.789.599.725
   Min 1st sample XO time among all SL packets: 4.475098335
   Max 1st sample XO time among all SL packets: 50.789603168
   TM values from -272 to 204 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-06T23:03:59.475.095.725 (XO: 4.475098335 - 4.475404336, t=38.8 degC)  Rank: 00079
   TM values: Max =   204  Min =  -272  Ave =    -4.52  Std =    31.29
   Min TM value:-272 at an offset of 198.763 usec -> 2022-07-06T23:03:59.475.294.488 (XO: 4.475297099)
   Max TM value:204 at an offset of 198.501 usec -> 2022-07-06T23:03:59.475.294.225 (XO: 4.475296836)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 128.813 usec -> 2022-07-06T23:03:59.475.224.537 (XO: 4.475227148)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 198.638 usec -> 2022-07-06T23:03:59.475.294.363 (XO: 4.475296974)

 - Block number: 2 starting at 2022-07-06T23:04:14.333.309.725 (XO: 19.333312125 - 19.333618126, t=38.8 degC)  Rank: 00079
   TM values: Max =   190  Min =  -211  Ave =    -4.49  Std =    19.46
   Min TM value:-211 at an offset of 124.663 usec -> 2022-07-06T23:04:14.333.434.387 (XO: 19.333436788)
   Max TM value:190 at an offset of 112.088 usec -> 2022-07-06T23:04:14.333.421.812 (XO: 19.333424213)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 127.175 usec -> 2022-07-06T23:04:14.333.436.900 (XO: 19.333439300)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 124.413 usec -> 2022-07-06T23:04:14.333.434.137 (XO: 19.333436538)

 - Block number: 3 starting at 2022-07-06T23:04:28.321.520.725 (XO: 33.321522882 - 33.321828884, t=37.2 degC)  Rank: 00081
   TM values: Max =   202  Min =  -227  Ave =    -4.45  Std =    24.62
   Min TM value:-227 at an offset of 125.813 usec -> 2022-07-06T23:04:28.321.646.537 (XO: 33.321648695)
   Max TM value:202 at an offset of 130.825 usec -> 2022-07-06T23:04:28.321.651.550 (XO: 33.321653708)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 128.313 usec -> 2022-07-06T23:04:28.321.649.037 (XO: 33.321651195)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 170.051 usec -> 2022-07-06T23:04:28.321.690.775 (XO: 33.321692933)

 - Block number: 4 starting at 2022-07-06T23:04:45.789.310.725 (XO: 50.789314167 - 50.789620168, t=38.8 degC)  Rank: 00085
   TM values: Max =   178  Min =  -239  Ave =    -4.47  Std =    24.13
   Min TM value:-239 at an offset of 125.700 usec -> 2022-07-06T23:04:45.789.436.425 (XO: 50.789439867)
   Max TM value:178 at an offset of 130.525 usec -> 2022-07-06T23:04:45.789.441.250 (XO: 50.789444692)
   Max dTM/dt [1/us]:1.29e+03 at an offset of 128.150 usec -> 2022-07-06T23:04:45.789.438.875 (XO: 50.789442317)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 125.438 usec -> 2022-07-06T23:04:45.789.436.162 (XO: 50.789439604)
