[GRASS-user] ps.resamp.rst: invalid argument

Markus Neteler neteler at osgeo.org
Tue May 16 12:43:50 PDT 2023


Rich,

On Tue, May 16, 2023 at 5:28 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
> While waiting to learn the uses of the various r.resamp* modules, I tried
> r.resamp.rst with this result:
> r.resamp.rst in=dem2014 ew_res=10 ns_res=10 elevation=base10ft slope=slope10ft aspect=aspect10ft --o
> Processing all selected output files will require
> 129.19 KB of disk space for temp files.
> Temporarily changing the region to desired resolution ...
> Changing back to the original region ...
> Percent complete:
> ERROR: Unable to seek: Invalid argument

I cannot reproduce it:

GRASS nc_spm_08_grass7/user1:~ > g.region raster=elevation -p
projection: 99 (Lambert Conformal Conic)
zone:       0
datum:      nad83
ellipsoid:  a=6378137 es=0.006694380022900787
north:      228500
south:      215000
west:       630000
east:       645000
nsres:      10
ewres:      10
rows:       1350
cols:       1500
cells:      2025000

GRASS nc_spm_08_grass7/user1:~ > r.resamp.rst in=elevation ew_res=10
ns_res=10 elevation=elevation slope=slope aspect=aspect
Processing all selected output files will require
23.17 MB of disk space for temp files.
Temporarily changing the region to desired resolution ...
Changing back to the original region ...
Percent complete:
 100%
dnorm in ressegm after grid before out2= 124.899960
dnorm in mainc after grid before out1= 124.899960
dnorm in mainc after grid before out2= 124.899960
r.resamp.rst complete.

Please report the output of `g.region -p`.

Markus


More information about the grass-user mailing list