-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov 19 03:42:50 2021 UTC
-- File 20210720_080505_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.228276 to 52.151167
-each separately from 1s to 52s and from 150878us to 472715us.
   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, ...
      24.966034 in 1 packets: 18
      15.277538 in 1 packets: 36
      10.678163 in 1 packets: 54
MIU packet time from 2021-07-20T08:05:09.228.276.000 to 2021-07-20T08:06:00.151.167.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, ...
      24.966034 in 1 packets: 18
      15.277538 in 1 packets: 36
      10.678163 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.8548289 to 53.8546581
   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, ...
      24.9999163 in 1 packets: 18
      14.9999497 in 1 packets: 36
      10.9999632 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 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: 
      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 20210720_080505_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.0831055 to 3.0833945
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.9659510  -- OK for SL --
   MIU time from 2021-07-20T08:05:09.228.276.000 to 2021-07-20T08:05:09.228.565.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.966034

 - 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 28.0493455 to 28.0496345
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2774870  -- OK for SL --
   MIU time from 2021-07-20T08:05:34.194.599.000 to 2021-07-20T08:05:34.194.888.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.277538

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.3271215 to 43.3274105
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.6781270  -- OK for SL --
   MIU time from 2021-07-20T08:05:49.472.426.000 to 2021-07-20T08:05:49.472.715.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.678163

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.0055375 to 54.0058265
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-20T08:06:00.150.878.000 to 2021-07-20T08:06:00.151.167.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.083105500 corrected by 40bit 10MHz counter of 2.854828900 obtained at 1Hz counter of 1. Result: 1.228277353
--
   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-20T08:05:09.228.135.725
   Max 1st sample MIU time among all SL packets: 2021-07-20T08:06:00.151.026.725
   Min 1st sample XO time among all SL packets: 1.228137078
   Max 1st sample XO time among all SL packets: 52.151028638
   TM values from -253 to 216 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-20T08:05:09.228.135.725 (XO: 1.228137078 - 1.228443079, t=37.2 degC)  Rank: 00077
   TM values: Max =   216  Min =  -243  Ave =    -4.47  Std =    24.01
   Min TM value:-243 at an offset of 101.025 usec -> 2021-07-20T08:05:09.228.236.750 (XO: 1.228238103)
   Max TM value:216 at an offset of 128.363 usec -> 2021-07-20T08:05:09.228.264.087 (XO: 1.228265441)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 131.025 usec -> 2021-07-20T08:05:09.228.266.750 (XO: 1.228268103)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 100.850 usec -> 2021-07-20T08:05:09.228.236.575 (XO: 1.228237928)

 - Block number: 2 starting at 2021-07-20T08:05:34.194.458.725 (XO: 26.194460686 - 26.194766687, t=37.2 degC)  Rank: 00076
   TM values: Max =   209  Min =  -253  Ave =    -4.51  Std =    20.84
   Min TM value:-253 at an offset of 129.125 usec -> 2021-07-20T08:05:34.194.587.850 (XO: 26.194589812)
   Max TM value:209 at an offset of 128.825 usec -> 2021-07-20T08:05:34.194.587.550 (XO: 26.194589512)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 131.475 usec -> 2021-07-20T08:05:34.194.590.200 (XO: 26.194592162)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 128.925 usec -> 2021-07-20T08:05:34.194.587.650 (XO: 26.194589612)

 - Block number: 3 starting at 2021-07-20T08:05:49.472.285.725 (XO: 41.472287931 - 41.472593932, t=37.2 degC)  Rank: 00077
   TM values: Max =   208  Min =  -233  Ave =    -4.47  Std =    18.91
   Min TM value:-233 at an offset of 126.000 usec -> 2021-07-20T08:05:49.472.411.725 (XO: 41.472413931)
   Max TM value:208 at an offset of 128.713 usec -> 2021-07-20T08:05:49.472.414.437 (XO: 41.472416644)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 128.525 usec -> 2021-07-20T08:05:49.472.414.250 (XO: 41.472416456)
   Min dTM/dt [1/us]:-1.87e+03 at an offset of 125.825 usec -> 2021-07-20T08:05:49.472.411.550 (XO: 41.472413756)

 - Block number: 4 starting at 2021-07-20T08:06:00.150.737.725 (XO: 52.150739638 - 52.151045639, t=37.2 degC)  Rank: 00083
   TM values: Max =   191  Min =  -220  Ave =    -4.56  Std =    19.26
   Min TM value:-220 at an offset of 100.600 usec -> 2021-07-20T08:06:00.150.838.325 (XO: 52.150840238)
   Max TM value:191 at an offset of 115.838 usec -> 2021-07-20T08:06:00.150.853.562 (XO: 52.150855475)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 115.675 usec -> 2021-07-20T08:06:00.150.853.400 (XO: 52.150855313)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 112.938 usec -> 2021-07-20T08:06:00.150.850.662 (XO: 52.150852575)
