[gradsusr] How to sum and merge in grads...???
Davide Sacchetti
davide.sacchetti at arpal.gov.it
Tue Oct 15 03:32:10 EDT 2013
set t 1
#day 1:
display sum(precipitation, t=1, t=8)
#day 2:
display sum(precipitation, t=9, t=17)
...
bye bye
Davide
On Mon, 2013-10-14 at 14:04 +0500, uzair manan wrote:
> Hi all,
>
> I've a regional model output file that contains data at 3-hr time
> interval i.e for one month we've
> 8*30days=240 so
>
> set t 1 240 is the expression that defines one month.
>
> My question is:-
>
> How can I sum the variable precipitation (pr) for 30 days (individual
> day) and obtaining the output from fprintf to a single file so that I
> don't have to generate 30 files (one for each day) for a month....???
>
>
>
>
>
> Best regards
>
> Uzair Mannan
> Cell: +923323489950
> NED University of Engineering & Technology
> Karachi, Pakistan
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
--
--> Attenzione cambio indirizzo: davide.sacchetti at arpal.gov.it
--
Davide Sacchetti
Centro Funzionale Meteo Idrologico di Protezione Civile della Regione Liguria
ARPAL Unità Tecnica Complessa di livello Regionale
V.le Brigare Partigiane 2 16121 Genova (I)
tel: +39 010 6437535 fax: +39 010 6437520
mail: davide.sacchetti at arpal.gov.it web: www.meteoliguria.it
More information about the gradsusr
mailing list