-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Aug  1 04:59:29 2021 UTC
-- File 20210630_213930_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 14.060728 to 50.260296
-each separately from 14s to 50s and from 60728us to 780785us.
   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, ...
      11.719479 in 1 packets: 18
      4.999552 in 1 packets: 36
      19.479381 in 1 packets: 54
MIU packet time from 2021-06-30T21:39:43.060.728.000 to 2021-06-30T21:40:19.260.296.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, ...
      11.719479 in 1 packets: 18
      4.999552 in 1 packets: 36
      19.479381 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 15.8969451 to 51.8968177
   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, ...
      10.9999611 in 1 packets: 18
      4.9999823 in 1 packets: 36
      19.9999292 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, ...
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210630_213930_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9576739 to 15.9579629
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7194390  -- OK for SL --
   MIU time from 2021-06-30T21:39:43.060.728.000 to 2021-06-30T21:39:43.061.017.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.719479

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.6774019 to 27.6776909
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.9995350  -- OK for SL --
   MIU time from 2021-06-30T21:39:54.780.496.000 to 2021-06-30T21:39:54.780.785.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.999552

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.6772259 to 32.6775149
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4793110  -- OK for SL --
   MIU time from 2021-06-30T21:39:59.780.337.000 to 2021-06-30T21:39:59.780.626.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.479381

 - 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 52.1568259 to 52.1571149
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-30T21:40:19.260.007.000 to 2021-06-30T21:40:19.260.296.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 = 14, 32bit 10MHz counter = 15.957673900 corrected by 40bit 10MHz counter of 15.896945100 obtained at 1Hz counter of 14. Result: 14.060729013
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-06-30T21:39:43.060.587.725
   Max 1st sample MIU time among all SL packets: 2021-06-30T21:40:19.260.155.725
   Min 1st sample XO time among all SL packets: 14.060588737
   Max 1st sample XO time among all SL packets: 50.260157836
   TM values from -289 to 248 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-30T21:39:43.060.587.725 (XO: 14.060588737 - 14.060894738, t=35.6 degC)  Rank: 00081
   TM values: Max =   212  Min =  -242  Ave =    -4.47  Std =    21.35
   Min TM value:-242 at an offset of 105.413 usec -> 2021-06-30T21:39:43.060.693.137 (XO: 14.060694150)
   Max TM value:212 at an offset of 108.150 usec -> 2021-06-30T21:39:43.060.695.875 (XO: 14.060696887)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 107.975 usec -> 2021-06-30T21:39:43.060.695.700 (XO: 14.060696712)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 105.188 usec -> 2021-06-30T21:39:43.060.692.912 (XO: 14.060693925)

 - Block number: 2 starting at 2021-06-30T21:39:54.780.355.725 (XO: 25.780358156 - 25.780664157, t=35.6 degC)  Rank: 00081
   TM values: Max =   248  Min =  -259  Ave =    -4.38  Std =    23.40
   Min TM value:-259 at an offset of 91.275 usec -> 2021-06-30T21:39:54.780.447.000 (XO: 25.780449432)
   Max TM value:248 at an offset of 106.763 usec -> 2021-06-30T21:39:54.780.462.487 (XO: 25.780464919)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 106.638 usec -> 2021-06-30T21:39:54.780.462.362 (XO: 25.780464794)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 103.888 usec -> 2021-06-30T21:39:54.780.459.612 (XO: 25.780462044)

 - Block number: 3 starting at 2021-06-30T21:39:59.780.196.725 (XO: 30.780199856 - 30.780505857, t=35.6 degC)  Rank: 00071
   TM values: Max =   218  Min =  -280  Ave =    -4.41  Std =    29.70
   Min TM value:-280 at an offset of 120.125 usec -> 2021-06-30T21:39:59.780.316.850 (XO: 30.780319981)
   Max TM value:218 at an offset of 122.788 usec -> 2021-06-30T21:39:59.780.319.512 (XO: 30.780322644)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 192.988 usec -> 2021-06-30T21:39:59.780.389.713 (XO: 30.780392844)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 181.313 usec -> 2021-06-30T21:39:59.780.378.038 (XO: 30.780381169)

 - Block number: 4 starting at 2021-06-30T21:40:19.259.866.725 (XO: 50.259868835 - 50.260174836, t=35.6 degC)  Rank: 00079
   TM values: Max =   224  Min =  -289  Ave =    -4.45  Std =    21.54
   Min TM value:-289 at an offset of 119.138 usec -> 2021-06-30T21:40:19.259.985.862 (XO: 50.259987972)
   Max TM value:224 at an offset of 120.013 usec -> 2021-06-30T21:40:19.259.986.737 (XO: 50.259988847)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 121.663 usec -> 2021-06-30T21:40:19.259.988.387 (XO: 50.259990497)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 118.975 usec -> 2021-06-30T21:40:19.259.985.700 (XO: 50.259987810)
