<br><br><div class="gmail_quote">On Sun, May 6, 2012 at 9:44 PM, Jeff Duda <span dir="ltr"><<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You can't use cdiff in the vertical. You must calculate the derivative using a manual centered difference. For example, 'd 0.5*(geopot(z+1)-geopot(z-1))'<div><br></div></blockquote><div><br></div><div>If you are using opengrads, there are functions designed for computing vertical advection, see</div>
<div><br></div><div> <a href="http://opengrads.org/doc/udxt/libbjt/libbjt.html#advection_functions">ADVECTION FUNCTIONS</a></div><div><br></div><div> </div><div> Arlindo</div><div><br></div></div><div><br></div>-- <br>
<font face="'comic sans ms', sans-serif" size="6" color="#006600"><span style="font-family:Helvetica;font-size:12px"></span><span></span><span></span>Arlindo da Silva</font><br><font size="4"><i><a href="mailto:dasilva@alum.mit.edu" target="_blank">dasilva@alum.mit.edu</a></i></font><br>