[GRASS-SVN] r38294 - grass-addons/vector/v.krige
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jul 7 09:33:55 EDT 2009
Author: aghisla
Date: 2009-07-07 09:33:54 -0400 (Tue, 07 Jul 2009)
New Revision: 38294
Modified:
grass-addons/vector/v.krige/v.krige.py
Log:
set CLI options and flags
Modified: grass-addons/vector/v.krige/v.krige.py
===================================================================
--- grass-addons/vector/v.krige/v.krige.py 2009-07-07 13:21:27 UTC (rev 38293)
+++ grass-addons/vector/v.krige/v.krige.py 2009-07-07 13:33:54 UTC (rev 38294)
@@ -23,25 +23,70 @@
#%end
#%option
-#% key: map
+#% key: input
#% type: string
#% gisprompt: old,vector,vector
-#% key_desc: name
#% description: Name of point vector map containing sample data.
#% required: yes
#%end
+#%option
+#% key: column
+#% type: string
+#% description: Column with numerical value to be interpolated
+#% required : yes
+#%end
+#%option
+#%option
+#% key: output
+#% type: string
+#% gisprompt: old,raster,raster
+#% description: Name of output map. If omitted, will be <input name>_kriging
+#% required : no
+#%end
+#% key: package
+#% type: string
+#% options: gstat, geor
+#% answer: gstat
+#% description: R package to use. Choices: gstat, geor
+#% required: no
+#%end
+#%option
+#% key: model
+#% type: string
+#% options: Exp, Sph, Gau, Mat, Lin
+#% answer:
+#% multiple: yes
+#% description: Variogram model(s). Leave empty to
+#% required: no
+#%end
+#%option
+#% key: range
+#% type: integer
+#% description: Range value. Automatically fixed if not set
+#% required : no
+#%end
+#%option
+#% key: nugget
+#% type: double
+#% description: Nugget value. Automatically fixed if not set
+#% required : no
+#%end
+#%option
+#% key: sill
+#% type: double
+#% description: Sill value. Automatically fixed if not set
+#% required : no
+#%end
+#%flag
+#% key: o
+#% description: Overwrite output map with same name
+#%end
+# #%flag
+# #% key:
+# #% description:
+# #%end
-#
-##%option
-##% key:
-##% type:
-##% gisprompt:
-##% key_desc:
-##% description:
-##% required:
-##%end
-
import os, sys
try:
More information about the grass-commit
mailing list