[GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Milton Cezar Ribeiro
Dear all, I tryed to run the following over a ASTER GDEM elevation map: r.terraflow elevation=ASTGTM_S25W049_dem filled=ASTGTM_S25W049_dem_terraflow_filled direction=ASTGTM_S25W049_dem_terraflow_direction swatershed=ASTGTM_S25W049_dem_terraflow_swatershed

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Markus Neteler
On Sun, Jul 5, 2009 at 8:07 AM, Milton Cezar Ribeiromiltinho.astrona...@gmail.com wrote: Dear all, I tryed to run the following over a ASTER GDEM elevation map: r.terraflow elevation=ASTGTM_S25W049_dem filled=ASTGTM_S25W049_dem_terraflow_filled

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Markus Neteler
On Sun, Jul 5, 2009 at 10:16 AM, Markus Netelernete...@osgeo.org wrote: On Sun, Jul 5, 2009 at 8:07 AM, Milton Cezar Ribeiro wrote: ... STREAM temporary files in /var/tmp  (THESE INTERMEDIATE STREAMS WILL NOT BE DELETED IN CASE OF ABNORMAL TERMINATION OF THE PROGRAM. TO SAVE SPACE PLEASE

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Glynn Clements
Markus Neteler wrote: 3. The default value of /var/tmp is inappropriate for Windows. It should probably use the TMP or TEMP environment variables. There probably won't be a specific directory which will be writable by all users. Ok, but the current default fails for sure. Personally I

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Markus Neteler
On Sun, Jul 5, 2009 at 3:35 PM, Glynn Clementsgl...@gclements.plus.com wrote: Markus Neteler wrote: 3. The default value of /var/tmp is inappropriate for Windows. It should probably use the TMP or TEMP environment variables. There probably won't be a specific directory which will be

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Milton Cezar Ribeiro
Glynn: 2. The directory used for temporary files is controlled by the STREAM_DIR= option (renamed to stream_dir= in 7.0). /var/tmp is just the default setting. @Milton: please try this parameter to define a different directory. Hi Markys, Glynn Just to you know, I tryed to set the

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Hamish
Markus wrote:  G_convert_dirseps_from_host(G_store(getenv(TEMP))); is %TEMP% guaranteed to exist in Windows-land? How does the module react if it is not set and the user stays with the default or doesn't notice that the default is blank? Hamish

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Markus Neteler
On Sun, Jul 5, 2009 at 5:33 PM, Milton Cezar Ribeiromiltinho.astrona...@gmail.com wrote: Glynn: 2. The directory used for temporary files is controlled by the STREAM_DIR= option (renamed to stream_dir= in 7.0). /var/tmp is just the default setting. @Milton: please try this parameter to

Re: [GRASS-user] r.terraflow error for ASTER DEM.

2009-07-05 Thread Glynn Clements
Hamish wrote:  G_convert_dirseps_from_host(G_store(getenv(TEMP))); is %TEMP% guaranteed to exist in Windows-land? AFAIK, the only way that it won't exist is if the user manually unsets it. I wouldn't count upon the rest of Window working if you do that, though; Windows doesn't have a