<div dir="ltr">Looks correct to me.<br><br>Jeff<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 25, 2014 at 5:20 PM, Djordje Romanic <span dir="ltr">&lt;<a href="mailto:djordje8@gmail.com" target="_blank">djordje8@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><div><div><div><div>Hi all, <br><br></div>Last couple of days I am doing some pressure gradient calculations so I wanted to double check my methodology for calculating the pressure gradients in GrADS. <br>


<br></div>This is how I am doing it: <br><br>&#39;define dx = 6.371e3 * cos(lat * 3.14159/180) * cdiff(lon * 3.14159/180, x)&#39;<br>&#39;define dy = 6.371e3 * cdiff(lat * 3.14159/180, y)&#39; <br><br>&#39;define pg = mag(cdiff(slp,x)/dx, cdiff(slp, y)/dy)&#39;<br>


<br></div>Basically, I am defining dx and dy using cdiff function. Then, I find the magnitude of the pressure gradient using mag of cdiff of my mean sea level pressure over the above-mentioned dx and dy. <br><br></div>My slp in NetCDF data is in Pascals and radius of the Earth is in km. so my pressure gradient units are Pa/km. <br>


<br><br></div><div>If anyone has experience with the pressure gradient calculations in GrADS, please could you confirm if this methodology is good? <br><br>Cheers,<br>Djordje<br></div></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br>
</div>