GDAL
August 17, 2015, 6:19pm
1
#2723: error when running v.krige
------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Default | Version: svn-trunk
Keywords: | CPU: Unspecified
Platform: Linux |
------------------------+-------------------------
When I use the "plot/refresh variogram" button, I am getting an error
message:
{{{
Command: v.out.ogr
... usual text about v.out.ogr
...
/usr/lib/python2.7/dist-packages/rpy2/robjects/functions.py:106:
UserWarning: Error in insert_required(pcmd = pcmd, parameters =
parameters, pt = pt, :
required parameters with no defaults missing: output
res = super(Function, self).__call__(*new_args, **new_kwargs)
Traceback (most recent call last):
File "/usr/local/grass7/grass-7.1.svn/gui/wxpython/modules/vkrige.py",
line 456, in OnPlotButton
column = column)
File "/usr/local/grass7/grass-7.1.svn/scripts/v.krige", line 143, in
ImportMap
Rpointmap = robjects.r.readVECT6(map, type = 'point')
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/functions.py", line
178, in __call__
return super(SignatureTranslatedFunction, self).__call__(*args,
**kwargs)
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/functions.py", line
106, in __call__
res = super(Function, self).__call__(*new_args, **new_kwargs)
rpy2.rinterface.RRuntimeError: Error in insert_required(pcmd = pcmd,
parameters = parameters, pt = pt, :
required parameters with no defaults missing: output
}}}
I am getting a similar error message when running the kriging module using
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
September 27, 2015, 10:46am
2
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by neteler):
* milestone: => 7.0.1
Comment:
I briefly looked at the code.
{{{
gui/wxpython/modules/vkrige.py: self.controller.InputData =
self.controller.ImportMap(map = map,
}}}
calls
{{{
scripts/v.krige/v.krige.py: def ImportMap(self, map, column):
}}}
which calls
{{{
Rpointmap = robjects.r.readVECT6(map, type = 'point')
}}}
which ain't work with rgrass7. In essence, scripts/v.krige/v.krige.py
needs to be updated to rgrass7 (not a complicated task at all).
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723#comment:1> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
September 27, 2015, 2:51pm
3
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by pvanbosgeo):
* Attachment "v.krige.patch" added.
changes to make the script work with the R package rgrass7
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
September 27, 2015, 2:53pm
4
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Comment (by pvanbosgeo):
You are right Markus, just added a patch file that seems to resolve the
problem with "plot/refresh variogram" when running with rgrass7.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723#comment:2> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
September 30, 2015, 8:13pm
5
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Comment (by neteler):
Thanks, patch applied in r66386.
Would you mind to also update the HTML page?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723#comment:3> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
September 30, 2015, 9:10pm
6
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by pvanbosgeo):
* Attachment "v.krige.html.patch" added.
Corrections, mostly to reflect the change in dependency from spgrass6 to
rgrass7
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723> ;
GRASS GIS <https://grass.osgeo.org >
ecodiv
September 30, 2015, 9:26pm
7
Hi Markus,
I also took the liberty to make some changes to the page https://grasswiki.osgeo.org/wiki/V.krige_GSoC_2009#Installation , to include the information that for v.krige in GRASS 7 one needs the R package rgrass7 rather than spgrass6/. Hope that is OK.
Paulo
On 30-09-15 23:10, GRASS GIS wrote:
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by pvanbosgeo):
* Attachment "v.krige.html.patch" added.
Corrections, mostly to reflect the change in dependency from spgrass6 to
rgrass7
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723> ;
GRASS GIS <https://grass.osgeo.org >
GDAL
October 1, 2015, 10:29am
8
#2723: error when running v.krige
--------------------------+-------------------------
Reporter: pvanbosgeo | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 7.0.1
Component: Default | Version: svn-trunk
Resolution: fixed | Keywords:
CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by neteler):
* status: new => closed
* resolution: => fixed
Comment:
Submitted in r66388 and all backported to 7.0.svn in r66391.
Closing.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2723#comment:4> ;
GRASS GIS <https://grass.osgeo.org >