[GRASS-SVN] r37721 - grass-addons/vector/v.autokrige

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 3 13:24:30 EDT 2009


Author: mathieug
Date: 2009-06-03 13:24:30 -0400 (Wed, 03 Jun 2009)
New Revision: 37721

Modified:
   grass-addons/vector/v.autokrige/v.autokrige.py
Log:
v.autokrige.py : a port of v.autokrige to python (working beta version)

Modified: grass-addons/vector/v.autokrige/v.autokrige.py
===================================================================
--- grass-addons/vector/v.autokrige/v.autokrige.py	2009-06-03 17:17:44 UTC (rev 37720)
+++ grass-addons/vector/v.autokrige/v.autokrige.py	2009-06-03 17:24:30 UTC (rev 37721)
@@ -123,6 +123,12 @@
         self.logfile='v.autokrige.log'
     
     def __checkLayers(self, input, output):
+        """
+        Preliminary chacks before starting kriging.
+        Note : for this to work with grass6.3, in find_file function from core.py,
+        command should be (n flag removed because 6.4 specific):
+        s = read_command("g.findfile", element = element, file = name, mapset = mapset)
+        """
         ##Test for input vector map.
         testInput = grass.find_file(input, element = 'vector')
         if testInput['fullname'] == '':
@@ -354,3 +360,4 @@
         main()
     else:
         print "R required, please install R first"
+



More information about the grass-commit mailing list