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

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'm not seeing the invalid argument. Please show me what I've missed.

TIA,

Rich

Rich,

On Tue, May 16, 2023 at 5:28 PM Rich Shepard <rshepard@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

On Tue, 16 May 2023, Markus Neteler wrote:

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

Markus,

It might well have been that the region was set to the vector analysis area map
and not to the raster map.

Regardless, I tried r.resamp.stats and the output was much too coarse so I'm
sticking with the original 1 square foot resolution.

Thanks,

Rich