[GRASS-dev] r.watershed broken in grass7 trunk?

Soeren Gebbert soerengebbert at googlemail.com
Thu Apr 8 05:07:56 EDT 2010


Hi,
it seems to me that r.watershed is broken in the latest grass7 trunk version?
This may be related to r41705?

Example from the r.watershed manual with spearfish data produces an error:

grass_dev/grass_trunk> g.list rast
----------------------------------------------

raster files available in mapset <PERMANENT>:
aspect          erosion1        quads           soils           strm.dist
bugsites        fields          railroads       soils.Kfactor   texture
density         geology         roads           soils.Tfactor   tractids
elevation.10m   landcover.30m   rstrct.areas    soils.ph        transport.misc
elevation.dem   landcover.orig  rushmore        soils.range     trn.sites
elevation.dted  landuse         slope           spot.image      uparea
erode.index     owner           soil.br.depth   streams         vegcover

grass_dev/grass_trunk> g.region rast=elevation.dem

grass_dev/grass_trunk> r.watershed elev=elevation.dem accum=rwater.accum
ERROR: USAGE for basin delineation:
       /1/gebbert/src/grass_dev/grass_trunk/dist.i686-pc-linux-gnu/etc/r.watershed.ram
       -4 elevation=elevation_map threshold=swale_threshold
       [flow=overland_flow_map] [drainage=drain_direction_map]
       [depression=depression_map] [accumulation=accumulation_map]
       [basin=watershed_basin_map] [stream=stream_segment_map]

       USAGE for slope length determination:
       /1/gebbert/src/grass_dev/grass_trunk/dist.i686-pc-linux-gnu/etc/r.watershed.ram
       [-4] elevation=elevation_map threshold=swale_threshold
       [drainage=drain_direction_map] [depression=depression_map]
       [accumulation=accumulation_map] [max_slope_length=max_slope_length]
       [blocking=overland_blocking_map]
       [slope_steepness=slope_steepness_map] length_slope=length_slope_map
       [disturbed_land=rill_erosion_map] [slope_deposition=slope_deposition
       value or map]USAGE for ARMSED FILE creation:
       /1/gebbert/src/grass_dev/grass_trunk/dist.i686-pc-linux-gnu/etc/r.watershed.ram
       [-4] elevation=elevation_map threshold=swale_threshold
       [flow=overland_flow_map] [drainage=drain_direction_map]
       [depression=depression_map] [accumulation=accumulation_map]
       [basin=watershed_basin_map] [stream=stream_segment_map]
       [half_basin=half_basin_map] ar=ARMSED_file_name
WARNING: Subprocess failed with exit code 1
WARNING: category information for [rwater.accum] in [user1] missing or
         invalid


Any suggestions how to fix that?

Best regards
Soeren


More information about the grass-dev mailing list