[GRASS-user] r.patch: GRASS-6.5svn
Rich Shepard
rshepard at appl-ecosys.com
Fri Jan 22 10:50:42 EST 2010
On Fri, 22 Jan 2010, Glynn Clements wrote:
> Can you revert the previous patch with:
> patch -R -p0 < write_errno.patch
> then apply the attached patch with:
> patch -R -p0 < write_errors.patch
> and re-compile.
> That should cause it to print more than one error.
GRASS 6.5.svn (Oregon):/usr4/grassbase > r.patch in=$MAPS out=demOR --o
WARNING: map [demOR] - unable to write row 24578 (No such file or
directory)
WARNING: map [demOR] - unable to write row 24578 (File too large)
WARNING: map [demOR] - unable to write row 24578 (File too large)
100%
Creating support files for raster map <demOR>
I've not before encountered 'file too large' ...
> Also, can you provide the output from:
> ls -l /usr4/grassbase/Oregon/PERMANENT/cell/demOR
But this explains it:
2147483647 Jan 22 07:39 /usr4/grassbase/Oregon/PERMANENT/cell/demOR
That's a 2G file size for 10m resolution DEM of the entire state. Wow!
What's the best strategy for decreasing file size? Do I not make a
state-wide DEM but make 2 or three instead? Should I keep the 9 separate
maps and concatenate as necessary for specific projects?
This has been a _very_ useful lesson.
> BTW, do you get similar errors with other commands using the same
> region, e.g.:
> r.mapcalc 'test = rand(9999)'
GRASS 6.5.svn (Oregon):/usr4/grassbase > r.mapcalc 'test = rand(9999)'
Too few arguments (1) to function rand()
Parse error
Thanks,
Rich
More information about the grass-user
mailing list