Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kvalobs:kvoss:system:qc2:test:vm101notes [2010-06-23 22:42:26]
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 [kvqc2_1.0.1] ======+====== 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://svn.met.no/viewvc/kvoss/kvQc2/branches/kvqc2-1.0.1/ The following notes describe the installation and use of **kvqc2 version 1.0.1** Sources: https://svn.met.no/viewvc/kvoss/kvQc2/branches/kvqc2-1.0.1/
Line 14: 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 {e.g. use kvstop ? terminate the process pid ?}+  * If an old kvqc2 exists stop the running kvqc2 process by 'kvstop -l' (lower case L), then type the number corresponding to kvqc2
   * 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 28: 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 "apt-get update" first in order to update the package list.
  
 <code> <code>
Line 33: Line 34:
 </code> </code>
  
-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 is to install the new kvqc2 directly from where the debian package was built on dev-vm101:
- +
-<code> +
-paule@dev-vm101:~$ apt-cache search kvqc2 +
-kvqc2 - Non-real-time and geo-statistical quality controls. +
-paule@dev-vm101:~$ sudo apt-get install kvqc2 +
-Reading package lists... Done +
-Building dependency tree... Done +
-kvqc2 is already the newest version. +
-You might want to run `apt-get -f install' to correct these: +
-The following packages have unmet dependencies: +
-  libkvcpp-dev: Depends: libkvcpp1 (= 2.1.3-1) but 2.1.4-1 is to be installed +
-  libkvcpp1: Depends: libkvalobs1 (= 2.1.4-1) but 2.1.4-3 is to be installed +
-E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). +
-paule@dev-vm101:~$  +
-</code> +
- +
-Instead installed the new kvqc2 directly from where the debian package was built on dev-vm101:+
  
 i.e. using "sudo dpkg -i kvqc2_1.0.1-1_i386.deb" as illustrated below. i.e. using "sudo dpkg -i kvqc2_1.0.1-1_i386.deb" as illustrated below.
- 
-**THIS WAY WORKS FOR NOW** 
  
 <code> <code>
Line 67: Line 49:
 Setting up kvqc2 (1.0.1-1) ... Setting up kvqc2 (1.0.1-1) ...
 paule@dev-vm101:~/kvqc2-1.0.1$  paule@dev-vm101:~/kvqc2-1.0.1$ 
 +</code>
 +
 +**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://svn.met.no/viewvc/kvoss?view=rev&revision=1782 and led to a kvqc2-1.0.2 revision. This also provided the opportunity to check that the install from apt-get install works, i.e.:
 +
 +<code>
 +paule@dev-vm101:~$ sudo apt-get install kvqc2
 +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://repo.met.no etch/main kvqc2 1.0.2-1 [288kB]
 +Fetched 288kB in 0s (12.7MB/s)
 +(Reading database ... 52403 files and directories currently installed.)
 +Preparing to replace kvqc2 1.0.1-1 (using .../kvqc2_1.0.2-1_i386.deb) ...
 +Unpacking replacement kvqc2 ...
 +Setting up kvqc2 (1.0.2-1) ...
 +paule@dev-vm101:~$ 
 </code> </code>
  
Line 304: Line 308:
  
 **NB** Lots of work to be done tuning the control flag settings etc!!! :-) **NB** Lots of work to be done tuning the control flag settings etc!!! :-)
 +
 +**NB** Currently only work on data where "qclevel NOT EQUAL 0" **Therefore it is vital that a qc1 algorithm has checked the data ... otherwise there will be no Qc2 check** suspect that this might be the case. How often? How better to tune?
  
 ==== Further testing ==== ==== Further testing ====
Line 418: Line 424:
 </code> </code>
  
-{{:kvoss:system:qc2:test:output.jpg|}}+{{kvalobs:kvoss:system:qc2:test:output.jpg|}} 
 + 
 +More examples of other parameters available at: 
 + 
 +^https://kvalobs.wiki.met.no/doku.php?id=kvoss:system:qc2:test:algorithms:singlemissingpoint^
  
-8-O More to follow ??? 
  --- //2010/06/22 23:25//  --- //2010/06/22 23:25//
  • kvalobs/kvoss/system/qc2/test/vm101notes.1277332946.txt.gz
  • Last modified: 2022-05-31 09:23:18
  • (external edit)