<div dir="ltr"><div dir="ltr"><div>There is no existing NCL function for what you want. Still, <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/dim_minind.shtml" target="_blank"><b>dim_minind</b></a> can be used if the</div><div>data array is pretreated [tricked].</div><div><br></div><div>See attached. <br></div><div><br></div><div>%> ncl tst.1st_occurence.ncl</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Dec 5, 2019 at 10:15 PM WIND via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Dear all,</div>
<div> </div>
<div>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.</div>
<div>Any help would be appreciated!</div>
<div> </div>
<div>Sincerely,</div>
<div>Wind</div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div></div>