[GRASS-user] r.hants and r.series.lwr in Windows

Sajid Pareeth spareeth at gmail.com
Fri Jun 19 08:02:10 PDT 2020


Hallo

I am trying to establish a workflow to gapfill temporal maps using r.hants
and r.series.lwr. It is important that the solution also works in windows
for the teaching.

The issue I am encountering is that both r.hants and r.series.lwr are
returning 0 values in Windows with a majority of the valid pixels in the
original raster converted to NULL() in outputs.
While in Linux it works well and gives the intended results.

*Specs:*
*Windows 10,  GRASS 7.8.3 *
*Ubuntu 18.04 LTS, GRASS 7.8.3*

Here are the commands I use:

>
> *r.series.lwr -l -h -i file=maps.txt suffix=_lwr order=2 weight=tricube
> range=0,inf fet=0.5 dod=3 maxgap=3 --or.hants -l -h -i file=maps.txt
> suffix=_hants range=0,inf nf=3 fet=0.5 --o*


I used the same mapset in both windows and Linux to run these modules. The
mapset was created in windows, tried running these commands and later
accessed the same mapset through Linux and ran the commands.
In windows r.univar returns:

> r.univar ETact_SEBAL_2019_03_mm_month_lwr
>  100%
>
>
>
>
>
>
>
>
>
>
>
>
>
> *total null and non-null cells: 1534326total null cells: 1473343Of the
> non-null cells:----------------------n: 60983minimum: 0maximum: 0range:
> 0mean: 0mean of absolute values: 0standard deviation: 0variance: 0variation
> coefficient: nan %sum: 0*


In Linux after *RERUNNING* the r.series.lwr command, r.univar returns:

> r.univar ETact_SEBAL_2019_03_mm_month_lwr
>  100%
>
>
>
>
>
>
>
>
>
>
>
>
>
> *total null and non-null cells: 1534326total null cells: 28600Of the
> non-null cells:----------------------n: 1505726minimum: 0maximum:
> 130.153range: 130.153mean: 11.7246mean of absolute values: 11.7246standard
> deviation: 21.0032variance: 441.136variation coefficient: 179.138 %sum:
> 17654069.6570365*


 Any hint on what must be going wrong?

Best Regards

Sajid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200619/e999b176/attachment.html>


More information about the grass-user mailing list