[GRASS-dev] limits of r.patch

Helmut Kudrnovsky hellik at web.de
Sun Jul 15 13:14:20 PDT 2012


hi margherita,

>I probably am requiring too much, but this is just for sharing an
experience. I've just imported in GRASS >1573 ASTER GDEM tiles, using
r.external, and everything seemed to be OK. Then I ran:
>
>GRASS 6.4.3svn (ASTER_GDEM):~ > r.patch in=`g.mlist pat=AST* sep=,`
out=aster_gdem
>ERROR 1: TIFFOpen:/forest/ASTER-GDEM/Dem_lzw/ASTGTM_N45E010_dem_lzw.tif:
Too many open files
>WARNING: Unable to open raster map <ASTGTM_N45E011_dem_lzw.tif at PERMANENT>
>ERROR: One or more input raster maps not found

using GDAL Virtual Format [1] by building a virtual dataset by gdalbuildvrt?

it's really a nice gdal utility:

no need to patch all ASTER GDEM tiles within grass, just import the virtual
dataset by r.in.gdal or link it by r.external


[1] http://www.gdal.org/gdal_vrttut.html
[2] http://www.gdal.org/gdalbuildvrt.html

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.n6.nabble.com/limits-of-r-patch-tp4988265p4988454.html
Sent from the Grass - Dev mailing list archive at Nabble.com.


More information about the grass-dev mailing list