<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<div class="moz-cite-prefix">On 1/15/18 4:39 PM, Markus Metz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG+h=FF0dHJhZ4xhKLXCTuFZ+Y8ZPYzHHD956wnQq8+VgdoN6w@mail.gmail.com">
<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"
moz-do-not-send="true">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>
</blockquote>
<p><br>
</p>
<p>Ah, yes, I totally forgot about that flag. Thanks (also Anna and
Veronica). Perhaps somebody with write permission can correct his
in the manual page?<br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAG+h=FF0dHJhZ4xhKLXCTuFZ+Y8ZPYzHHD956wnQq8+VgdoN6w@mail.gmail.com">
<div dir="ltr">
<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"
moz-do-not-send="true">grass-dev@lists.osgeo.org</a><br>
> <a
href="https://lists.osgeo.org/mailman/listinfo/grass-dev"
moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
<br>
</div>
</div>
</div>
</blockquote>
</body>
</html>