[GRASS-SVN] r38189 - grass-addons/vector/v.krige
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 3 11:59:49 EDT 2009
Author: aghisla
Date: 2009-07-03 11:59:49 -0400 (Fri, 03 Jul 2009)
New Revision: 38189
Modified:
grass-addons/vector/v.krige/v.krige.py
Log:
emptied geoR page from widgets - some more info on CLI
Modified: grass-addons/vector/v.krige/v.krige.py
===================================================================
--- grass-addons/vector/v.krige/v.krige.py 2009-07-03 13:51:53 UTC (rev 38188)
+++ grass-addons/vector/v.krige/v.krige.py 2009-07-03 15:59:49 UTC (rev 38189)
@@ -280,7 +280,7 @@
return robjects.r.autofitVariogram(formula, data)
def DoKriging(self, formula, data, grid, **kwargs):
- KrigingResult = robjects.r.autoKrige(formula, data, grid)
+ KrigingResult = robjects.r.autoKrige(formula, data, grid, **kwargs)
return KrigingResult.r['krige_output'][0]
def HideOptions(self, event):
@@ -320,6 +320,10 @@
""" Subclass of RBookPanel, with specific geoR options and kriging functions. """
def __init__(self, parent, *args, **kwargs):
RBookPanel.__init__(self, parent, *args, **kwargs)
+ #@TODO: change these two lines as soon as geoR f(x)s are integrated.
+ for n in self.GetChildren():
+ n.Hide()
+ self.Sizer.Add(wx.StaticText(self, id= wx.ID_ANY, label = _("Work in progress! No functionality provided.")))
self.SetSizerAndFit(self.Sizer)
def FitVariogram(self, Formula, InputData):
@@ -334,6 +338,7 @@
argv = sys.argv
print argv
#@TODO(anne): add command line arguments acceptance.
+ #@TIP: from optparse import OptionParser
#@FIXME: is this code still useful?
"""if len(argv) != 2:
More information about the grass-commit
mailing list