-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 24 17:26:33 2022 UTC
-- File 20210930_120654_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 1.858315 to 52.931687
-each separately from 1s to 52s and from 492769us to 931687us.
   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, ...
      25.996262 in 1 packets: 18
      13.637614 in 1 packets: 36
      11.438340 in 1 packets: 54
MIU packet time from 2021-09-30T12:06:58.858.315.000 to 2021-09-30T12:07:49.931.687.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, ...
      25.996262 in 1 packets: 18
      13.637614 in 1 packets: 36
      11.438340 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 2.8974778 to 53.8973072
   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, ...
      25.9999130 in 1 packets: 18
      13.9999531 in 1 packets: 36
      10.9999633 in 1 packets: 54
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
      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: 
      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: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 20210930_120654_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.7557936 to 3.7560826
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.9961750  -- OK for SL --
   MIU time from 2021-09-30T12:06:58.858.315.000 to 2021-09-30T12:06:58.858.604.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.996262

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.7522576 to 29.7525466
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6375670  -- OK for SL --
   MIU time from 2021-09-30T12:07:24.854.866.000 to 2021-09-30T12:07:24.855.155.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.637614

 - 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 43.3901136 to 43.3904026
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.4383030  -- OK for SL --
   MIU time from 2021-09-30T12:07:38.492.769.000 to 2021-09-30T12:07:38.493.058.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.438340

 - 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 54.8287056 to 54.8289946
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-30T12:07:49.931.398.000 to 2021-09-30T12:07:49.931.687.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 = 1, 32bit 10MHz counter = 3.755793600 corrected by 40bit 10MHz counter of 2.897477800 obtained at 1Hz counter of 1. Result: 1.858318632
--
   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-09-30T12:06:58.858.174.725
   Max 1st sample MIU time among all SL packets: 2021-09-30T12:07:49.931.546.725
   Min 1st sample XO time among all SL packets: 1.858178357
   Max 1st sample XO time among all SL packets: 52.931550292
   TM values from -230 to 184 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-30T12:06:58.858.174.725 (XO: 1.858178357 - 1.858484358, t=37.2 degC)  Rank: 00078
   TM values: Max =   183  Min =  -230  Ave =    -4.51  Std =    19.04
   Min TM value:-230 at an offset of 112.413 usec -> 2021-09-30T12:06:58.858.287.137 (XO: 1.858290770)
   Max TM value:183 at an offset of 115.025 usec -> 2021-09-30T12:06:58.858.289.750 (XO: 1.858293382)
   Max dTM/dt [1/us]:1.71e+03 at an offset of 114.838 usec -> 2021-09-30T12:06:58.858.289.562 (XO: 1.858293195)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 112.250 usec -> 2021-09-30T12:06:58.858.286.975 (XO: 1.858290607)

 - Block number: 2 starting at 2021-09-30T12:07:24.854.725.725 (XO: 27.854729346 - 27.855035347, t=37.2 degC)  Rank: 00082
   TM values: Max =   184  Min =  -227  Ave =    -4.44  Std =    20.86
   Min TM value:-227 at an offset of 121.300 usec -> 2021-09-30T12:07:24.854.847.025 (XO: 27.854850646)
   Max TM value:184 at an offset of 123.925 usec -> 2021-09-30T12:07:24.854.849.650 (XO: 27.854853271)
   Max dTM/dt [1/us]:1.50e+03 at an offset of 123.750 usec -> 2021-09-30T12:07:24.854.849.475 (XO: 27.854853096)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 121.100 usec -> 2021-09-30T12:07:24.854.846.825 (XO: 27.854850446)

 - Block number: 3 starting at 2021-09-30T12:07:38.492.628.725 (XO: 41.492631051 - 41.492937052, t=37.2 degC)  Rank: 00079
   TM values: Max =   175  Min =  -227  Ave =    -4.52  Std =    18.72
   Min TM value:-227 at an offset of 112.288 usec -> 2021-09-30T12:07:38.492.741.012 (XO: 41.492743339)
   Max TM value:175 at an offset of 111.950 usec -> 2021-09-30T12:07:38.492.740.675 (XO: 41.492743001)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 114.650 usec -> 2021-09-30T12:07:38.492.743.375 (XO: 41.492745701)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 112.088 usec -> 2021-09-30T12:07:38.492.740.812 (XO: 41.492743139)

 - Block number: 4 starting at 2021-09-30T12:07:49.931.257.725 (XO: 52.931261291 - 52.931567292, t=37.2 degC)  Rank: 00079
   TM values: Max =   179  Min =  -226  Ave =    -4.52  Std =    17.31
   Min TM value:-226 at an offset of 122.363 usec -> 2021-09-30T12:07:49.931.380.087 (XO: 52.931383654)
   Max TM value:179 at an offset of 125.050 usec -> 2021-09-30T12:07:49.931.382.775 (XO: 52.931386342)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 124.838 usec -> 2021-09-30T12:07:49.931.382.562 (XO: 52.931386129)
   Min dTM/dt [1/us]:-1.48e+03 at an offset of 122.138 usec -> 2021-09-30T12:07:49.931.379.862 (XO: 52.931383429)
