-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 29 08:44:41 2021 UTC
-- File 20210829_224724_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.201733 to 56.270915
-each separately from 4s to 56s and from 201733us to 778082us.
   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, ...
      18.575771 in 1 packets: 18
      14.796529 in 1 packets: 36
      18.695726 in 1 packets: 54
MIU packet time from 2021-08-29T22:47:31.201.733.000 to 2021-08-29T22:48:23.270.915.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, ...
      18.575771 in 1 packets: 18
      14.796529 in 1 packets: 36
      18.695726 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.8194969 to 57.8193242
   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, ...
      17.9999402 in 1 packets: 18
      14.9999501 in 1 packets: 36
      18.9999370 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: 
      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 20210829_224724_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 6.0212312 to 6.0215202
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.5757110  -- OK for SL --
   MIU time from 2021-08-29T22:47:31.201.733.000 to 2021-08-29T22:47:31.202.022.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.575771

 - 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 24.5972312 to 24.5975202
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7964790  -- OK for SL --
   MIU time from 2021-08-29T22:47:49.777.793.000 to 2021-08-29T22:47:49.778.082.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.796529

 - 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 39.3939992 to 39.3942882
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6956630  -- OK for SL --
   MIU time from 2021-08-29T22:48:04.574.611.000 to 2021-08-29T22:48:04.574.900.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.695726

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.0899512 to 58.0902402
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-29T22:48:23.270.626.000 to 2021-08-29T22:48:23.270.915.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.021231200 corrected by 40bit 10MHz counter of 5.819496900 obtained at 1Hz counter of 4. Result: 4.201734966
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-29T22:47:31.201.592.725
   Max 1st sample MIU time among all SL packets: 2021-08-29T22:48:23.270.774.725
   Min 1st sample XO time among all SL packets: 4.201594690
   Max 1st sample XO time among all SL packets: 56.270776619
   TM values from -261 to 210 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-29T22:47:31.201.592.725 (XO: 4.201594690 - 4.201900691, t=37.2 degC)  Rank: 00083
   TM values: Max =   197  Min =  -248  Ave =    -4.42  Std =    19.24
   Min TM value:-248 at an offset of 103.588 usec -> 2021-08-29T22:47:31.201.696.312 (XO: 4.201698278)
   Max TM value:197 at an offset of 106.175 usec -> 2021-08-29T22:47:31.201.698.900 (XO: 4.201700866)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 106.013 usec -> 2021-08-29T22:47:31.201.698.737 (XO: 4.201700703)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 103.438 usec -> 2021-08-29T22:47:31.201.696.162 (XO: 4.201698128)

 - Block number: 2 starting at 2021-08-29T22:47:49.777.652.725 (XO: 22.777656391 - 22.777962392, t=37.2 degC)  Rank: 00076
   TM values: Max =   186  Min =  -205  Ave =    -4.54  Std =    18.60
   Min TM value:-205 at an offset of 128.313 usec -> 2021-08-29T22:47:49.777.781.037 (XO: 22.777784704)
   Max TM value:186 at an offset of 130.988 usec -> 2021-08-29T22:47:49.777.783.712 (XO: 22.777787379)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 130.825 usec -> 2021-08-29T22:47:49.777.783.550 (XO: 22.777787217)
   Min dTM/dt [1/us]:-1.74e+03 at an offset of 115.525 usec -> 2021-08-29T22:47:49.777.768.250 (XO: 22.777771917)

 - Block number: 3 starting at 2021-08-29T22:48:04.574.470.725 (XO: 37.574473621 - 37.574779622, t=37.2 degC)  Rank: 00078
   TM values: Max =   210  Min =  -231  Ave =    -4.64  Std =    18.39
   Min TM value:-231 at an offset of 131.000 usec -> 2021-08-29T22:48:04.574.601.725 (XO: 37.574604621)
   Max TM value:210 at an offset of 133.613 usec -> 2021-08-29T22:48:04.574.604.337 (XO: 37.574607234)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 133.425 usec -> 2021-08-29T22:48:04.574.604.150 (XO: 37.574607046)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 130.813 usec -> 2021-08-29T22:48:04.574.601.537 (XO: 37.574604434)

 - Block number: 4 starting at 2021-08-29T22:48:23.270.485.725 (XO: 56.270487618 - 56.270793619, t=37.2 degC)  Rank: 00075
   TM values: Max =   203  Min =  -261  Ave =    -4.52  Std =    23.18
   Min TM value:-261 at an offset of 115.963 usec -> 2021-08-29T22:48:23.270.601.687 (XO: 56.270603580)
   Max TM value:203 at an offset of 118.488 usec -> 2021-08-29T22:48:23.270.604.212 (XO: 56.270606106)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 118.313 usec -> 2021-08-29T22:48:23.270.604.037 (XO: 56.270605930)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 88.625 usec -> 2021-08-29T22:48:23.270.574.350 (XO: 56.270576243)
