-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 08:59:59 2021 UTC
-- File 20210801_234813_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 8.711681 to 46.225248
-each separately from 8s to 46s and from 76766us to 730745us.
   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, ...
      7.018486 in 1 packets: 18
      20.346021 in 1 packets: 36
      10.147904 in 1 packets: 54
MIU packet time from 2021-08-01T23:48:24.711.681.000 to 2021-08-01T23:49:02.225.248.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, ...
      7.018486 in 1 packets: 18
      20.346021 in 1 packets: 36
      10.147904 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 9.8842468 to 47.8841202
   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, ...
      6.9999767 in 1 packets: 18
      20.9999300 in 1 packets: 36
      9.9999667 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210801_234813_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.5959286 to 10.5962176
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.0184630  -- OK for SL --
   MIU time from 2021-08-01T23:48:24.711.681.000 to 2021-08-01T23:48:24.711.970.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.018486

 - 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 17.6146806 to 17.6149696
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.3459510  -- OK for SL --
   MIU time from 2021-08-01T23:48:31.730.456.000 to 2021-08-01T23:48:31.730.745.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.346021

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.9609206 to 37.9612096
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.1478710  -- OK for SL --
   MIU time from 2021-08-01T23:48:52.076.766.000 to 2021-08-01T23:48:52.077.055.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.147904

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.1090806 to 48.1093696
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-01T23:49:02.224.959.000 to 2021-08-01T23:49:02.225.248.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 = 8, 32bit 10MHz counter = 10.595928600 corrected by 40bit 10MHz counter of 9.884246800 obtained at 1Hz counter of 8. Result: 8.711684149
--
   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-01T23:48:24.711.540.725
   Max 1st sample MIU time among all SL packets: 2021-08-01T23:49:02.225.107.725
   Min 1st sample XO time among all SL packets: 8.711543873
   Max 1st sample XO time among all SL packets: 46.225109868
   TM values from -244 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-01T23:48:24.711.540.725 (XO: 8.711543873 - 8.711849874, t=37.2 degC)  Rank: 00084
   TM values: Max =   222  Min =  -244  Ave =    -4.55  Std =    20.43
   Min TM value:-244 at an offset of 106.863 usec -> 2021-08-01T23:48:24.711.647.587 (XO: 8.711650736)
   Max TM value:222 at an offset of 121.575 usec -> 2021-08-01T23:48:24.711.662.300 (XO: 8.711665448)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 121.425 usec -> 2021-08-01T23:48:24.711.662.150 (XO: 8.711665298)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 106.663 usec -> 2021-08-01T23:48:24.711.647.387 (XO: 8.711650536)

 - Block number: 2 starting at 2021-08-01T23:48:31.730.315.725 (XO: 15.730319308 - 15.730625309, t=37.2 degC)  Rank: 00079
   TM values: Max =   228  Min =  -239  Ave =    -4.55  Std =    21.85
   Min TM value:-239 at an offset of 120.013 usec -> 2021-08-01T23:48:31.730.435.737 (XO: 15.730439321)
   Max TM value:228 at an offset of 122.625 usec -> 2021-08-01T23:48:31.730.438.350 (XO: 15.730441934)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 122.488 usec -> 2021-08-01T23:48:31.730.438.212 (XO: 15.730441796)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 119.800 usec -> 2021-08-01T23:48:31.730.435.525 (XO: 15.730439108)

 - Block number: 3 starting at 2021-08-01T23:48:52.076.625.725 (XO: 36.076627078 - 36.076933079, t=37.2 degC)  Rank: 00082
   TM values: Max =   224  Min =  -231  Ave =    -4.45  Std =    18.86
   Min TM value:-231 at an offset of 119.988 usec -> 2021-08-01T23:48:52.076.745.712 (XO: 36.076747066)
   Max TM value:224 at an offset of 122.700 usec -> 2021-08-01T23:48:52.076.748.425 (XO: 36.076749778)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 122.575 usec -> 2021-08-01T23:48:52.076.748.300 (XO: 36.076749653)
   Min dTM/dt [1/us]:-1.63e+03 at an offset of 119.775 usec -> 2021-08-01T23:48:52.076.745.500 (XO: 36.076746853)

 - Block number: 4 starting at 2021-08-01T23:49:02.224.818.725 (XO: 46.224820867 - 46.225126868, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -227  Ave =    -4.44  Std =    20.28
   Min TM value:-227 at an offset of 105.238 usec -> 2021-08-01T23:49:02.224.923.962 (XO: 46.224926105)
   Max TM value:216 at an offset of 107.875 usec -> 2021-08-01T23:49:02.224.926.600 (XO: 46.224928742)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 107.750 usec -> 2021-08-01T23:49:02.224.926.475 (XO: 46.224928617)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 104.988 usec -> 2021-08-01T23:49:02.224.923.712 (XO: 46.224925855)
