Determining average value
BAKERWL at UWYO.EDU
BAKERWL at UWYO.EDU
Mon Oct 10 16:29:35 EDT 1994
Steve Culshaw writes on 10-Oct-94:
>...what I want is a single value, e.g. the average potential evaporation.
There may be an easier way, but if you don't find one, you can compile
the r.le programs (rle21tar.Z on moon in grass/incoming directory), then
use r.le.pixel:
r.le.pixel map=evaporation att=b1,b2
which will calculate the mean and standard deviation of the attributes
for each pixel inside the masked area of your watershed. The output
will be put in subdirectory "r.le.out" from where you run the command,
and it will be in file "b1-4.out" as follows:
scale unit mean st.dev. min max
Good luck.
Bill Baker
bakerwl at uwyo.edu
More information about the grass-user
mailing list