[GRASS-dev] Re: [GRASS GIS] #1006: r.terraflow fails to create temp file on Windows when launched from wxgui

GRASS GIS trac at osgeo.org
Wed Mar 17 09:05:35 EDT 2010


#1006: r.terraflow fails to create temp file on Windows when launched from wxgui
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  grass-dev at lists.osgeo.org 
      Type:  defect           |      Status:  new                       
  Priority:  normal           |   Milestone:  6.4.0                     
 Component:  Raster           |     Version:  svn-releasebranch64       
Resolution:                   |    Keywords:  wxgui, wingrass, terraflow
  Platform:  MSWindows Vista  |         Cpu:  x86-32                    
------------------------------+---------------------------------------------
Comment (by hamish):

 what does "r.terraflow --help" say ?

 (specifically the STREAM_DIR section)


 {{{
   /* temporary STREAM path */
   struct Option *streamdir;
   streamdir = G_define_option() ;
   streamdir->key        = "STREAM_DIR";
   streamdir->type       = TYPE_STRING;
   streamdir->required   = NO;
 #ifdef __MINGW32__
   streamdir->answer     =
 G_convert_dirseps_from_host(G_store(getenv("TEMP")));
 #else
   streamdir->answer     = G_store("/var/tmp/");
 #endif
   streamdir->description=
      _("Directory to hold temporary files (they can be large)");
 }}}


 Maris:
 > Aaah - just noticed - could this be related to #520?

 probably not as that should be already fixed. (just not ideal)


 can you try on a small (file size) raster like elevation.dem @ Spearfish?
 (existing 300mb doesn't seem so bad though)


 can you try with --verbose so percent done is shown for nrows and we get
 more details?


 Hamish

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


More information about the grass-dev mailing list