-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 17:31:52 2021 UTC
-- File 20210702_231715_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.004046 to 35.514938
-each separately from 10s to 35s and from 4046us to 514938us.
   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, ...
      15.170117 in 1 packets: 18
      10.339908 in 1 packets: 36
MIU packet time from 2021-07-02T23:17:24.004.046.000 to 2021-07-02T23:17:49.514.938.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, ...
      15.170117 in 1 packets: 18
      10.339908 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 11.4403582 to 36.4402685
   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, ...
      14.9999462 in 1 packets: 18
      9.9999641 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 36 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: 
      C0 -> 35.6 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: 
      1 in 18 packets: 1, 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, ...
Number of generated alerts: 
      1 in 18 packets: 1, 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 20210702_231715_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.4444055 to 11.4446945
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1700630  -- OK for SL --
   MIU time from 2021-07-02T23:17:24.004.046.000 to 2021-07-02T23:17:24.004.335.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.170117

 - 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 26.6147575 to 26.6150465
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.3398710  -- OK for SL --
   MIU time from 2021-07-02T23:17:39.174.452.000 to 2021-07-02T23:17:39.174.741.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.339908

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.9549175 to 36.9552065
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T23:17:49.514.649.000 to 2021-07-02T23:17:49.514.938.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 = 11.444405500 corrected by 40bit 10MHz counter of 11.440358200 obtained at 1Hz counter of 10. Result: 10.004047314
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-02T23:17:24.003.905.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T23:17:49.514.797.725
   Min 1st sample XO time among all SL packets: 10.003907039
   Max 1st sample XO time among all SL packets: 35.514799578
   TM values from -261 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T23:17:24.003.905.725 (XO: 10.003907039 - 10.004213040, t=35.6 degC)  Rank: 00085
   TM values: Max =   231  Min =  -261  Ave =    -4.63  Std =    20.79
   Min TM value:-261 at an offset of 42.238 usec -> 2021-07-02T23:17:24.003.947.962 (XO: 10.003949276)
   Max TM value:231 at an offset of 44.913 usec -> 2021-07-02T23:17:24.003.950.637 (XO: 10.003951951)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 44.775 usec -> 2021-07-02T23:17:24.003.950.500 (XO: 10.003951814)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 42.100 usec -> 2021-07-02T23:17:24.003.947.825 (XO: 10.003949139)

 - Block number: 2 starting at 2021-07-02T23:17:39.174.311.725 (XO: 25.174313453 - 25.174619454, t=35.6 degC)  Rank: 00079
   TM values: Max =   229  Min =  -255  Ave =    -4.55  Std =    21.62
   Min TM value:-255 at an offset of 104.363 usec -> 2021-07-02T23:17:39.174.416.087 (XO: 25.174417815)
   Max TM value:229 at an offset of 104.050 usec -> 2021-07-02T23:17:39.174.415.775 (XO: 25.174417503)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 106.763 usec -> 2021-07-02T23:17:39.174.418.487 (XO: 25.174420215)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 104.175 usec -> 2021-07-02T23:17:39.174.415.900 (XO: 25.174417628)

 - Block number: 3 starting at 2021-07-02T23:17:49.514.508.725 (XO: 35.514510577 - 35.514816578, t=35.6 degC)  Rank: 00079
   TM values: Max =   204  Min =  -258  Ave =    -4.62  Std =    25.54
   Min TM value:-258 at an offset of 125.600 usec -> 2021-07-02T23:17:49.514.634.325 (XO: 35.514636178)
   Max TM value:204 at an offset of 128.200 usec -> 2021-07-02T23:17:49.514.636.925 (XO: 35.514638778)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 128.000 usec -> 2021-07-02T23:17:49.514.636.725 (XO: 35.514638578)
   Min dTM/dt [1/us]:-1.71e+03 at an offset of 125.400 usec -> 2021-07-02T23:17:49.514.634.125 (XO: 35.514635978)
