[GRASS-user] r.terraflow problem

Filipe Dias filipesdias at gmail.com
Thu Apr 13 08:05:25 PDT 2017


That directory does not exist. Directing the temporary files to an existing
directory allows the tools to run: "directory=/home/fd/Desktop/tmp".

I am guessing this is a bug? By the default the tool should send the
temporary files to /tmp or prompt the user to manually insert a path
(currently "directory" is not mandatory)

Thanks a lot for the help

Cheers

On Thu, Apr 13, 2017 at 12:33 PM, Moritz Lennert <
mlennert at club.worldonline.be> wrote:

> Le Thu, 13 Apr 2017 11:18:37 +0100,
> Filipe Dias <filipesdias at gmail.com> a écrit :
>
> > Hi,
> > I don't think so. The Location/Mapset are located in a disk with 59
> > GB of free space. The DEM has 144 MB and corresponds to Portugal's
> > territory. Is there any other possible cause?
>
> It seems the module cannot find the temporary directory::
>
> /media/fd/Dados/FilipeTrabalho/FCT/FCT/fct/.tmp/fd-XPS/16123.0
>
> Is the path correct ?
>
> Moritz
>
> >
> >
> > On Thu, Apr 13, 2017 at 11:08 AM, Helmut Kudrnovsky <hellik at web.de>
> > wrote:
> >
> > > Filipe Dias-2 wrote
> > > > Hi
> > > > I'm trying to run r.terraflow with with a SRTMGL1 dem but I am
> > > > getting a message that I can't decipher.
> > > > What am I doing wrong?
> > > > Thanks for the help
> > > > Cheers
> > > > F
> > > >
> > > >
> > > > (Thu Apr 13 10:40:03 2017)
> > > >
> > > > r.terraflow elevation=dem_pt at fct filled=filled direction=direc
> > > > swatershed=swater accumulation=accum tci=tci
> > > > Memory manager registering memory in MM_IGNORE_MEMORY_EXCEEDED
> > > > mode. STREAM temporary files in
> > > > /media/fd/Dados/FilipeTrabalho/FCT/FCT/fct/.tmp/fd-
> > > > XPS/16123.0  (THESE INTERMEDIATE STREAMS WILL NOT BE DELETED
> > > > IN CASE OF ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE
> > > > SPACE PLEASE DELETE THESE FILES MANUALLY!)
> > > > ami_single_temp_name: G_mkstemp() failed: : No such file or
> > > > directory
> > > > r.terraflow: ami_stream.cpp:93: int
> > > > ami_single_temp_name(const string&, char*): Assertion `0'
> > > > failed.
> > > > (Thu Apr 13 10:40:03 2017) Command finished (0 sec)
> > >
> > > the error comes from:
> > >
> > > https://trac.osgeo.org/grass/browser/grass/trunk/lib/
> > > iostream/ami_stream.cpp#L71
> > >
> > > maybe some disk space issue?
> > >
> > >
> > >
> > > -----
> > > best regards
> > > Helmut
> > > --
> > > View this message in context: http://osgeo-org.1560.x6.
> > > nabble.com/r-terraflow-problem-tp5317169p5317174.html
> > > Sent from the Grass - Users mailing list archive at Nabble.com.
> > > _______________________________________________
> > > grass-user mailing list
> > > grass-user at lists.osgeo.org
> > > https://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20170413/d8b17646/attachment-0001.html>


More information about the grass-user mailing list