-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Jul  7 23:12:11 2023 UTC
-- File 20230628_211704_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 12.097522 to 50.467470
-each separately from 12s to 50s and from 97522us to 527877us.
   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, ...
      5.429777 in 1 packets: 18
      13.999490 in 1 packets: 36
      18.939525 in 1 packets: 54
MIU packet time from 2023-06-28T21:17:19.097.522.000 to 2023-06-28T21:17:57.467.470.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, ...
      5.429777 in 1 packets: 18
      13.999490 in 1 packets: 36
      18.939525 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 13.8704968 to 51.8703579
   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, ...
      4.9999817 in 1 packets: 18
      13.9999489 in 1 packets: 36
      18.9999305 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 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 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      2 in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 20230628_211704_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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9680196 to 13.9683086
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.4297590  -- OK for SL --
   MIU time from 2023-06-28T21:17:19.097.522.000 to 2023-06-28T21:17:19.097.811.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.429777

 - 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 19.3980676 to 19.3983566
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9994390  -- OK for SL --
   MIU time from 2023-06-28T21:17:24.527.588.000 to 2023-06-28T21:17:24.527.877.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.999490

 - 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 33.3977956 to 33.3980846
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.9394550  -- OK for SL --
   MIU time from 2023-06-28T21:17:38.527.367.000 to 2023-06-28T21:17:38.527.656.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.939525

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.3375396 to 52.3378286
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-28T21:17:57.467.181.000 to 2023-06-28T21:17:57.467.470.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 = 12, 32bit 10MHz counter = 13.968019600 corrected by 40bit 10MHz counter of 13.870496800 obtained at 1Hz counter of 12. Result: 12.097523161
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-06-28T21:17:19.097.381.725
   Max 1st sample MIU time among all SL packets: 2023-06-28T21:17:57.467.329.725
   Min 1st sample XO time among all SL packets: 12.097382885
   Max 1st sample XO time among all SL packets: 50.467332154
   TM values from -300 to 237 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-28T21:17:19.097.381.725 (XO: 12.097382885 - 12.097688886, t=37.2 degC)  Rank: 00076
   TM values: Max =   202  Min =  -250  Ave =    -4.54  Std =    26.22
   Min TM value:-250 at an offset of 113.238 usec -> 2023-06-28T21:17:19.097.494.962 (XO: 12.097496123)
   Max TM value:202 at an offset of 118.600 usec -> 2023-06-28T21:17:19.097.500.325 (XO: 12.097501486)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 115.900 usec -> 2023-06-28T21:17:19.097.497.625 (XO: 12.097498786)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 113.075 usec -> 2023-06-28T21:17:19.097.494.800 (XO: 12.097495961)

 - Block number: 2 starting at 2023-06-28T21:17:24.527.447.725 (XO: 17.527450724 - 17.527756725, t=37.2 degC)  Rank: 00082
   TM values: Max =   222  Min =  -274  Ave =    -4.60  Std =    24.27
   Min TM value:-274 at an offset of 111.600 usec -> 2023-06-28T21:17:24.527.559.325 (XO: 17.527562324)
   Max TM value:222 at an offset of 111.325 usec -> 2023-06-28T21:17:24.527.559.050 (XO: 17.527562049)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 114.175 usec -> 2023-06-28T21:17:24.527.561.900 (XO: 17.527564899)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 111.463 usec -> 2023-06-28T21:17:24.527.559.187 (XO: 17.527562187)

 - Block number: 3 starting at 2023-06-28T21:17:38.527.226.725 (XO: 31.527229876 - 31.527535877, t=37.2 degC)  Rank: 00079
   TM values: Max =   237  Min =  -300  Ave =    -4.54  Std =    26.85
   Min TM value:-300 at an offset of 122.425 usec -> 2023-06-28T21:17:38.527.349.150 (XO: 31.527352301)
   Max TM value:237 at an offset of 109.663 usec -> 2023-06-28T21:17:38.527.336.387 (XO: 31.527339539)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 125.025 usec -> 2023-06-28T21:17:38.527.351.750 (XO: 31.527354901)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 122.300 usec -> 2023-06-28T21:17:38.527.349.025 (XO: 31.527352176)

 - Block number: 4 starting at 2023-06-28T21:17:57.467.040.725 (XO: 50.467043153 - 50.467349154, t=37.2 degC)  Rank: 00078
   TM values: Max =   215  Min =  -269  Ave =    -4.62  Std =    25.46
   Min TM value:-269 at an offset of 125.638 usec -> 2023-06-28T21:17:57.467.166.362 (XO: 50.467168791)
   Max TM value:215 at an offset of 112.725 usec -> 2023-06-28T21:17:57.467.153.450 (XO: 50.467155878)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 128.138 usec -> 2023-06-28T21:17:57.467.168.862 (XO: 50.467171291)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 125.475 usec -> 2023-06-28T21:17:57.467.166.200 (XO: 50.467168629)
