[ncl-talk] Assessing the length of above and below average streaks in de-trended datasets

Adam Phillips asphilli at ucar.edu
Thu May 9 10:27:39 MDT 2019


Hi Toni,
See example #3 in the dim_numrun_n documentation:
http://www.ncl.ucar.edu/Document/Functions/Built-in/dim_numrun_n.shtml
Adam

On Thu, May 9, 2019 at 10:22 AM Toni Klemm <toni-klemm at tamu.edu> wrote:

> Hello NCL community,
>
> I have a dataset of de-trended precipitation and temperature projections
> from 2020 to 2099, and I’m trying to count the number of consecutive years
> with above and below zero data, in other words the length of wet/dry or
> warm/cool periods, for 20-year periods (2020-2039, 2040-2059, …) on a grid
> cell basis (241 latitudes, 457 longitudes = 110,137 grid cells). Is there a
> function in NCL that can do that somehow? It seems really cumbersome trying
> to do this through if and do loops.
>
> Thank you very much for your help!
>
> Toni
>
>
>
> *Toni Klemm, Ph.D.*Postdoctoral Research Associate
> Department of Ecosystem Science and Management
> College of Agriculture and Life Sciences
> Texas A&M University, College Station, TX
> www.toni-klemm.de | @toniklemm <http://twitter.com/toniklemm>
> Editorial Board member, Early Career Climate Forum
> <http://www.eccforum.org/>
>
>
>
>
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


-- 
Adam Phillips
Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/   303-497-1726

<http://www.cgd.ucar.edu/staff/asphilli>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190509/5e40bf85/attachment.html>


More information about the ncl-talk mailing list