[GRASS-SVN] r53149 - grass/trunk/scripts/v.krige
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Sep 10 02:23:56 PDT 2012
Author: neteler
Date: 2012-09-10 02:23:55 -0700 (Mon, 10 Sep 2012)
New Revision: 53149
Modified:
grass/trunk/scripts/v.krige/v.krige.py
Log:
fix logger bug; add new variogram models
Modified: grass/trunk/scripts/v.krige/v.krige.py
===================================================================
--- grass/trunk/scripts/v.krige/v.krige.py 2012-09-10 08:58:26 UTC (rev 53148)
+++ grass/trunk/scripts/v.krige/v.krige.py 2012-09-10 09:23:55 UTC (rev 53149)
@@ -8,7 +8,7 @@
DEPENDS: R 2.x, packages gstat, maptools and spgrass6, optional: automap
-COPYRIGHT: (C) 2009 by the GRASS Development Team
+COPYRIGHT: (C) 2009, 2012 by the GRASS Development Team
This program is free software under the GNU General Public
License (>=v2). Read the file COPYING that comes with GRASS
@@ -48,7 +48,7 @@
#%option
#% key: model
#% type: string
-#% options: Exp,Sph,Gau,Mat,Lin
+#% options: Nug,Exp,Sph,Gau,Exc,Mat,Ste,Cir,Lin,Bes,Pen,Per,Hol,Log,Pow,Spl,Leg
#% multiple: yes
#% label: Variogram model(s)
#% description: Leave empty to test all models (requires automap)
@@ -156,9 +156,7 @@
# GRASS checks for null values in the chosen column. R can hardly handle column as a variable,
# looks for a hardcoded string.
- logger.message("Got here")
cols = grass.vector_columns(map=map, layer=1)
- logger.message("Not here:")
nulls = int(grass.parse_command('v.univar',
map=map,
column=column,
More information about the grass-commit
mailing list