[GRASS-user] r.terraflow problem

Filipe Dias filipesdias at gmail.com
Thu Apr 13 10:19:32 PDT 2017


fd at fd-XPS:~$ mkdir
/media/fd/Dados/FilipeTrabalho/FCT/FCT/fct/.tmp/fd-XPS/16123.0
mkdir: cannot create directory
‘/media/fd/Dados/FilipeTrabalho/FCT/FCT/fct/.tmp/fd-XPS/16123.0’: No such
file or directory


yes, that's it. Thanks for the help

Cheers
F

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

> On 13/04/17 17:05, Filipe Dias wrote:
>
>> 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)
>>
>
> By default, the module creates creates a directory using G_tempfile()
> which creates a temp path in the current mapset directory and G_mkdir()
> which creates a directory using that path.
>
> Looking at you path (/media/fd/Dados...) it looks like you're using an
> external disk ? Maybe the mount options for this disque do not allow the
> creation of a directory with this name ?
>
> Try launching 'mkdir /media/fd/Dados/FilipeTrabalho
> /FCT/FCT/fct/.tmp/fd-XPS/16123.0' and see what happens?
>
> Moritz
>
>
>> Thanks a lot for the help
>>
>> Cheers
>>
>> On Thu, Apr 13, 2017 at 12:33 PM, Moritz Lennert
>> <mlennert at club.worldonline.be <mailto:mlennert at club.worldonline.be>>
>> wrote:
>>
>>     Le Thu, 13 Apr 2017 11:18:37 +0100,
>>     Filipe Dias <filipesdias at gmail.com <mailto: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
>>     <mailto: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/
>>     <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
>>     <http://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 <mailto:grass-user at lists.osgeo.org>
>>     > > https://lists.osgeo.org/mailman/listinfo/grass-user
>>     <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/6d92723f/attachment.html>


More information about the grass-user mailing list