-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 20:48:28 2021 UTC
-- File 20210703_100342_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 13.042409 to 48.013081
-each separately from 13s to 48s and from 12792us to 752902us.
   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, ...
      12.709915 in 1 packets: 18
      15.799785 in 1 packets: 36
      6.459816 in 1 packets: 54
MIU packet time from 2021-07-03T10:03:54.042.409.000 to 2021-07-03T10:04:29.013.081.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, ...
      12.709915 in 1 packets: 18
      15.799785 in 1 packets: 36
      6.459816 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 14.7463218 to 49.7461947
   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, ...
      11.9999565 in 1 packets: 18
      15.9999419 in 1 packets: 36
      6.9999745 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C0 -> 35.6 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20210703_100342_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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.7887318 to 14.7890208
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7098710  -- OK for SL --
   MIU time from 2021-07-03T10:03:54.042.409.000 to 2021-07-03T10:03:54.042.698.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.709915

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.4988918 to 27.4991808
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7997270  -- OK for SL --
   MIU time from 2021-07-03T10:04:06.752.613.000 to 2021-07-03T10:04:06.752.902.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.799785

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.2989078 to 43.2991968
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.4597910  -- OK for SL --
   MIU time from 2021-07-03T10:04:22.552.687.000 to 2021-07-03T10:04:22.552.976.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.459816

 - 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 49.7589878 to 49.7592768
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-03T10:04:29.012.792.000 to 2021-07-03T10:04:29.013.081.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 = 13, 32bit 10MHz counter = 14.788731800 corrected by 40bit 10MHz counter of 14.746321800 obtained at 1Hz counter of 13. Result: 13.042410153
--
   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: 2021-07-03T10:03:54.042.268.725
   Max 1st sample MIU time among all SL packets: 2021-07-03T10:04:29.012.940.725
   Min 1st sample XO time among all SL packets: 13.042269877
   Max 1st sample XO time among all SL packets: 48.012941872
   TM values from -257 to 225 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-03T10:03:54.042.268.725 (XO: 13.042269877 - 13.042575878, t=35.6 degC)  Rank: 00088
   TM values: Max =   201  Min =  -251  Ave =    -4.40  Std =    21.47
   Min TM value:-251 at an offset of 127.200 usec -> 2021-07-03T10:03:54.042.395.925 (XO: 13.042397078)
   Max TM value:201 at an offset of 129.875 usec -> 2021-07-03T10:03:54.042.398.600 (XO: 13.042399753)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 129.700 usec -> 2021-07-03T10:03:54.042.398.425 (XO: 13.042399578)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 127.000 usec -> 2021-07-03T10:03:54.042.395.725 (XO: 13.042396878)

 - Block number: 2 starting at 2021-07-03T10:04:06.752.472.725 (XO: 25.752475934 - 25.752781935, t=35.6 degC)  Rank: 00080
   TM values: Max =   201  Min =  -257  Ave =    -4.35  Std =    22.87
   Min TM value:-257 at an offset of 130.075 usec -> 2021-07-03T10:04:06.752.602.800 (XO: 25.752606009)
   Max TM value:201 at an offset of 132.775 usec -> 2021-07-03T10:04:06.752.605.500 (XO: 25.752608709)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 132.625 usec -> 2021-07-03T10:04:06.752.605.350 (XO: 25.752608559)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 117.313 usec -> 2021-07-03T10:04:06.752.590.037 (XO: 25.752593247)

 - Block number: 3 starting at 2021-07-03T10:04:22.552.546.725 (XO: 41.552549369 - 41.552855371, t=35.6 degC)  Rank: 00081
   TM values: Max =   225  Min =  -234  Ave =    -4.50  Std =    32.02
   Min TM value:-234 at an offset of 187.851 usec -> 2021-07-03T10:04:22.552.734.575 (XO: 41.552737220)
   Max TM value:225 at an offset of 132.975 usec -> 2021-07-03T10:04:22.552.679.700 (XO: 41.552682345)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 257.313 usec -> 2021-07-03T10:04:22.552.804.038 (XO: 41.552806683)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 187.676 usec -> 2021-07-03T10:04:22.552.734.400 (XO: 41.552737045)

 - Block number: 4 starting at 2021-07-03T10:04:29.012.651.725 (XO: 48.012652871 - 48.012958872, t=35.6 degC)  Rank: 00079
   TM values: Max =   219  Min =  -252  Ave =    -4.44  Std =    19.57
   Min TM value:-252 at an offset of 131.288 usec -> 2021-07-03T10:04:29.012.783.012 (XO: 48.012784159)
   Max TM value:219 at an offset of 134.000 usec -> 2021-07-03T10:04:29.012.785.725 (XO: 48.012786871)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 133.888 usec -> 2021-07-03T10:04:29.012.785.612 (XO: 48.012786759)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 131.150 usec -> 2021-07-03T10:04:29.012.782.875 (XO: 48.012784021)
