-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Nov 15 20:52:20 2021 UTC
-- File 20210716_105156_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 10.860219 to 44.140750
-each separately from 10s to 44s and from 140461us to 860508us.
   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, ...
      7.855466 in 1 packets: 18
      25.424198 in 1 packets: 36
MIU packet time from 2021-07-16T10:52:09.860.219.000 to 2021-07-16T10:52:43.140.750.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, ...
      7.855466 in 1 packets: 18
      25.424198 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 12.1117085 to 46.1115937
   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, ...
      7.9999730 in 1 packets: 18
      25.9999122 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210716_105156_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:
      143 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.9719279 to 12.9722169
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.8554390  -- OK for SL --
   MIU time from 2021-07-16T10:52:09.860.219.000 to 2021-07-16T10:52:09.860.508.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.855466

 - 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 20.8276559 to 20.8279449
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.4241110  -- OK for SL --
   MIU time from 2021-07-16T10:52:17.715.974.000 to 2021-07-16T10:52:17.716.263.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.424198

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.2520559 to 46.2523449
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-16T10:52:43.140.461.000 to 2021-07-16T10:52:43.140.750.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 = 10, 32bit 10MHz counter = 12.971927900 corrected by 40bit 10MHz counter of 12.111708500 obtained at 1Hz counter of 10. Result: 10.860222325
--
   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-07-16T10:52:09.860.078.725
   Max 1st sample MIU time among all SL packets: 2021-07-16T10:52:43.140.609.725
   Min 1st sample XO time among all SL packets: 10.860082049
   Max 1st sample XO time among all SL packets: 44.140611403
   TM values from -250 to 276 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-16T10:52:09.860.078.725 (XO: 10.860082049 - 10.860388050, t=37.2 degC)  Rank: 00143
   TM values: Max =   276  Min =  -173  Ave =    -4.48  Std =    45.14
   Min TM value:-173 at an offset of 114.525 usec -> 2021-07-16T10:52:09.860.193.250 (XO: 10.860196575)
   Max TM value:276 at an offset of 111.400 usec -> 2021-07-16T10:52:09.860.190.125 (XO: 10.860193450)
   Max dTM/dt [1/us]:9.48e+02 at an offset of 305.289 usec -> 2021-07-16T10:52:09.860.384.013 (XO: 10.860387338)
   Min dTM/dt [1/us]:-7.39e+02 at an offset of 294.826 usec -> 2021-07-16T10:52:09.860.373.551 (XO: 10.860376875)

 - Block number: 2 starting at 2021-07-16T10:52:17.715.833.725 (XO: 18.715836487 - 18.716142488, t=37.2 degC)  Rank: 00080
   TM values: Max =   197  Min =  -250  Ave =    -4.52  Std =    19.82
   Min TM value:-250 at an offset of 118.225 usec -> 2021-07-16T10:52:17.715.951.950 (XO: 18.715954713)
   Max TM value:197 at an offset of 120.888 usec -> 2021-07-16T10:52:17.715.954.612 (XO: 18.715957375)
   Max dTM/dt [1/us]:1.61e+03 at an offset of 120.638 usec -> 2021-07-16T10:52:17.715.954.362 (XO: 18.715957125)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 118.050 usec -> 2021-07-16T10:52:17.715.951.775 (XO: 18.715954538)

 - Block number: 3 starting at 2021-07-16T10:52:43.140.320.725 (XO: 44.140322402 - 44.140628403, t=37.2 degC)  Rank: 00080
   TM values: Max =   208  Min =  -242  Ave =    -4.48  Std =    28.69
   Min TM value:-242 at an offset of 180.351 usec -> 2021-07-16T10:52:43.140.501.075 (XO: 44.140502753)
   Max TM value:208 at an offset of 182.901 usec -> 2021-07-16T10:52:43.140.503.625 (XO: 44.140505303)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 182.713 usec -> 2021-07-16T10:52:43.140.503.438 (XO: 44.140505115)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 208.363 usec -> 2021-07-16T10:52:43.140.529.088 (XO: 44.140530765)
