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

Toni Klemm toni-klemm at tamu.edu
Thu May 9 10:21:59 MDT 2019


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 <http://www.toni-klemm.de/> | @toniklemm <http://twitter.com/toniklemm>
Editorial Board member, Early Career Climate Forum <http://www.eccforum.org/>







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190509/77e903e6/attachment.html>


More information about the ncl-talk mailing list