-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Nov 23 14:41:12 2021 UTC
-- File 20210722_042329_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 5.497641 to 52.190039
-each separately from 5s to 52s and from 189750us to 999031us.
   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, ...
      24.091183 in 1 packets: 18
      4.409340 in 1 packets: 36
      18.190719 in 1 packets: 54
MIU packet time from 2021-07-22T04:23:37.497.641.000 to 2021-07-22T04:24:24.190.039.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, ...
      24.091183 in 1 packets: 18
      4.409340 in 1 packets: 36
      18.190719 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 6.3360531 to 53.3358955
   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, ...
      23.9999195 in 1 packets: 18
      3.9999866 in 1 packets: 36
      18.9999363 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 36 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 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 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 20210722_042329_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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.8336943 to 6.8339833
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.0911030  -- OK for SL --
   MIU time from 2021-07-22T04:23:37.497.641.000 to 2021-07-22T04:23:37.497.930.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.091183

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.9250863 to 30.9253753
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.4093270  -- OK for SL --
   MIU time from 2021-07-22T04:24:01.589.113.000 to 2021-07-22T04:24:01.589.402.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.409340

 - 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:
      58 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.3347023 to 35.3349913
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1906550  -- OK for SL --
   MIU time from 2021-07-22T04:24:05.998.742.000 to 2021-07-22T04:24:05.999.031.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.190719

 - 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:
      48 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.5256463 to 53.5259353
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-22T04:24:24.189.750.000 to 2021-07-22T04:24:24.190.039.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 = 5, 32bit 10MHz counter = 6.833694300 corrected by 40bit 10MHz counter of 6.336053100 obtained at 1Hz counter of 5. Result: 5.497642892
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-07-22T04:23:37.497.500.725
   Max 1st sample MIU time among all SL packets: 2021-07-22T04:24:24.189.898.725
   Min 1st sample XO time among all SL packets: 5.497502617
   Max 1st sample XO time among all SL packets: 52.189900152
   TM values from -222 to 171 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-22T04:23:37.497.500.725 (XO: 5.497502617 - 5.497808618, t=37.2 degC)  Rank: 00052
   TM values: Max =   171  Min =  -222  Ave =    -4.49  Std =    20.79
   Min TM value:-222 at an offset of 125.488 usec -> 2021-07-22T04:23:37.497.626.212 (XO: 5.497628104)
   Max TM value:171 at an offset of 128.100 usec -> 2021-07-22T04:23:37.497.628.825 (XO: 5.497630717)
   Max dTM/dt [1/us]:1.18e+03 at an offset of 127.963 usec -> 2021-07-22T04:23:37.497.628.687 (XO: 5.497630579)
   Min dTM/dt [1/us]:-1.36e+03 at an offset of 125.263 usec -> 2021-07-22T04:23:37.497.625.987 (XO: 5.497627879)

 - Block number: 2 starting at 2021-07-22T04:24:01.588.972.725 (XO: 29.588975369 - 29.589281370, t=37.2 degC)  Rank: 00058
   TM values: Max =   121  Min =  -130  Ave =    -4.41  Std =    58.87
   Min TM value:-130 at an offset of 194.788 usec -> 2021-07-22T04:24:01.589.167.513 (XO: 29.589170157)
   Max TM value:121 at an offset of 157.563 usec -> 2021-07-22T04:24:01.589.130.288 (XO: 29.589132932)
   Max dTM/dt [1/us]:5.79e+02 at an offset of 0.000 usec -> 2021-07-22T04:24:01.588.972.725 (XO: 29.588975369)
   Min dTM/dt [1/us]:-9.44e+02 at an offset of 305.976 usec -> 2021-07-22T04:24:01.589.278.701 (XO: 29.589281345)

 - Block number: 3 starting at 2021-07-22T04:24:05.998.601.725 (XO: 33.998606120 - 33.998912121, t=37.2 degC)  Rank: 00058
   TM values: Max =   137  Min =  -150  Ave =    -4.57  Std =    64.07
   Min TM value:-150 at an offset of 116.725 usec -> 2021-07-22T04:24:05.998.718.450 (XO: 33.998722846)
   Max TM value:137 at an offset of 120.450 usec -> 2021-07-22T04:24:05.998.722.175 (XO: 33.998726571)
   Max dTM/dt [1/us]:8.68e+02 at an offset of 305.989 usec -> 2021-07-22T04:24:05.998.907.713 (XO: 33.998912109)
   Min dTM/dt [1/us]:-7.90e+02 at an offset of 267.563 usec -> 2021-07-22T04:24:05.998.869.288 (XO: 33.998873684)

 - Block number: 4 starting at 2021-07-22T04:24:24.189.609.725 (XO: 52.189611151 - 52.189917152, t=37.2 degC)  Rank: 00048
   TM values: Max =   120  Min =  -129  Ave =    -4.45  Std =    43.99
   Min TM value:-129 at an offset of 132.575 usec -> 2021-07-22T04:24:24.189.742.300 (XO: 52.189743726)
   Max TM value:120 at an offset of 119.963 usec -> 2021-07-22T04:24:24.189.729.687 (XO: 52.189731114)
   Max dTM/dt [1/us]:1.10e+03 at an offset of 130.450 usec -> 2021-07-22T04:24:24.189.740.175 (XO: 52.189741601)
   Min dTM/dt [1/us]:-1.11e+03 at an offset of 130.913 usec -> 2021-07-22T04:24:24.189.740.637 (XO: 52.189742064)
