<div dir="ltr">The WRF vorticity fortran code could possible be modified to compute divergence. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 23, 2015 at 9:49 AM, Packard Chan <span dir="ltr">&lt;<a href="mailto:packard.chan@gmail.com" target="_blank">packard.chan@gmail.com</a>&gt;</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>Hi Corey,<br><br></div>If you are using WRF, you might also want to try the following.<br><pre><span style="font-family:monospace,monospace">load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl&quot;
load &quot;$NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl&quot;<br>...<br></span></pre><pre><span style="font-family:monospace,monospace">avo = wrf_user_getvar(filehandle, &quot;avo&quot;, time)</span><br><br></pre><pre><span style="font-family:arial,helvetica,sans-serif">The subroutine &quot;DCOMPUTEABSVORT&quot; will be eventually called by this function.<br>Attached is the source code that gives the implementation of the subroutine, which is available in the source code of NCL.<br>ncl_ncarg-6.2.1/ni/src/lib/nfpfort/wrf_pvo.f<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Good luck.<br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Packard<span class="HOEnZb"><font color="#888888"><br></font></span></span></pre></div><div class="gmail_extra"><span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div dir="ltr"><div><div><div>Packard Chan<br></div><div>Year 4 undergraduate<br>Major in Atmospheric Sciences</div>School of Physics, Peking University<br></div></div>Mobile: <span>(86)188-1050-8009</span></div></div></div></font></span><div><div class="h5">
<br><div class="gmail_quote">On Fri, Jan 23, 2015 at 4:28 AM, Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</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><div>NCL does not have a function for this. (WRF =&gt; deivergence<br><br></div>I have asked several people associated with WRF for some fortran or C code we could implemet from within NCL. The answer is &quot;none is available&quot;. <br><br></div>See<br><br><a href="http://www.ncl.ucar.edu/Applications/ESMF.shtml" target="_blank">http://www.ncl.ucar.edu/Applications/ESMF.shtml</a><br></div>See Example 29<br><br></div>Maybe this would work for you.<br><br></div>D<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 7:37 AM, Corey Potvin - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:corey.potvin@noaa.gov" target="_blank">corey.potvin@noaa.gov</a>&gt;</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>Hi Dennis,<br><br></div>It&#39;s Arakawa-C, non-idealized WRF.<span><font color="#888888"><br><br>Corey<br></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 22, 2015 at 8:18 AM, Dennis Shea <span dir="ltr">&lt;<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>&gt;</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>Off line.<br><br></div>What type of grid do you have?<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">D<br></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div><div><div>On Thu, Jan 22, 2015 at 6:23 AM, Corey Potvin - NOAA Affiliate <span dir="ltr">&lt;<a href="mailto:corey.potvin@noaa.gov" target="_blank">corey.potvin@noaa.gov</a>&gt;</span> wrote:<br></div></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div><div><div dir="ltr"><div><div>Hello,<br><br></div>Could someone please tell me what (u,v) stencil is used to compute absolute vorticity, or direct me to the relevant script? <br><br></div>Thanks!<span><font color="#888888"><br><br>Corey<br clear="all"><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">******************<br>Corey Potvin, Ph.D.<br>Research Scientist, </span><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">Cooperative Institute for Mesoscale Meteorological Studies and</span></div><div><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">NOAA/National Severe Storms Lab</span></div><div dir="ltr"><font color="#000000" face="Tahoma"><span style="border-collapse:separate">Adjunct Assistant Professor, University of Oklahoma<br></span></font><div><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">National Weather Center</span></div><div><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">Norman, Oklahoma<br>Office: <a href="tel:%28405%29%20325-6674" value="+14053256674" target="_blank">(405) 325-6674</a><br>Cell: <a href="tel:%28405%29%20206-0485" value="+14052060485" target="_blank">(405) 206-0485</a></span><br></div></div></div></div></div>
</div></div></div></font></span></div>
<br></div></div></div></div><span><span>_______________________________________________<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></span></span></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><br><span>-- <br><div><div dir="ltr"><div><div dir="ltr"><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">******************<br>Corey Potvin, Ph.D.<br>Research Scientist, </span><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">Cooperative Institute for Mesoscale Meteorological Studies and</span></div><div><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">NOAA/National Severe Storms Lab</span></div><div dir="ltr"><font color="#000000" face="Tahoma"><span style="border-collapse:separate">Adjunct Assistant Professor, University of Oklahoma<br></span></font><div><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">National Weather Center</span></div><div><span style="font-family:Tahoma;border-collapse:separate;color:rgb(0,0,0)">Norman, Oklahoma<br>Office: <a href="tel:%28405%29%20325-6674" value="+14053256674" target="_blank">(405) 325-6674</a><br>Cell: <a href="tel:%28405%29%20206-0485" value="+14052060485" target="_blank">(405) 206-0485</a></span><br></div></div></div></div></div>
</span></div>
</div></div></blockquote></div><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></div></div>
</blockquote></div><br></div>