[GRASS5] [bug #4311] (grass) shaded relief parameter checking
Michael Barton
michael.barton at asu.edu
Wed Apr 19 17:46:02 EDT 2006
I changed the sun angle check error message to match the documentation and
the script code. See below.
Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
> From: Request Tracker <grass-bugs at intevation.de>
> Reply-To: Request Tracker <grass-bugs at intevation.de>
> Date: Wed, 19 Apr 2006 17:50:50 +0200 (CEST)
> To: <grass5 at grass.itc.it>
> Subject: [GRASS5] [bug #4311] (grass) shaded relief parameter checking
>
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4311
> -------------------------------------------------------------------------
>
> Subject: shaded relief parameter checking
>
> Platform: GNU/Linux/x86_64
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> GRASS Version: 6.1
>
> There is a bug in r.shaded.relief where the input parameters are
> checked, especially the azimuth.
>
> the current version reads:
> ================
> if test $alt -lt 0 -o $alt -gt 90
> then
> echo "Sorry, altitude must be greater than 0 and less than 90"
changed to "Sorry, altitude must be between 0 and 90"
> exit 1
> fi
>
> if test $az -lt 0 -o $alt -gt 360
> then
> echo "Sorry, azimuth must be between 0 and 360"
> exit 1
> fi
>
More information about the grass-dev
mailing list