[GRASS-dev] [GRASS GIS] #2466: r.param.scale slow on Windows when there is no data in raster
GRASS GIS
trac at osgeo.org
Fri Oct 31 07:54:35 PDT 2014
#2466: r.param.scale slow on Windows when there is no data in raster
--------------------------------+-------------------------------------------
Reporter: annakrat | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.0.0
Component: Raster | Version: unspecified
Keywords: r.param.scale, nan | Platform: MSWindows 8
Cpu: Unspecified |
--------------------------------+-------------------------------------------
When I run r.param.scale on Windows with raster map with a lot of no data,
the computation is significantly slower (90 s on Ubuntu, 50 min on
Windows). r.param.scale doesn't propagate nulls. I read somewhere that
computing with nan can be slower on some architectures, could this be the
reason?
I attached a patch to propagate nans. I also realized that at one point
during preprocessing, there are large numbers computed (especially with
big cell size and high window size), so I thought double would be more
appropriate.
If there are no objection, I would commit it to test it on Windows.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2466>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list