I just updated and compiled today.
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>
On Sun, Dec 21, 2008 at 4:22 PM, Michael Barton <michael.barton@asu.edu> wrote:
I just updated and compiled today.
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
____________________
Hmmm.. Works for me, same data, same incantation.
r34983 in Debian/Unstable - x86
Cheers,
Dylan
PS: looks like now would be a good time to get the test suite back online...
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/~cmbarton>>
------------------------------------------------------------------------
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
On Dec 22, 2008, at 2:19 AM, Markus Metz wrote:
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] Ticket #398 – Attachments – GRASS GIS
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
Fixed now. I deleted all of r.watershed, did an SVN update, and applied the patch. Thanks for the help.
Any chance that MFD will be backported to 6.4?
Michael