<div dir="ltr">If you have code to do it with fortran, I would suggest using that code.<div><br></div><div>NCL loses the most speed when performing calculations within nested loops, and will likely prove to be much slower than fortran for a given task. Since the "how" of performing an integral varies greatly depending on the data format, I don't believe there are any pre-built generic NCL solutions. However, you may gain some insight if you can find the code for the atmospheric angular momentum function, angmom_atm, in which the documentation states a triple integral is calculated. Not having a copy of the source code handy, I can't provide you with that code, but you could find it yourself if you download the source code or have a developer send you a copy of the code.</div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/angmom_atm.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/angmom_atm.shtml</a><br></div><div><br></div><div>Good luck!</div><div><br></div><div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 19, 2015 at 11:55 AM, Erika Folova <span dir="ltr"><<a href="mailto:e.folova@gmail.com" target="_blank">e.folova@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hello ncl users,<br><br></div>Anyone can suggest me a tip how to compute triple integral efficiently using ncl?<br></div>is there any example? In my case, I need to compute the enstrophy.. I have a fortran code but Im just wondering if I can do this also in ncl.<br><br></div>Cheers,<br></div>Folova<br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>