<div dir="ltr"><div><div><div><div>As noted by Thomas, I made a mistake <br><br>=======<br></div><div><br>I noted the issue here:<br> <a href="http://www.ncl.ucar.edu/current_release.shtml">http://www.ncl.ucar.edu/current_release.shtml</a><br><br></div>==<br></div><div>The 6.4.0 contributed.ncl supports both names.<br></div><div><br>undef("advect_var")<br>function advect_var (u:numeric, v:numeric, x:numeric,gridType[1]:integer <br> ,long_name:string, units:string, iopt[1]:integer)<br></div><div>begin<br></div>[SNIP]<br></div>end<br></div>;====================> Fix documentation name problem<br><div>undef("advect_variable")<br>function advect_variable (u:numeric, v:numeric, x:numeric,gridType[1]:integer <br> ,long_name:string, units:string, iopt[1]:integer)<br>; advect_variable was the original function<br>begin<br> return( advect_var(u, v, x, gridType, long_name, units, iopt) )<br>end<br>;---<br><br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 9, 2016 at 10:23 AM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</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 class="gmail_default" style="font-size:small">Xiaoxin,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This funcction apparently used to be in "shea_util.ncl", and it was supposed to get moved to "contributed.ncl", but it seems that never happened. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I've been trying to find the function so I could attach it here, but no luck yet. I'll see if Dennis knows where it is.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 8, 2016 at 11:23 AM, Yang, Xiaoxin <span dir="ltr"><<a href="mailto:yang.1143@osu.edu" target="_blank">yang.1143@osu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Dear Thomas,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thank you for the reply.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Then I tried to calculate the vertical weighted sum using “wgt_vertical_n”, and encountered the same problem.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Fatal: Undefined identifier: (wgt_vertical_n) is undefined, can’t continue.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Is there a typo in the documentation too? I was wondering what should the right function be to conduct vertical integration.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks in advance.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Xiaoxin<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Thomas Tobian [mailto:<a href="mailto:thomastobian@gmail.com" target="_blank">thomastobian@gmail.com</a>]
<br>
<b>Sent:</b> 2016Äê5ÔÂ8ÈÕ 12:58 AM<br>
<b>To:</b> Yang, Xiaoxin <<a href="mailto:yang.1143@osu.edu" target="_blank">yang.1143@osu.edu</a>><br>
<b>Cc:</b> <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
<b>Subject:</b> Re: [ncl-talk] advect_variable problem<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Use "advect_var" instead. There is a typo in the documentation.</span><u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Best,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">Thomas</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Sat, May 7, 2016 at 10:53 PM, Yang, Xiaoxin <<a href="mailto:yang.1143@osu.edu" target="_blank">yang.1143@osu.edu</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">Dear all,<u></u><u></u></p>
<p class="MsoNormal">I was running NCL version 6.3.0. Yet when I tried using advect_variable function, I got a mistake:<u></u><u></u></p>
<p class="MsoNormal">Fatal: undefined identifier: (advect_variable) is undefined, can’t continue.<u></u><u></u></p>
<p class="MsoNormal">Can anybody help?<u></u><u></u></p>
<p class="MsoNormal">Best,<u></u><u></u></p>
<p class="MsoNormal">Xiaoxin<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<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" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>
<br>_______________________________________________<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><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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><br>
<br></blockquote></div><br></div>