-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 24 00:47:00 2021 UTC
-- File 20210722_162710_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 9.416041 to 32.167159
-each separately from 9s to 32s and from 166870us to 817069us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.400450 in 1 packets: 18
      2.349801 in 1 packets: 36
MIU packet time from 2021-07-22T16:27:22.416.041.000 to 2021-07-22T16:27:45.167.159.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      20.400450 in 1 packets: 18
      2.349801 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 10.8509152 to 33.8508381
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      19.9999329 in 1 packets: 18
      2.9999900 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 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 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 17 packets: 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 18 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210722_162710_1227.dat, 3 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.2669567 to 11.2672457
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4003830  -- OK for SL --
   MIU time from 2021-07-22T16:27:22.416.041.000 to 2021-07-22T16:27:22.416.330.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.400450

 - 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 31.6676287 to 31.6679177
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.3497910  -- OK for SL --
   MIU time from 2021-07-22T16:27:42.816.780.000 to 2021-07-22T16:27:42.817.069.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.349801

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.0177087 to 34.0179977
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-22T16:27:45.166.870.000 to 2021-07-22T16:27:45.167.159.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 9, 32bit 10MHz counter = 11.266956700 corrected by 40bit 10MHz counter of 10.850915200 obtained at 1Hz counter of 9. Result: 9.416042873
--
   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-22T16:27:22.415.900.725
   Max 1st sample MIU time among all SL packets: 2021-07-22T16:27:45.167.018.725
   Min 1st sample XO time among all SL packets: 9.415902597
   Max 1st sample XO time among all SL packets: 32.167019893
   TM values from -275 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-22T16:27:22.415.900.725 (XO: 9.415902597 - 9.416208598, t=37.2 degC)  Rank: 00075
   TM values: Max =   224  Min =  -266  Ave =    -4.36  Std =    22.95
   Min TM value:-266 at an offset of 107.538 usec -> 2021-07-22T16:27:22.416.008.262 (XO: 9.416010135)
   Max TM value:224 at an offset of 123.150 usec -> 2021-07-22T16:27:22.416.023.875 (XO: 9.416025748)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 122.975 usec -> 2021-07-22T16:27:22.416.023.700 (XO: 9.416025573)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 107.400 usec -> 2021-07-22T16:27:22.416.008.125 (XO: 9.416009998)

 - Block number: 2 starting at 2021-07-22T16:27:42.816.639.725 (XO: 29.816643020 - 29.816949021, t=37.2 degC)  Rank: 00082
   TM values: Max =   224  Min =  -261  Ave =    -4.29  Std =    24.59
   Min TM value:-261 at an offset of 121.825 usec -> 2021-07-22T16:27:42.816.761.550 (XO: 29.816764845)
   Max TM value:224 at an offset of 121.525 usec -> 2021-07-22T16:27:42.816.761.250 (XO: 29.816764545)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 178.513 usec -> 2021-07-22T16:27:42.816.818.238 (XO: 29.816821533)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 121.650 usec -> 2021-07-22T16:27:42.816.761.375 (XO: 29.816764670)

 - Block number: 3 starting at 2021-07-22T16:27:45.166.729.725 (XO: 32.166730892 - 32.167036893, t=37.2 degC)  Rank: 00084
   TM values: Max =   237  Min =  -275  Ave =    -4.37  Std =    31.96
   Min TM value:-275 at an offset of 178.038 usec -> 2021-07-22T16:27:45.166.907.763 (XO: 32.166908930)
   Max TM value:237 at an offset of 121.488 usec -> 2021-07-22T16:27:45.166.851.212 (XO: 32.166852380)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 124.138 usec -> 2021-07-22T16:27:45.166.853.862 (XO: 32.166855030)
   Min dTM/dt [1/us]:-2.64e+03 at an offset of 121.600 usec -> 2021-07-22T16:27:45.166.851.325 (XO: 32.166852492)
