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

Sajid Pareeth spareeth at gmail.com
Sun Jun 21 04:49:43 PDT 2020


Hi all

Following up my last email, here is an example dataset, in case you want to
check the issue and reproduce it.
Attached a Location/Mapset (*TMPLOC/TMPMAP - EPSG:32648*) folder with 9
raster maps on which I am trying to apply r.series.lwr and r.hants.

Here are the two commands I tried (also in history):


> *r.series.lwr -lhi input=`g.list rast map=. pattern=ETact*month$ sep=,`
> suffix='_lwr' order=2 weight='tricube' range=0,inf fet=0.5 dod=3 maxgap=3
> --o**r.hants -l -h -i input=`g.list rast map=. pattern=ETact*month$
> sep=,` suffix=_hants range=0,inf nf=3 fet=0.5 --o*


As I mentioned in the email, it works as expected in Linux (Ubuntu) but is
giving zeros in Windows 10 with no errors.
I tried other modules like r.series, it works in both Linux and Windows as
expected.

Thank you
regards
Sajid

On Fri, Jun 19, 2020 at 5:02 PM Sajid Pareeth <spareeth at gmail.com> wrote:

> 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/20200621/21c216f7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TMPLOC.zip
Type: application/x-zip-compressed
Size: 366949 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20200621/21c216f7/attachment-0001.bin>


More information about the grass-user mailing list