-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec 17 04:37:21 2021 UTC
-- File 20210815_074929_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.999493 to 55.734129
-each separately from 4s to 55s and from 526157us to 999782us.
   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, ...
      19.937538 in 1 packets: 18
      10.588548 in 1 packets: 36
      20.207394 in 1 packets: 54
MIU packet time from 2021-08-15T07:49:36.999.493.000 to 2021-08-15T07:50:27.734.129.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, ...
      19.937538 in 1 packets: 18
      10.588548 in 1 packets: 36
      20.207394 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.9035248 to 56.9033542
   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, ...
      19.9999331 in 2 packets: 18, 54
      10.9999632 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210815_074929_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.9030188 to 6.9033078
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.9374710  -- OK for SL --
   MIU time from 2021-08-15T07:49:36.999.493.000 to 2021-08-15T07:49:36.999.782.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.937538

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.8407788 to 26.8410678
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5885110  -- OK for SL --
   MIU time from 2021-08-15T07:49:56.937.320.000 to 2021-08-15T07:49:56.937.609.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.588548

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.4295788 to 37.4298678
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2073270  -- OK for SL --
   MIU time from 2021-08-15T07:50:07.526.157.000 to 2021-08-15T07:50:07.526.446.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.207394

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.6371948 to 57.6374838
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-15T07:50:27.733.840.000 to 2021-08-15T07:50:27.734.129.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.903018800 corrected by 40bit 10MHz counter of 5.903524800 obtained at 1Hz counter of 4. Result: 4.999497398
--
   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-08-15T07:49:36.999.352.725
   Max 1st sample MIU time among all SL packets: 2021-08-15T07:50:27.733.988.725
   Min 1st sample XO time among all SL packets: 4.999357123
   Max 1st sample XO time among all SL packets: 55.733991747
   TM values from -287 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-15T07:49:36.999.352.725 (XO: 4.999357123 - 4.999663124, t=37.2 degC)  Rank: 00082
   TM values: Max =   222  Min =  -247  Ave =    -4.46  Std =    23.87
   Min TM value:-247 at an offset of 111.750 usec -> 2021-08-15T07:49:36.999.464.475 (XO: 4.999468873)
   Max TM value:222 at an offset of 111.450 usec -> 2021-08-15T07:49:36.999.464.175 (XO: 4.999468573)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 114.163 usec -> 2021-08-15T07:49:36.999.466.887 (XO: 4.999471286)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 111.563 usec -> 2021-08-15T07:49:36.999.464.287 (XO: 4.999468686)

 - Block number: 2 starting at 2021-08-15T07:49:56.937.179.725 (XO: 24.937183811 - 24.937489812, t=37.2 degC)  Rank: 00084
   TM values: Max =   223  Min =  -287  Ave =    -4.46  Std =    32.09
   Min TM value:-287 at an offset of 167.601 usec -> 2021-08-15T07:49:56.937.347.325 (XO: 24.937351412)
   Max TM value:223 at an offset of 126.338 usec -> 2021-08-15T07:49:56.937.306.062 (XO: 24.937310149)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 126.163 usec -> 2021-08-15T07:49:56.937.305.887 (XO: 24.937309974)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 123.575 usec -> 2021-08-15T07:49:56.937.303.300 (XO: 24.937307387)

 - Block number: 3 starting at 2021-08-15T07:50:07.526.016.725 (XO: 35.526019213 - 35.526325215, t=37.2 degC)  Rank: 00074
   TM values: Max =   222  Min =  -254  Ave =    -4.50  Std =    28.73
   Min TM value:-254 at an offset of 155.788 usec -> 2021-08-15T07:50:07.526.172.513 (XO: 35.526175001)
   Max TM value:222 at an offset of 127.888 usec -> 2021-08-15T07:50:07.526.144.612 (XO: 35.526147101)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 180.401 usec -> 2021-08-15T07:50:07.526.197.125 (XO: 35.526199614)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 155.601 usec -> 2021-08-15T07:50:07.526.172.325 (XO: 35.526174814)

 - Block number: 4 starting at 2021-08-15T07:50:27.733.699.725 (XO: 55.733702746 - 55.734008747, t=37.2 degC)  Rank: 00080
   TM values: Max =   228  Min =  -240  Ave =    -4.52  Std =    26.37
   Min TM value:-240 at an offset of 124.525 usec -> 2021-08-15T07:50:27.733.824.250 (XO: 55.733827272)
   Max TM value:228 at an offset of 127.125 usec -> 2021-08-15T07:50:27.733.826.850 (XO: 55.733829872)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 127.000 usec -> 2021-08-15T07:50:27.733.826.725 (XO: 55.733829747)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 124.288 usec -> 2021-08-15T07:50:27.733.824.012 (XO: 55.733827034)
