[ncl-talk] confirm the first day greater than 0 degree

Dennis Shea shea at ucar.edu
Sat Dec 7 10:34:04 MST 2019


There is no existing NCL function for what you want. Still, *dim_minind*
<http://www.ncl.ucar.edu/Document/Functions/Contributed/dim_minind.shtml>
can be used if the
data array is pretreated [tricked].

See attached.

%> ncl tst.1st_occurence.ncl

On Thu, Dec 5, 2019 at 10:15 PM WIND via ncl-talk <ncl-talk at ucar.edu> wrote:

> Dear all,
>
> Thanks for reading, I'm dealing with the three-dimensional grid
> temperature data (ordered by time, lat, lon). I want to confirm the first
> day (position in the time dimension) in each lat/lon that the temperature
> is greater than 0. It's hard for me to think about how to write the "if"
> statement. Are there some relevant statistics function in NCL? It will be
> so nice that anyone would provide some advice.
> Any help would be appreciated!
>
> Sincerely,
> Wind
> _______________________________________________
> 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/20191207/9f63fd37/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: first_occurence_ind.ncl
Type: application/octet-stream
Size: 3098 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191207/9f63fd37/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tst.1st_occurence.ncl
Type: application/octet-stream
Size: 2002 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191207/9f63fd37/attachment-0001.obj>


More information about the ncl-talk mailing list