-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 28 18:20:09 2021 UTC
-- File 20210726_204629_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 4.407942 to 54.808927
-each separately from 4s to 54s and from 328496us to 908419us.
   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, ...
      13.499899 in 1 packets: 18
      13.420077 in 1 packets: 36
      23.479853 in 1 packets: 54
MIU packet time from 2021-07-26T20:46:36.407.942.000 to 2021-07-26T20:47:26.808.927.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, ...
      13.499899 in 1 packets: 18
      13.420077 in 1 packets: 36
      23.479853 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 5.9319476 to 55.9317803
   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, ...
      12.9999565 in 1 packets: 18
      13.9999532 in 1 packets: 36
      22.9999230 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210726_204629_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 6.3398907 to 6.3401797
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4998550  -- OK for SL --
   MIU time from 2021-07-26T20:46:36.407.942.000 to 2021-07-26T20:46:36.408.231.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.499899

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.8400347 to 19.8403237
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4200310  -- OK for SL --
   MIU time from 2021-07-26T20:46:49.908.130.000 to 2021-07-26T20:46:49.908.419.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.420077

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.2603547 to 33.2606437
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4797750  -- OK for SL --
   MIU time from 2021-07-26T20:47:03.328.496.000 to 2021-07-26T20:47:03.328.785.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.479853

 - 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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.7404187 to 56.7407077
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-26T20:47:26.808.638.000 to 2021-07-26T20:47:26.808.927.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 = 4, 32bit 10MHz counter = 6.339890700 corrected by 40bit 10MHz counter of 5.931947600 obtained at 1Hz counter of 4. Result: 4.407944446
--
   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-26T20:46:36.407.801.725
   Max 1st sample MIU time among all SL packets: 2021-07-26T20:47:26.808.786.725
   Min 1st sample XO time among all SL packets: 4.407804171
   Max 1st sample XO time among all SL packets: 54.808789794
   TM values from -280 to 240 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-26T20:46:36.407.801.725 (XO: 4.407804171 - 4.408110172, t=37.2 degC)  Rank: 00078
   TM values: Max =   218  Min =  -280  Ave =    -4.47  Std =    22.75
   Min TM value:-280 at an offset of 117.263 usec -> 2021-07-26T20:46:36.407.918.987 (XO: 4.407921434)
   Max TM value:218 at an offset of 119.925 usec -> 2021-07-26T20:46:36.407.921.650 (XO: 4.407924096)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 119.725 usec -> 2021-07-26T20:46:36.407.921.450 (XO: 4.407923896)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 117.100 usec -> 2021-07-26T20:46:36.407.918.825 (XO: 4.407921271)

 - Block number: 2 starting at 2021-07-26T20:46:49.907.989.725 (XO: 17.907993321 - 17.908299322, t=37.2 degC)  Rank: 00076
   TM values: Max =   240  Min =  -265  Ave =    -4.30  Std =    23.90
   Min TM value:-265 at an offset of 131.675 usec -> 2021-07-26T20:46:49.908.121.400 (XO: 17.908124997)
   Max TM value:240 at an offset of 131.400 usec -> 2021-07-26T20:46:49.908.121.125 (XO: 17.908124722)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 134.063 usec -> 2021-07-26T20:46:49.908.123.787 (XO: 17.908127384)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 131.525 usec -> 2021-07-26T20:46:49.908.121.250 (XO: 17.908124847)

 - Block number: 3 starting at 2021-07-26T20:47:03.328.355.725 (XO: 31.328358241 - 31.328664242, t=37.2 degC)  Rank: 00078
   TM values: Max =   191  Min =  -243  Ave =    -4.46  Std =    22.01
   Min TM value:-243 at an offset of 92.675 usec -> 2021-07-26T20:47:03.328.448.400 (XO: 31.328450917)
   Max TM value:191 at an offset of 79.913 usec -> 2021-07-26T20:47:03.328.435.637 (XO: 31.328438154)
   Max dTM/dt [1/us]:1.60e+03 at an offset of 95.188 usec -> 2021-07-26T20:47:03.328.450.912 (XO: 31.328453429)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 80.050 usec -> 2021-07-26T20:47:03.328.435.775 (XO: 31.328438292)

 - Block number: 4 starting at 2021-07-26T20:47:26.808.497.725 (XO: 54.808500793 - 54.808806794, t=37.2 degC)  Rank: 00090
   TM values: Max =   220  Min =  -277  Ave =    -4.41  Std =    22.88
   Min TM value:-277 at an offset of 129.050 usec -> 2021-07-26T20:47:26.808.626.775 (XO: 54.808629843)
   Max TM value:220 at an offset of 128.775 usec -> 2021-07-26T20:47:26.808.626.500 (XO: 54.808629568)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 131.413 usec -> 2021-07-26T20:47:26.808.629.137 (XO: 54.808632206)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 128.875 usec -> 2021-07-26T20:47:26.808.626.600 (XO: 54.808629668)
