Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
kvalobs:kvoss:system:qc2:test:vm101notes [2010-06-23 00:01:22] paule |
kvalobs:kvoss:system:qc2:test:vm101notes [2022-05-31 09:29:32] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installation and test on dev-vm101 notes ====== | + | ====== Installation and test on dev-vm101 notes [kvqc2_1.0.1 and other revisions ... ] ====== |
The following notes describe the installation and use of **kvqc2 version 1.0.1** Sources: https:// | The following notes describe the installation and use of **kvqc2 version 1.0.1** Sources: https:// | ||
+ | |||
+ | **Algorithms in this release:** | ||
+ | |||
+ | ^ AlgoCode ^Description | ||
+ | | 9 | SingleMinMaxAverage | **kvqc2_1.0.1** For a given paramid and corresponding Max paramid and Min paramid calculates a correction for a single missing value as average of max and min. If no max or min available or specified then reverts to simple linear. | | ||
+ | | 10 | SingleLinear |**kvqc2_1.0.1** Replaces a single missing value with a linear interpolated value. If specified checks that the correction lies within the available max ... min range, if not sets to nearest of max or min. Run for any paramid and optional max, min specified in the configuration file. | | ||
===== Installation ===== | ===== Installation ===== | ||
Line 8: | Line 14: | ||
* Log into dev-vm101 as user kvalobs | * Log into dev-vm101 as user kvalobs | ||
- | * If an old kvqc2 exists stop the running kvqc2 process | + | * If an old kvqc2 exists stop the running kvqc2 process |
* Remove active configuration files (this is to just ensure that when the new kvqc2 version is set running it does not find and use an old configuration file) | * Remove active configuration files (this is to just ensure that when the new kvqc2 version is set running it does not find and use an old configuration file) | ||
Line 14: | Line 20: | ||
< | < | ||
$ cd / | $ cd / | ||
- | $ mv ProcessUnit.cfg ProcessUnit.cfg | + | $ mv XXX.cfg XXX.hold |
$ mv ProcessUnit.cfg ProcessUnit.hold | $ mv ProcessUnit.cfg ProcessUnit.hold | ||
</ | </ | ||
Line 22: | Line 28: | ||
* Install the latest version of kvqc2 | * Install the latest version of kvqc2 | ||
* Log in as a user with sudoer permission | * Log in as a user with sudoer permission | ||
+ | * NB one may need to run " | ||
< | < | ||
Line 27: | Line 34: | ||
</ | </ | ||
- | Note: the above is the standard way to do this, but did not work. Here is the trace (this is a separate issue to work on!!!) FIXME Investigate and fix. | + | An alternative |
- | + | ||
- | < | + | |
- | paule@dev-vm101: | + | |
- | kvqc2 - Non-real-time and geo-statistical quality controls. | + | |
- | paule@dev-vm101: | + | |
- | Reading package lists... Done | + | |
- | Building dependency tree... Done | + | |
- | kvqc2 is already the newest version. | + | |
- | You might want to run `apt-get -f install' | + | |
- | The following packages have unmet dependencies: | + | |
- | libkvcpp-dev: | + | |
- | libkvcpp1: Depends: libkvalobs1 (= 2.1.4-1) but 2.1.4-3 is to be installed | + | |
- | E: Unmet dependencies. Try ' | + | |
- | paule@dev-vm101: | + | |
- | </ | + | |
- | + | ||
- | Instead installed | + | |
i.e. using "sudo dpkg -i kvqc2_1.0.1-1_i386.deb" | i.e. using "sudo dpkg -i kvqc2_1.0.1-1_i386.deb" | ||
Line 59: | Line 49: | ||
Setting up kvqc2 (1.0.1-1) ... | Setting up kvqc2 (1.0.1-1) ... | ||
paule@dev-vm101: | paule@dev-vm101: | ||
+ | </ | ||
+ | |||
+ | **Bug Fix and Confirmation of apt-get install** | ||
+ | |||
+ | Initial tests illustrated that some data was written back to thedatabase at too high a precision. This is fixed in revision 1782: https:// | ||
+ | |||
+ | < | ||
+ | paule@dev-vm101: | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree... Done | ||
+ | The following packages will be upgraded: | ||
+ | kvqc2 | ||
+ | 1 upgraded, 0 newly installed, 0 to remove and 78 not upgraded. | ||
+ | Need to get 288kB of archives. | ||
+ | After unpacking 0B of additional disk space will be used. | ||
+ | Get:1 http:// | ||
+ | Fetched 288kB in 0s (12.7MB/s) | ||
+ | (Reading database ... 52403 files and directories currently installed.) | ||
+ | Preparing to replace kvqc2 1.0.1-1 (using .../ | ||
+ | Unpacking replacement kvqc2 ... | ||
+ | Setting up kvqc2 (1.0.2-1) ... | ||
+ | paule@dev-vm101: | ||
</ | </ | ||
Line 99: | Line 111: | ||
< | < | ||
- | kvalobs@dev-vm101: | + | kvalobs@dev-vm101: |
</ | </ | ||
Line 170: | Line 182: | ||
</ | </ | ||
- | * Stop (Ctrl^C) the running process (NB may have to wait 1 minute) and then restart as the daemon process with " | + | * Stop (Ctrl C) the running process |
^Step 4 ^kvstart^ | ^Step 4 ^kvstart^ | ||
Line 294: | Line 306: | ||
Note: After seeing the above info I added CfailedString=" | Note: After seeing the above info I added CfailedString=" | ||
+ | |||
+ | **NB** Lots of work to be done tuning the control flag settings etc!!! :-) | ||
+ | |||
+ | **NB** Currently only work on data where " | ||
==== Further testing ==== | ==== Further testing ==== | ||
Line 300: | Line 316: | ||
* Rerun the algorithm over a longer time interval, i.e. set Last_NDays to a value > 3 | * Rerun the algorithm over a longer time interval, i.e. set Last_NDays to a value > 3 | ||
- | * Observe output, repeat tests for different | + | * Observe output, repeat tests for different |
The algorithm checks << | The algorithm checks << | ||
Line 333: | Line 349: | ||
</ | </ | ||
- | The following scripts can help process the data. | + | |
**EXAMPLE TEST** | **EXAMPLE TEST** | ||
Line 386: | Line 402: | ||
$ R | $ R | ||
FileName=" | FileName=" | ||
- | dim=100 | + | dim=100 |
UTD <- read.table(FileName, | UTD <- read.table(FileName, | ||
Line 408: | Line 424: | ||
</ | </ | ||
- | {{: | + | {{kvalobs: |
+ | |||
+ | More examples of other parameters available at: | ||
+ | |||
+ | ^https:// | ||
- | 8-O More to follow ??? | ||
--- // | --- // |