-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Dec 28 09:06:12 2021 UTC
-- File 20210829_040827_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 7.373926 to 57.884878
-each separately from 7s to 57s and from 373926us to 964728us.
   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.409982 in 1 packets: 18
      15.179953 in 1 packets: 36
      20.919861 in 1 packets: 54
MIU packet time from 2021-08-29T04:08:37.373.926.000 to 2021-08-29T04:09:27.884.878.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.409982 in 1 packets: 18
      15.179953 in 1 packets: 36
      20.919861 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 8.9476851 to 58.9475188
   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, ...
      13.9999535 in 1 packets: 18
      14.9999500 in 1 packets: 36
      20.9999302 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210829_040827_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.3216119 to 9.3219009
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4099350  -- OK for SL --
   MIU time from 2021-08-29T04:08:37.373.926.000 to 2021-08-29T04:08:37.374.215.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.409982

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.7318359 to 23.7321249
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1799030  -- OK for SL --
   MIU time from 2021-08-29T04:08:51.784.197.000 to 2021-08-29T04:08:51.784.486.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.179953

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.9120279 to 38.9123169
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.9197910  -- OK for SL --
   MIU time from 2021-08-29T04:09:06.964.439.000 to 2021-08-29T04:09:06.964.728.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.919861

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.8321079 to 59.8323969
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-29T04:09:27.884.589.000 to 2021-08-29T04:09:27.884.878.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 = 7, 32bit 10MHz counter = 9.321611900 corrected by 40bit 10MHz counter of 8.947685100 obtained at 1Hz counter of 7. Result: 7.373928034
--
   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-29T04:08:37.373.785.725
   Max 1st sample MIU time among all SL packets: 2021-08-29T04:09:27.884.737.725
   Min 1st sample XO time among all SL packets: 7.373787758
   Max 1st sample XO time among all SL packets: 57.884740745
   TM values from -274 to 213 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-29T04:08:37.373.785.725 (XO: 7.373787758 - 7.374093760, t=37.2 degC)  Rank: 00076
   TM values: Max =   203  Min =  -254  Ave =    -4.54  Std =    17.08
   Min TM value:-254 at an offset of 121.125 usec -> 2021-08-29T04:08:37.373.906.850 (XO: 7.373908884)
   Max TM value:203 at an offset of 120.863 usec -> 2021-08-29T04:08:37.373.906.587 (XO: 7.373908621)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 118.688 usec -> 2021-08-29T04:08:37.373.904.412 (XO: 7.373906446)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 121.000 usec -> 2021-08-29T04:08:37.373.906.725 (XO: 7.373908759)

 - Block number: 2 starting at 2021-08-29T04:08:51.784.056.725 (XO: 21.784059691 - 21.784365692, t=37.2 degC)  Rank: 00076
   TM values: Max =   213  Min =  -231  Ave =    -4.56  Std =    19.83
   Min TM value:-231 at an offset of 106.725 usec -> 2021-08-29T04:08:51.784.163.450 (XO: 21.784166416)
   Max TM value:213 at an offset of 109.375 usec -> 2021-08-29T04:08:51.784.166.100 (XO: 21.784169066)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 109.225 usec -> 2021-08-29T04:08:51.784.165.950 (XO: 21.784168916)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 77.188 usec -> 2021-08-29T04:08:51.784.133.912 (XO: 21.784136879)

 - Block number: 3 starting at 2021-08-29T04:09:06.964.298.725 (XO: 36.964302207 - 36.964608208, t=37.2 degC)  Rank: 00083
   TM values: Max =   212  Min =  -249  Ave =    -4.62  Std =    20.27
   Min TM value:-249 at an offset of 121.788 usec -> 2021-08-29T04:09:06.964.420.512 (XO: 36.964423995)
   Max TM value:212 at an offset of 121.513 usec -> 2021-08-29T04:09:06.964.420.237 (XO: 36.964423720)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 124.175 usec -> 2021-08-29T04:09:06.964.422.900 (XO: 36.964426383)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 121.625 usec -> 2021-08-29T04:09:06.964.420.350 (XO: 36.964423833)

 - Block number: 4 starting at 2021-08-29T04:09:27.884.448.725 (XO: 57.884451744 - 57.884757745, t=37.2 degC)  Rank: 00076
   TM values: Max =   211  Min =  -274  Ave =    -4.51  Std =    27.75
   Min TM value:-274 at an offset of 206.113 usec -> 2021-08-29T04:09:27.884.654.838 (XO: 57.884657857)
   Max TM value:211 at an offset of 190.276 usec -> 2021-08-29T04:09:27.884.639.000 (XO: 57.884642019)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 190.126 usec -> 2021-08-29T04:09:27.884.638.850 (XO: 57.884641869)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 205.951 usec -> 2021-08-29T04:09:27.884.654.675 (XO: 57.884657694)
