<div dir="ltr"><div><div><br><br>On Mon, Jan 15, 2018 at 4:12 PM, Paulo van Breugel <<a href="mailto:p.vanbreugel@gmail.com">p.vanbreugel@gmail.com</a>> wrote:<br>><br>> Hi devs,<br>><br>> I am trying to run r.series with a large number of input maps (5000). Given the large number of input maps, I am using the 'file' option.<br>><br>> GRASS 7.5.svn (latlon):~ > r.series output=speciescount method=sum file=test.txt<br>><br>> I get the warning:<br>><br>> WARNING: G__open(read): Unable to open<br>><br>>          '/home/paulo/Data/HASdata/latlon/redlist/cellhd/Eulemur_fulvus':<br>><br>>          Too many open files<br>><br>> ERROR: Error reading reclass file for raster map <Eulemur_fulvus> <br>><br>> Eulemur_fulvus is the 511th file on the list. From the help file, I thought that using the file option will prevent one from hitting open files limit and the size limit of command line arguments. Am I misunderstanding the r.series helpfile?<br><br></div>the file option prevents too long command lines: instead of providing hundreds of map names as input, only one file with the map names is provided<br></div><div><br></div><div>the manual is wrong:</div><div>Use the <em>file</em> option to analyze large amount of raster maps 
without hitting open files limit and the size limit of command line 
arguments. </div><div><br></div><div>must be</div><div>Use the -z flag to analyze large amount of raster maps 
without hitting open files limit and the <em>file</em> option to avoid hitting the size limit of command line 
arguments. </div><div><div><br></div><div>Markus M<br></div><div>><br>><br>><br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br><br></div></div></div>