-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 14 23:36:50 2021 UTC
-- File 20210813_183815_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 14.360773 to 46.061329
-each separately from 14s to 46s and from 61040us to 841284us.
   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, ...
      11.379876 in 1 packets: 18
      17.099768 in 1 packets: 36
      3.219756 in 1 packets: 54
MIU packet time from 2021-08-13T18:38:32.360.773.000 to 2021-08-13T18:39:04.061.329.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, ...
      11.379876 in 1 packets: 18
      17.099768 in 1 packets: 36
      3.219756 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 15.8098138 to 47.8097064
   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, ...
      10.9999631 in 1 packets: 18
      16.9999430 in 1 packets: 36
      3.9999865 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, ...
      05 -> 48.5 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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210813_183815_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.1705876 to 16.1708766
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.3798390  -- OK for SL --
   MIU time from 2021-08-13T18:38:32.360.773.000 to 2021-08-13T18:38:32.361.062.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.379876

 - 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 27.5507156 to 27.5510046
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0997110  -- OK for SL --
   MIU time from 2021-08-13T18:38:43.740.938.000 to 2021-08-13T18:38:43.741.227.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.099768

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.6507156 to 44.6510046
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.2197430  -- OK for SL --
   MIU time from 2021-08-13T18:39:00.840.995.000 to 2021-08-13T18:39:00.841.284.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.219756

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.8707476 to 47.8710366
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-13T18:39:04.061.040.000 to 2021-08-13T18:39:04.061.329.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 = 14, 32bit 10MHz counter = 16.170587600 corrected by 40bit 10MHz counter of 15.809813800 obtained at 1Hz counter of 14. Result: 14.360775027
--
   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-13T18:38:32.360.632.725
   Max 1st sample MIU time among all SL packets: 2021-08-13T18:39:04.061.188.725
   Min 1st sample XO time among all SL packets: 14.360634751
   Max 1st sample XO time among all SL packets: 46.061190127
   TM values from -277 to 241 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-13T18:38:32.360.632.725 (XO: 14.360634751 - 14.360940752, t=37.2 degC)  Rank: 00081
   TM values: Max =   218  Min =  -272  Ave =    -4.43  Std =    22.51
   Min TM value:-272 at an offset of 119.450 usec -> 2021-08-13T18:38:32.360.752.175 (XO: 14.360754202)
   Max TM value:218 at an offset of 119.163 usec -> 2021-08-13T18:38:32.360.751.887 (XO: 14.360753914)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 121.825 usec -> 2021-08-13T18:38:32.360.754.550 (XO: 14.360756577)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 119.275 usec -> 2021-08-13T18:38:32.360.752.000 (XO: 14.360754027)

 - Block number: 2 starting at 2021-08-13T18:38:43.740.797.725 (XO: 25.740800944 - 25.741106945, t=37.2 degC)  Rank: 00079
   TM values: Max =   241  Min =  -277  Ave =    -4.40  Std =    25.67
   Min TM value:-277 at an offset of 109.438 usec -> 2021-08-13T18:38:43.740.907.162 (XO: 25.740910382)
   Max TM value:241 at an offset of 109.125 usec -> 2021-08-13T18:38:43.740.906.850 (XO: 25.740910069)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 111.763 usec -> 2021-08-13T18:38:43.740.909.487 (XO: 25.740912707)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 109.200 usec -> 2021-08-13T18:38:43.740.906.925 (XO: 25.740910144)

 - Block number: 3 starting at 2021-08-13T18:39:00.840.854.725 (XO: 42.840858284 - 42.841164285, t=37.2 degC)  Rank: 00078
   TM values: Max =   234  Min =  -259  Ave =    -4.39  Std =    23.35
   Min TM value:-259 at an offset of 107.788 usec -> 2021-08-13T18:39:00.840.962.512 (XO: 42.840966072)
   Max TM value:234 at an offset of 110.300 usec -> 2021-08-13T18:39:00.840.965.025 (XO: 42.840968584)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 110.163 usec -> 2021-08-13T18:39:00.840.964.887 (XO: 42.840968447)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 107.575 usec -> 2021-08-13T18:39:00.840.962.300 (XO: 42.840965859)

 - Block number: 4 starting at 2021-08-13T18:39:04.060.899.725 (XO: 46.060901126 - 46.061207127, t=37.2 degC)  Rank: 00083
   TM values: Max =   210  Min =  -250  Ave =    -4.46  Std =    23.17
   Min TM value:-250 at an offset of 120.438 usec -> 2021-08-13T18:39:04.061.020.162 (XO: 46.061021564)
   Max TM value:210 at an offset of 123.100 usec -> 2021-08-13T18:39:04.061.022.825 (XO: 46.061024226)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 122.900 usec -> 2021-08-13T18:39:04.061.022.625 (XO: 46.061024026)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 120.300 usec -> 2021-08-13T18:39:04.061.020.025 (XO: 46.061021426)
