-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jul 19 14:00:06 2021 UTC
-- File 20210625_175634_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 0.660761 to 49.037499
-each separately from 0s to 49s and from 37210us to 795310us.
   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, ...
      23.133971 in 1 packets: 18
      11.836938 in 1 packets: 36
      13.404673 in 1 packets: 54
MIU packet time from 2021-06-25T17:56:34.660.761.000 to 2021-06-25T17:57:23.037.499.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, ...
      23.133971 in 1 packets: 18
      11.836938 in 1 packets: 36
      13.404673 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 1.6923890 to 50.6922109
   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, ...
      22.9999164 in 1 packets: 18
      11.9999564 in 1 packets: 36
      13.9999491 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20210625_175634_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:
      68 in 18 packets (all packets)  -- OK --
   10 MHz counter from 2.3531502 to 2.3534392
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.1338870  -- OK for SL --
   MIU time from 2021-06-25T17:56:34.660.761.000 to 2021-06-25T17:56:34.661.050.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.133971

 - 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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 25.4873262 to 25.4876152
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.8368950  -- OK for SL --
   MIU time from 2021-06-25T17:56:57.795.021.000 to 2021-06-25T17:56:57.795.310.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.836938

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.3245102 to 37.3247992
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4046230  -- OK for SL --
   MIU time from 2021-06-25T17:57:09.632.248.000 to 2021-06-25T17:57:09.632.537.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.404673

 - 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:
      61 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.7294222 to 50.7297112
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-25T17:57:23.037.210.000 to 2021-06-25T17:57:23.037.499.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 = 0, 32bit 10MHz counter = 2.353150200 corrected by 40bit 10MHz counter of 1.692389000 obtained at 1Hz counter of 0. Result: 0.660763579
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-06-25T17:56:34.660.620.725
   Max 1st sample MIU time among all SL packets: 2021-06-25T17:57:23.037.358.725
   Min 1st sample XO time among all SL packets: 0.660623303
   Max 1st sample XO time among all SL packets: 49.037360159
   TM values from -313 to 297 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-25T17:56:34.660.620.725 (XO: 0.660623303 - 0.660929304, t=35.6 degC)  Rank: 00068
   TM values: Max =   221  Min =  -233  Ave =    -4.46  Std =    79.95
   Min TM value:-233 at an offset of 146.001 usec -> 2021-06-25T17:56:34.660.766.725 (XO: 0.660769304)
   Max TM value:221 at an offset of 176.013 usec -> 2021-06-25T17:56:34.660.796.738 (XO: 0.660799316)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 0.000 usec -> 2021-06-25T17:56:34.660.620.725 (XO: 0.660623303)
   Min dTM/dt [1/us]:-1.11e+03 at an offset of 169.226 usec -> 2021-06-25T17:56:34.660.789.950 (XO: 0.660792529)

 - Block number: 2 starting at 2021-06-25T17:56:57.794.880.725 (XO: 23.794883387 - 23.795189388, t=35.6 degC)  Rank: 00066
   TM values: Max =   237  Min =  -217  Ave =    -4.56  Std =    67.03
   Min TM value:-217 at an offset of 183.313 usec -> 2021-06-25T17:56:57.795.064.038 (XO: 23.795066700)
   Max TM value:237 at an offset of 132.100 usec -> 2021-06-25T17:56:57.795.012.825 (XO: 23.795015487)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 133.813 usec -> 2021-06-25T17:56:57.795.014.537 (XO: 23.795017200)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 177.001 usec -> 2021-06-25T17:56:57.795.057.725 (XO: 23.795060387)

 - Block number: 3 starting at 2021-06-25T17:57:09.632.107.725 (XO: 35.632110464 - 35.632416465, t=35.6 degC)  Rank: 00070
   TM values: Max =   289  Min =  -267  Ave =    -4.55  Std =    76.95
   Min TM value:-267 at an offset of 119.888 usec -> 2021-06-25T17:57:09.632.227.612 (XO: 35.632230352)
   Max TM value:289 at an offset of 146.976 usec -> 2021-06-25T17:57:09.632.254.700 (XO: 35.632257439)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 148.688 usec -> 2021-06-25T17:57:09.632.256.413 (XO: 35.632259152)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 148.201 usec -> 2021-06-25T17:57:09.632.255.925 (XO: 35.632258664)

 - Block number: 4 starting at 2021-06-25T17:57:23.037.069.725 (XO: 49.037071158 - 49.037377160, t=35.6 degC)  Rank: 00061
   TM values: Max =   297  Min =  -313  Ave =    -4.51  Std =    94.95
   Min TM value:-313 at an offset of 89.425 usec -> 2021-06-25T17:57:23.037.159.150 (XO: 49.037160584)
   Max TM value:297 at an offset of 113.063 usec -> 2021-06-25T17:57:23.037.182.787 (XO: 49.037184221)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 113.138 usec -> 2021-06-25T17:57:23.037.182.862 (XO: 49.037184296)
   Min dTM/dt [1/us]:-1.89e+03 at an offset of 94.913 usec -> 2021-06-25T17:57:23.037.164.637 (XO: 49.037166071)
