[GRASS-dev] [GRASS GIS] #2820: r.surf.idw gives broken results - Don't match v.surf.idw
GRASS GIS
trac at osgeo.org
Fri Dec 4 10:44:03 PST 2015
#2820: r.surf.idw gives broken results - Don't match v.surf.idw
---------------------+-------------------------
Reporter: lrntct | Owner: grass-dev@…
Type: defect | Status: new
Priority: major | Milestone: 7.0.3
Component: Raster | Version: 7.0.1
Resolution: | Keywords:
CPU: x86-64 | Platform: Linux
---------------------+-------------------------
Comment (by lrntct):
Here is a way to reproduce the problem:
{{{
v.in.ascii input=rainfall2.csv output=stations_vect separator=comma z=3
g.region vector=stations_vect res=100
v.surf.idw input=stations_vect output=vsurfidw
v.to.rast input=stations_vect output=stations_rast use=z
r.mapcalc expression='stations_int=int(stations_rast*1000000)'
r.surf.idw input=stations_int output=rsurfidw_int
r.mapcalc expression='rsurfidw=double(rsurfidw_int)/1000000'
r.mapcalc expression='rain_diff=rsurfidw-vsurfidw'
r.colors map=rain_diff color=aspect
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2820#comment:4>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list