[GRASS-dev] [GRASS GIS] #2278: G__tempfile() lacks perror support

GRASS GIS trac at osgeo.org
Mon May 5 06:43:13 PDT 2014


#2278: G__tempfile() lacks perror support
-------------------------+--------------------------------------------------
 Reporter:  neteler      |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  LibGIS       |     Version:  svn-releasebranch70      
 Keywords:  r.hants      |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by mmetz):

 Replying to [comment:2 mmetz]:
 > Replying to [ticket:2278 neteler]:
 > > (The problem arises from r.hants Addon use, reported on grass-user)
 > >
 > > Using r.hants (derived from r.series) on almost 600 raster
 > > maps generates an "ERROR: no temp files available" on
 > > Linux 64bit.
 >
 > r.series with the same number of input maps should fail with the same
 error. r.hants has been derived from r.series, and both modules have the
 -z flag (Don't keep files open) which should avoid this problem.

 Sorry, the -z flag does not help here because r.hants creates a new output
 map for each input map, and these need to be kept open. For 600 input
 maps, the hard limit of the number of open files is usually exceeded.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2278#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list