-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 10 13:49:55 2021 UTC
-- File 20210710_101357_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 3.229539 to 48.960348
-each separately from 3s to 48s and from 229539us to 960348us.
   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, ...
      17.070008 in 1 packets: 18
      10.639905 in 1 packets: 36
      18.019740 in 1 packets: 54
MIU packet time from 2021-07-10T10:14:03.229.539.000 to 2021-07-10T10:14:48.960.348.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, ...
      17.070008 in 1 packets: 18
      10.639905 in 1 packets: 36
      18.019740 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 4.7586048 to 49.7584532
   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, ...
      16.9999428 in 1 packets: 18
      9.9999662 in 1 packets: 36
      17.9999394 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 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 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      04 -> 49.8 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
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 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210710_101357_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.9881445 to 4.9884335
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.0699510  -- OK for SL --
   MIU time from 2021-07-10T10:14:03.229.539.000 to 2021-07-10T10:14:03.229.828.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.070008

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.0583845 to 22.0586735
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.6398710  -- OK for SL --
   MIU time from 2021-07-10T10:14:20.299.836.000 to 2021-07-10T10:14:20.300.125.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.639905

 - 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 32.6985445 to 32.6988335
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.0196790  -- OK for SL --
   MIU time from 2021-07-10T10:14:30.940.030.000 to 2021-07-10T10:14:30.940.319.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.019740

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 50.7185125 to 50.7188015
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-10T10:14:48.960.059.000 to 2021-07-10T10:14:48.960.348.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 = 3, 32bit 10MHz counter = 4.988144500 corrected by 40bit 10MHz counter of 4.758604800 obtained at 1Hz counter of 3. Result: 3.229540480
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-07-10T10:14:03.229.398.725
   Max 1st sample MIU time among all SL packets: 2021-07-10T10:14:48.960.207.725
   Min 1st sample XO time among all SL packets: 3.229400205
   Max 1st sample XO time among all SL packets: 48.960211290
   TM values from -234 to 237 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-10T10:14:03.229.398.725 (XO: 3.229400205 - 3.229706206, t=37.2 degC)  Rank: 00081
   TM values: Max =   199  Min =  -233  Ave =    -4.53  Std =    21.76
   Min TM value:-233 at an offset of 124.500 usec -> 2021-07-10T10:14:03.229.523.225 (XO: 3.229524705)
   Max TM value:199 at an offset of 127.113 usec -> 2021-07-10T10:14:03.229.525.837 (XO: 3.229527318)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 126.938 usec -> 2021-07-10T10:14:03.229.525.662 (XO: 3.229527143)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 124.363 usec -> 2021-07-10T10:14:03.229.523.087 (XO: 3.229524568)

 - Block number: 2 starting at 2021-07-10T10:14:20.299.695.725 (XO: 20.299697644 - 20.300003645, t=37.2 degC)  Rank: 00079
   TM values: Max =   170  Min =  -221  Ave =    -4.48  Std =    18.67
   Min TM value:-221 at an offset of 96.888 usec -> 2021-07-10T10:14:20.299.792.612 (XO: 20.299794532)
   Max TM value:170 at an offset of 110.063 usec -> 2021-07-10T10:14:20.299.805.787 (XO: 20.299807707)
   Max dTM/dt [1/us]:1.47e+03 at an offset of 112.000 usec -> 2021-07-10T10:14:20.299.807.725 (XO: 20.299809644)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 96.738 usec -> 2021-07-10T10:14:20.299.792.462 (XO: 20.299794382)

 - Block number: 3 starting at 2021-07-10T10:14:30.939.889.725 (XO: 30.939893621 - 30.940199622, t=37.2 degC)  Rank: 00079
   TM values: Max =   211  Min =  -234  Ave =    -4.44  Std =    26.72
   Min TM value:-234 at an offset of 179.963 usec -> 2021-07-10T10:14:30.940.069.688 (XO: 30.940073584)
   Max TM value:211 at an offset of 125.500 usec -> 2021-07-10T10:14:30.940.015.225 (XO: 30.940019121)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 182.488 usec -> 2021-07-10T10:14:30.940.072.213 (XO: 30.940076109)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 154.526 usec -> 2021-07-10T10:14:30.940.044.250 (XO: 30.940048146)

 - Block number: 4 starting at 2021-07-10T10:14:48.959.918.725 (XO: 48.959922289 - 48.960228290, t=37.2 degC)  Rank: 00077
   TM values: Max =   237  Min =  -231  Ave =    -4.53  Std =    21.23
   Min TM value:-231 at an offset of 124.600 usec -> 2021-07-10T10:14:48.960.043.325 (XO: 48.960046889)
   Max TM value:237 at an offset of 124.275 usec -> 2021-07-10T10:14:48.960.043.000 (XO: 48.960046564)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 122.200 usec -> 2021-07-10T10:14:48.960.040.925 (XO: 48.960044489)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 124.375 usec -> 2021-07-10T10:14:48.960.043.100 (XO: 48.960046664)
