[ncl-talk] calculate moving(or running) percentile on times series

Barry Lynn barry.h.lynn at gmail.com
Thu Apr 19 06:41:38 MDT 2018


To start, are you familiar with:

  do j = 0,dims_o(0)-1

   dfp_rave(j,:) = *run**ave*(dfp_o(j,:),18,0)

  end do



As to the 85th percentile, you need to figure out what it is, and then use
the where statement.

Please try and then write again (to the list) when you have questions.

Barry

On Thu, Apr 19, 2018 at 2:36 PM, Sancta Vega <sanctavega at gmail.com> wrote:

> Hi,
> I would like to get number of days over a daily threshold during (Jan-dec
> 1800-1829 period).
> The threshold is calculated using a moving(or running percentile 85th)
> over this period.
>
> Could you please help me or give me an example of ncl script?
>
> Thanks
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>


-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180419/11566e0b/attachment.html>


More information about the ncl-talk mailing list