r.param.scale slow on Windows when there is no data in raster
|Reported by:||annakrat||Owned by:|
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.