Hi all,
I’m running into problems with r.basin (Grass 7.0 in Ubuntu 14.04 lts).
I use:
*"*g.region -p -a raster=Input_DTM@user align=Input_DTM@user"
“r.basin -a --overwrite map=Input_DTM@user prefix=out coordinates=x0,y0 dir=/home/usr/ threshold=200”
It works fine when I use the GRASS GIS sample data “North Carolina”. Using the data I’m working on I receive instead this error message:
"…
Updating database…
100%
1 categories read from vector map (layer 1)
1 records selected from table (layer 1)
1 categories read from vector map exist in selection from table
1 records updated/inserted (layer 1)
Fetching data…
------------------------------
An ERROR occurred running r.basin
Please check for error messages above or try with another pairs of outlet coordinates
Removing region definition "
I tried different pairs of outlet coordinates without success. Looking at the results, the problem seems related to the r.stream.extract module which fails in outputting the rasters related to the stream network (e.g. out_stream_e, ut_stream_horton etc). All these raster maps show only a pixel at the outlet snap point position.
If i try the r.stream.extract module:
“r.stream.extract --overwrite elevation=<Input_DTM> accumulation=<out_accumulation”> I get this error:
“ERROR: Accumulation raster map is NULL but elevation map is not NULL”.
The r.watershed and r.water.outlet modules work fine instead.
Does anyone know what the problem is ?
Thank you,
Cheers, Enzo.
Connetti gratis il mondo con la nuova indoona: hai la chat, le chiamate, le video chiamate e persino le chiamate di gruppo.
E chiami gratis anche i numeri fissi e mobili nel mondo!
Scarica subito l’app Vai su https://www.indoona.com/