[ncl-talk] Running average

Oluwaseun Ilori wilseun at gmail.com
Mon Dec 3 02:44:02 MST 2018


Cdo will do it easily and better

cdo -timselmean,5 infile outfile


On Mon, Dec 3, 2018, 10:36 AM Soma Roy <somaroy892 at gmail.com wrote:

> Hello,
>
> I am using daily gridded rainfall datasets.
> I want to compute 5 days and 7 days running avg. of rainfall from the
> datasets over each grid points.
>
> Structure of the input file is like below;
>
> Rain (730, 129, 135)  ; (time (365*2), lat, lon)
>
> Please kindly inform me which function should I use in this case.
>
> Thanking you,
> Soma
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181203/3892850e/attachment.html>


More information about the ncl-talk mailing list