-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 10 15:47:40 2021 UTC
-- File 20210710_120104_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 13.456461 to 50.346027
-each separately from 13s to 50s and from 345738us to 456750us.
   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, ...
      9.999441 in 1 packets: 18
      9.959504 in 1 packets: 36
      16.929465 in 1 packets: 54
MIU packet time from 2021-07-10T12:01:20.456.461.000 to 2021-07-10T12:01:57.346.027.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, ...
      9.999441 in 1 packets: 18
      9.959504 in 1 packets: 36
      16.929465 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 14.8441437 to 51.8440190
   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, ...
      9.9999662 in 1 packets: 18
      9.9999663 in 1 packets: 36
      16.9999428 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 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: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      05 -> 48.5 degC in 36 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: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      1 in 1 packets: 1
      2 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210710_120104_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.3006054 to 15.3008944
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9994070  -- OK for SL --
   MIU time from 2021-07-10T12:01:20.456.461.000 to 2021-07-10T12:01:20.456.750.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.999441

 - 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 25.3003014 to 25.3005904
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9594710  -- OK for SL --
   MIU time from 2021-07-10T12:01:30.456.191.000 to 2021-07-10T12:01:30.456.480.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.959504

 - 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 35.2600614 to 35.2603504
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9294070  -- OK for SL --
   MIU time from 2021-07-10T12:01:40.415.984.000 to 2021-07-10T12:01:40.416.273.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.929465

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.1897574 to 52.1900464
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-10T12:01:57.345.738.000 to 2021-07-10T12:01:57.346.027.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 = 13, 32bit 10MHz counter = 15.300605400 corrected by 40bit 10MHz counter of 14.844143700 obtained at 1Hz counter of 13. Result: 13.456463252
--
   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-10T12:01:20.456.320.725
   Max 1st sample MIU time among all SL packets: 2021-07-10T12:01:57.345.886.725
   Min 1st sample XO time among all SL packets: 13.456322976
   Max 1st sample XO time among all SL packets: 50.345888301
   TM values from -273 to 221 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-10T12:01:20.456.320.725 (XO: 13.456322976 - 13.456628978, t=37.2 degC)  Rank: 00083
   TM values: Max =   213  Min =  -224  Ave =    -4.55  Std =    19.03
   Min TM value:-224 at an offset of 114.450 usec -> 2021-07-10T12:01:20.456.435.175 (XO: 13.456437427)
   Max TM value:213 at an offset of 117.163 usec -> 2021-07-10T12:01:20.456.437.887 (XO: 13.456440139)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 116.988 usec -> 2021-07-10T12:01:20.456.437.712 (XO: 13.456439964)
   Min dTM/dt [1/us]:-1.76e+03 at an offset of 114.225 usec -> 2021-07-10T12:01:20.456.434.950 (XO: 13.456437202)

 - Block number: 2 starting at 2021-07-10T12:01:30.456.050.725 (XO: 23.456052730 - 23.456358731, t=37.2 degC)  Rank: 00079
   TM values: Max =   221  Min =  -273  Ave =    -4.53  Std =    33.00
   Min TM value:-273 at an offset of 187.776 usec -> 2021-07-10T12:01:30.456.238.500 (XO: 23.456240506)
   Max TM value:221 at an offset of 116.750 usec -> 2021-07-10T12:01:30.456.167.475 (XO: 23.456169480)
   Max dTM/dt [1/us]:1.72e+03 at an offset of 116.575 usec -> 2021-07-10T12:01:30.456.167.300 (XO: 23.456169305)
   Min dTM/dt [1/us]:-2.22e+03 at an offset of 187.663 usec -> 2021-07-10T12:01:30.456.238.388 (XO: 23.456240393)

 - Block number: 3 starting at 2021-07-10T12:01:40.415.843.725 (XO: 33.415846297 - 33.416152298, t=37.2 degC)  Rank: 00080
   TM values: Max =   219  Min =  -234  Ave =    -4.44  Std =    20.26
   Min TM value:-234 at an offset of 124.350 usec -> 2021-07-10T12:01:40.415.968.075 (XO: 33.415970648)
   Max TM value:219 at an offset of 127.000 usec -> 2021-07-10T12:01:40.415.970.725 (XO: 33.415973298)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 126.825 usec -> 2021-07-10T12:01:40.415.970.550 (XO: 33.415973123)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 124.125 usec -> 2021-07-10T12:01:40.415.967.850 (XO: 33.415970423)

 - Block number: 4 starting at 2021-07-10T12:01:57.345.597.725 (XO: 50.345599300 - 50.345905301, t=37.2 degC)  Rank: 00077
   TM values: Max =   209  Min =  -250  Ave =    -4.47  Std =    26.12
   Min TM value:-250 at an offset of 210.351 usec -> 2021-07-10T12:01:57.345.808.075 (XO: 50.345809651)
   Max TM value:209 at an offset of 210.088 usec -> 2021-07-10T12:01:57.345.807.813 (XO: 50.345809388)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 130.813 usec -> 2021-07-10T12:01:57.345.728.537 (XO: 50.345730113)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 210.201 usec -> 2021-07-10T12:01:57.345.807.925 (XO: 50.345809501)
