-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 26 09:34:05 2021 UTC
-- File 20210827_034938_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.590059 to 51.881687
-each separately from 4s to 51s and from 250793us to 881687us.
   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, ...
      18.660445 in 1 packets: 18
      10.440177 in 1 packets: 36
      18.189850 in 1 packets: 54
MIU packet time from 2021-08-27T03:49:45.590.059.000 to 2021-08-27T03:50:32.881.687.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, ...
      18.660445 in 1 packets: 18
      10.440177 in 1 packets: 36
      18.189850 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.8817884 to 52.8816332
   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, ...
      18.9999373 in 1 packets: 18
      9.9999669 in 1 packets: 36
      17.9999406 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 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 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 20210827_034938_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.4718481 to 6.4721371
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6603830  -- OK for SL --
   MIU time from 2021-08-27T03:49:45.590.059.000 to 2021-08-27T03:49:45.590.348.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.660445

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.1325201 to 25.1328091
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.4401430  -- OK for SL --
   MIU time from 2021-08-27T03:50:04.250.793.000 to 2021-08-27T03:50:04.251.082.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.440177

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.5729521 to 35.5732411
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1897910  -- OK for SL --
   MIU time from 2021-08-27T03:50:14.691.259.000 to 2021-08-27T03:50:14.691.548.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.189850

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.7630321 to 53.7633211
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-27T03:50:32.881.398.000 to 2021-08-27T03:50:32.881.687.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.471848100 corrected by 40bit 10MHz counter of 5.881788400 obtained at 1Hz counter of 4. Result: 4.590061706
--
   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-27T03:49:45.589.918.725
   Max 1st sample MIU time among all SL packets: 2021-08-27T03:50:32.881.546.725
   Min 1st sample XO time among all SL packets: 4.589921431
   Max 1st sample XO time among all SL packets: 51.881550534
   TM values from -266 to 225 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-27T03:49:45.589.918.725 (XO: 4.589921431 - 4.590227432, t=37.2 degC)  Rank: 00082
   TM values: Max =   225  Min =  -266  Ave =    -4.58  Std =    26.77
   Min TM value:-266 at an offset of 124.438 usec -> 2021-08-27T03:49:45.590.043.162 (XO: 4.590045869)
   Max TM value:225 at an offset of 124.200 usec -> 2021-08-27T03:49:45.590.042.925 (XO: 4.590045631)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 126.850 usec -> 2021-08-27T03:49:45.590.045.575 (XO: 4.590048281)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 124.325 usec -> 2021-08-27T03:49:45.590.043.050 (XO: 4.590045756)

 - Block number: 2 starting at 2021-08-27T03:50:04.250.652.725 (XO: 23.250654977 - 23.250960978, t=37.2 degC)  Rank: 00080
   TM values: Max =   215  Min =  -259  Ave =    -4.42  Std =    28.68
   Min TM value:-259 at an offset of 156.863 usec -> 2021-08-27T03:50:04.250.809.588 (XO: 23.250811840)
   Max TM value:215 at an offset of 172.076 usec -> 2021-08-27T03:50:04.250.824.800 (XO: 23.250827053)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 129.900 usec -> 2021-08-27T03:50:04.250.782.625 (XO: 23.250784878)
   Min dTM/dt [1/us]:-2.54e+03 at an offset of 127.350 usec -> 2021-08-27T03:50:04.250.780.075 (XO: 23.250782328)

 - Block number: 3 starting at 2021-08-27T03:50:14.691.118.725 (XO: 33.691121506 - 33.691427507, t=37.2 degC)  Rank: 00077
   TM values: Max =   209  Min =  -260  Ave =    -4.64  Std =    23.54
   Min TM value:-260 at an offset of 129.750 usec -> 2021-08-27T03:50:14.691.248.475 (XO: 33.691251256)
   Max TM value:209 at an offset of 130.000 usec -> 2021-08-27T03:50:14.691.248.725 (XO: 33.691251506)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 129.850 usec -> 2021-08-27T03:50:14.691.248.575 (XO: 33.691251356)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 127.325 usec -> 2021-08-27T03:50:14.691.246.050 (XO: 33.691248831)

 - Block number: 4 starting at 2021-08-27T03:50:32.881.257.725 (XO: 51.881261533 - 51.881567534, t=37.2 degC)  Rank: 00084
   TM values: Max =   217  Min =  -244  Ave =    -4.58  Std =    18.34
   Min TM value:-244 at an offset of 111.663 usec -> 2021-08-27T03:50:32.881.369.387 (XO: 51.881373196)
   Max TM value:217 at an offset of 114.250 usec -> 2021-08-27T03:50:32.881.371.975 (XO: 51.881375784)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 114.063 usec -> 2021-08-27T03:50:32.881.371.787 (XO: 51.881375596)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 111.488 usec -> 2021-08-27T03:50:32.881.369.212 (XO: 51.881373021)
