<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 3, 2015 at 10:26 AM, Paulo van Breugel <span dir="ltr"><<a href="mailto:p.vanbreugel@gmail.com" target="_blank">p.vanbreugel@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>From the r.series manual I thought that the <em>file</em> option allows one to analyze large amount of raster maps 
without hitting open files limit and the size limit of command line 
arguments. Yet, when using the r.series with as input a file with 994 raster layers, I am still getting an error message about "too many open files" <br><br>GRASS 7.1.svn (Data_latlon):~ > r.series --overwrite file=a.txt output=Spec_rich method=count range=1,2<br>WARNING: G__open(read): Unable to open<br>         '/media/HD2/Data/GRASSdb/Data_latlon/VECEA_species/cellhd/maxent_v1_Hyparrhenia_rufa_rcp45_2055_ens_mean_wc60s_presabs':<br>         Too many open files<br><br></div>The mentioned layer is the 551th layer out of a list of 996 layers.<br><br></div><div>Did I misunderstood this 'file' option?</div></div></blockquote><div><br></div><div><br></div><div>Try to use z flag. I think the manual is wrong:</div><div><br></div><div><span style="color:rgb(0,0,0);font-size:medium">Use the </span><em style="color:rgb(0,0,0);font-size:medium">file</em><span style="color:rgb(0,0,0);font-size:medium"> option to analyze large amount of raster maps without hitting open files limit and the size limit of command line arguments. The computation is slower than the </span><em style="color:rgb(0,0,0);font-size:medium">input</em><span style="color:rgb(0,0,0);font-size:medium"> option method. For every sinlge row in the output map(s) all input maps are opened and closed.</span></div><div><br></div><div>Anna</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span class=""><font color="#888888"><br><br></font></span></div><div><span class=""><font color="#888888">Paulo<br></font></span><br></div><div>p.s., Running GRASS GIS trunk on Linux<br></div></div>
<br>_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br></blockquote></div><br></div></div>