-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 29 11:30:40 2021 UTC
-- File 20210830_060526_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.058300 to 32.477911
-each separately from 5s to 32s and from 58300us to 477911us.
   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, ...
      18.180443 in 1 packets: 18
      9.238301 in 1 packets: 36
MIU packet time from 2021-08-30T06:05:34.058.300.000 to 2021-08-30T06:06:01.477.911.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, ...
      18.180443 in 1 packets: 18
      9.238301 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 6.8372158 to 33.8371258
   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, ...
      17.9999400 in 1 packets: 18
      8.9999700 in 1 packets: 36
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 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210830_060526_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.8955167 to 6.8958057
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1803830  -- OK for SL --
   MIU time from 2021-08-30T06:05:34.058.300.000 to 2021-08-30T06:05:34.058.589.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.180443

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.0761887 to 25.0764777
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.2382710  -- OK for SL --
   MIU time from 2021-08-30T06:05:52.239.032.000 to 2021-08-30T06:05:52.239.321.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.238301

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.3147487 to 34.3150377
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-30T06:06:01.477.622.000 to 2021-08-30T06:06:01.477.911.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 = 6.895516700 corrected by 40bit 10MHz counter of 6.837215800 obtained at 1Hz counter of 5. Result: 5.058301092
--
   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-08-30T06:05:34.058.159.725
   Max 1st sample MIU time among all SL packets: 2021-08-30T06:06:01.477.770.725
   Min 1st sample XO time among all SL packets: 5.058160817
   Max 1st sample XO time among all SL packets: 32.477773249
   TM values from -245 to 374 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-30T06:05:34.058.159.725 (XO: 5.058160817 - 5.058466818, t=37.2 degC)  Rank: 00082
   TM values: Max =   374  Min =  -201  Ave =    -4.43  Std =    27.36
   Min TM value:-201 at an offset of 112.888 usec -> 2021-08-30T06:05:34.058.272.612 (XO: 5.058273705)
   Max TM value:374 at an offset of 101.263 usec -> 2021-08-30T06:05:34.058.260.987 (XO: 5.058262080)
   Max dTM/dt [1/us]:3.27e+03 at an offset of 122.650 usec -> 2021-08-30T06:05:34.058.282.375 (XO: 5.058283467)
   Min dTM/dt [1/us]:-4.20e+03 at an offset of 122.738 usec -> 2021-08-30T06:05:34.058.282.462 (XO: 5.058283555)

 - Block number: 2 starting at 2021-08-30T06:05:52.238.891.725 (XO: 23.238893413 - 23.239199414, t=37.2 degC)  Rank: 00065
   TM values: Max =   175  Min =  -216  Ave =    -4.37  Std =    21.45
   Min TM value:-216 at an offset of 113.825 usec -> 2021-08-30T06:05:52.239.005.550 (XO: 23.239007239)
   Max TM value:175 at an offset of 128.400 usec -> 2021-08-30T06:05:52.239.020.125 (XO: 23.239021814)
   Max dTM/dt [1/us]:1.36e+03 at an offset of 128.200 usec -> 2021-08-30T06:05:52.239.019.925 (XO: 23.239021614)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 125.525 usec -> 2021-08-30T06:05:52.239.017.250 (XO: 23.239018939)

 - Block number: 3 starting at 2021-08-30T06:06:01.477.481.725 (XO: 32.477484248 - 32.477790249, t=37.2 degC)  Rank: 00073
   TM values: Max =   176  Min =  -245  Ave =    -4.45  Std =    21.09
   Min TM value:-245 at an offset of 126.550 usec -> 2021-08-30T06:06:01.477.608.275 (XO: 32.477610799)
   Max TM value:176 at an offset of 129.138 usec -> 2021-08-30T06:06:01.477.610.862 (XO: 32.477613386)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 128.988 usec -> 2021-08-30T06:06:01.477.610.712 (XO: 32.477613236)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 126.325 usec -> 2021-08-30T06:06:01.477.608.050 (XO: 32.477610574)
