[GRASS-user] 10day accumulation which t.rast module to use?

maning sambale emmanuel.sambale at gmail.com
Thu Dec 4 03:32:33 PST 2014


>
> Oh, I see... then, t.rast.accumulate is what you need. The default method
> "mean" does the sum.

So "mean" is actually sum?

>
> Maybe, something like this (please re-check the cycle and granularity
> parameters, i didn't test)
>
> t.rast.accumulate input=3hr_rainrate output=10day_acum_precip
> base=10day_acc_prec start="2001-01-01" end="2001-01-20" cycle="10 days"
> granularity="1 days" method=mean
I tried this, "end" should be "stop"

t.rast.accumulate --overwrite input=10day_hourly
output=10day_accumulation base=10day_accumulation \
start="2014-11-04 11:00:00" stop="2014-12-04 11:00:00" cycle="10 days"
granularity="1 days" method=mean

The process wouldn't stop, my area is very small so I expect it to
finish in less than an hour:
> g.region -p
projection: 3 (Latitude-Longitude)
zone:       0
datum:      wgs84
ellipsoid:  wgs84
north:      22N
south:      4N
west:       115E
east:       155E
nsres:      0:15
ewres:      0:15
rows:       72
cols:       160
cells:      11520

-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------


More information about the grass-user mailing list