[GRASS-dev] r.watershed fails in 6.4 SVN

Markus Metz markus.metz.giswork at googlemail.com
Mon Dec 22 04:19:50 EST 2008



Michael Barton wrote:
> I just updated and compiled today.
In case you have modified front/main.c to fix that length.slope bug, 
there may now be a svn conflict in front/main.c. Maybe it works if you 
delete front/main.c and svn up again to get a new copy. Then, after 
updating, the patch sent by Glynn or the path for grass64 at [1] can be 
applied to get a proper error message.

[1] http://trac.osgeo.org/grass/attachment/ticket/398

Markus M

>
> r.watershed compiles without problems, but it fails when you try to 
> run it. It worked OK yesterday. Here is the error from Spearfish.
>
> GRASS 6.4.svn (Spearfish60_test):~ > r.watershed 
> elevation=elevation.dem accumulation=atest_delete1
> ERROR: USAGE for basin delineation:
>        
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc/r.watershed.ram
>        -4 el=elevation_map t=swale_threshold [ov=overland_flow_map]
>        [dr=drain_direction_map] [de=depression_map] [ac=accumulation_map]
>        [di=display_map] ba=watershed_basin_map [se=stream_segment_map]
>
>        USAGE for ARMSED FILE creation:
>        
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc/r.watershed.ram
>        [-4] el=elevation_map t=swale_threshold [ov=overland_flow_map]
>        [dr=drain_direction_map] [de=depression_map] [ac=accumulation_map]
>        [di=display_map] [ba=watershed_basin_map] [se=stream_segment_map]
>        ha=half_basin_map ar=ARMSED_file_name
>
>        USAGE for slope length determination:
>        
> /Applications/Grass/GRASS-6.4.app/Contents/MacOS/etc/r.watershed.ram
>        [-4] el=elevation_map t=swale_threshold [dr=drain_direction_map]
>        [de=depression_map] [ac=accumulation_map] [di=display_map]
>        [ms=max_slope_length] [ob=overland_blocking_map]
>        [S=slope_steepness_map] LS=length_slope_map [r=rill_erosion_map]
>        [sd=slope_deposition value or map]
> WARNING: Subprocess failed with exit code 256
> WARNING: category information for [atest_delete1] in [PERMANENT] 
> missing or
>          invalid
>
> Same (not very informative) error if I use -s or specify ls.factor for 
> the output
>
> Michael
> ____________________
> C. Michael Barton, Professor of Anthropology
> Director of Graduate Studies
> School of Human Evolution & Social Change
> Center for Social Dynamics & Complexity
> Arizona State University
>
> Phone: 480-965-6262
> Fax: 480-965-7671
> www: <www.public.asu.edu/~cmbarton 
> <http://www.public.asu.edu/%7Ecmbarton>>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev


More information about the grass-dev mailing list