-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 12:06:56 2022 UTC
-- File 20210902_183145_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.665556 to 50.356249
-each separately from 1s to 50s and from 115897us to 826034us.
   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.159900 in 1 packets: 18
      16.289863 in 1 packets: 36
      14.239774 in 1 packets: 54
MIU packet time from 2021-09-02T18:31:49.665.556.000 to 2021-09-02T18:32:38.356.249.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.159900 in 1 packets: 18
      16.289863 in 1 packets: 36
      14.239774 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.9055367 to 51.9053732
   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.9999399 in 1 packets: 18
      16.9999433 in 1 packets: 36
      13.9999533 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: 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210902_183145_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.5710939 to 3.5713829
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.1598390  -- OK for SL --
   MIU time from 2021-09-02T18:31:49.665.556.000 to 2021-09-02T18:31:49.665.845.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.159900

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.7312219 to 21.7315109
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2898070  -- OK for SL --
   MIU time from 2021-09-02T18:32:07.825.745.000 to 2021-09-02T18:32:07.826.034.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.289863

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.0213179 to 38.0216069
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2397270  -- OK for SL --
   MIU time from 2021-09-02T18:32:24.115.897.000 to 2021-09-02T18:32:24.116.186.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.239774

 - 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 52.2613339 to 52.2616229
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T18:32:38.355.960.000 to 2021-09-02T18:32:38.356.249.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.571093900 corrected by 40bit 10MHz counter of 2.905536700 obtained at 1Hz counter of 1. Result: 1.665559396
--
   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-02T18:31:49.665.415.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T18:32:38.356.108.725
   Min 1st sample XO time among all SL packets: 1.665419121
   Max 1st sample XO time among all SL packets: 50.356110600
   TM values from -290 to 294 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T18:31:49.665.415.725 (XO: 1.665419121 - 1.665725122, t=37.2 degC)  Rank: 00079
   TM values: Max =   255  Min =  -255  Ave =    -4.52  Std =    30.57
   Min TM value:-255 at an offset of 117.425 usec -> 2021-09-02T18:31:49.665.533.150 (XO: 1.665536546)
   Max TM value:255 at an offset of 120.038 usec -> 2021-09-02T18:31:49.665.535.762 (XO: 1.665539159)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 186.826 usec -> 2021-09-02T18:31:49.665.602.550 (XO: 1.665605946)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 117.288 usec -> 2021-09-02T18:31:49.665.533.012 (XO: 1.665536409)

 - Block number: 2 starting at 2021-09-02T18:32:07.825.604.725 (XO: 19.825607832 - 19.825913833, t=37.2 degC)  Rank: 00077
   TM values: Max =   294  Min =  -266  Ave =    -4.46  Std =    24.66
   Min TM value:-266 at an offset of 83.363 usec -> 2021-09-02T18:32:07.825.688.087 (XO: 19.825691195)
   Max TM value:294 at an offset of 81.163 usec -> 2021-09-02T18:32:07.825.685.887 (XO: 19.825688995)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 81.063 usec -> 2021-09-02T18:32:07.825.685.787 (XO: 19.825688895)
   Min dTM/dt [1/us]:-2.70e+03 at an offset of 83.175 usec -> 2021-09-02T18:32:07.825.687.900 (XO: 19.825691007)

 - Block number: 3 starting at 2021-09-02T18:32:24.115.756.725 (XO: 36.115758119 - 36.116064120, t=37.2 degC)  Rank: 00086
   TM values: Max =   246  Min =  -290  Ave =    -4.44  Std =    29.73
   Min TM value:-290 at an offset of 175.788 usec -> 2021-09-02T18:32:24.115.932.513 (XO: 36.115933907)
   Max TM value:246 at an offset of 119.238 usec -> 2021-09-02T18:32:24.115.875.962 (XO: 36.115877356)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 119.013 usec -> 2021-09-02T18:32:24.115.875.737 (XO: 36.115877131)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 162.076 usec -> 2021-09-02T18:32:24.115.918.800 (XO: 36.115920194)

 - Block number: 4 starting at 2021-09-02T18:32:38.355.819.725 (XO: 50.355821599 - 50.356127600, t=37.2 degC)  Rank: 00079
   TM values: Max =   245  Min =  -275  Ave =    -4.43  Std =    28.38
   Min TM value:-275 at an offset of 118.200 usec -> 2021-09-02T18:32:38.355.937.925 (XO: 50.355939800)
   Max TM value:245 at an offset of 120.888 usec -> 2021-09-02T18:32:38.355.940.612 (XO: 50.355942487)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 120.675 usec -> 2021-09-02T18:32:38.355.940.400 (XO: 50.355942275)
   Min dTM/dt [1/us]:-2.72e+03 at an offset of 118.075 usec -> 2021-09-02T18:32:38.355.937.800 (XO: 50.355939675)
