<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 24, 2014 at 9:21 AM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org" target="_blank">neteler@osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Wed, Sep 24, 2014 at 2:40 PM, Robert Kuszinger <<a href="mailto:kuszinger@giscom.hu">kuszinger@giscom.hu</a>> wrote:<br>
><br>
> Hello!<br>
><br>
><br>
> I'm trying to patch 1393 pieces of raster images with r.patch.<br>
><br>
> before r.patch, the projection is set as follows:<br>
><br>
><br>
> projection: 3 (Latitude-Longitude)<br>
> zone: 0<br>
> datum: wgs84<br>
> ellipsoid: wgs84<br>
> north: 33:00:00.5N<br>
> south: 14:00:00.5S<br>
> west: 75:59:59.5E<br>
> east: 136:00:00.5E<br>
> nsres: 0:01:00.000355<br>
> ewres: 0:01:00.000278<br>
> rows: 2820<br>
> cols: 3600<br>
> cells: 10152000<br>
><br>
> As you see, the target mosaic is set to be a moderate resolution by setting<br>
> es/nwres to 1 minute instead of seconds.<br>
><br>
> I do then:<br>
><br>
> GRASS 6.4.3 (wgs84pure):~/grassdata/import > MAPS=`g.mlist type=rast sep=,<br>
> pat="AST*"`<br>
> GRASS 6.4.3 (wgs84pure):~/grassdata/import > r.patch in=$MAPS out=mosaic<br>
> WARNING: Unable to open raster map <ASTGTM2N31E096@seasdem2><br>
> ERROR: One or more input raster maps not found<br>
><br>
> How could it be? Is there a limitation on the string what r.patch is parsing<br>
> from the command line?<br>
<br>
</div></div>It is indeed the operating system which limits the number of open<br>
files. For Linux, it is likely 1024 files.<br>
I have now added a note to the manual of r.patch (using those of r.series).<br>
<br></blockquote><div>Would it be possible to provide some possible reasons/suggestions in the error message? (the wording should be that it is "possible reason")<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For a solution, see also<br>
<br>
<a href="http://grasswiki.osgeo.org/wiki/Large_raster_data_processing#Number_of_open_files_limitation" target="_blank">http://grasswiki.osgeo.org/wiki/Large_raster_data_processing#Number_of_open_files_limitation</a><br>
<br>
You can increase this limit.<br>
<br>
Hope this helps,<br>
Markus<br>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div><br></div></div>