<div dir="ltr"><div>NCL has  several <a href="https://www.ncl.ucar.edu/Document/Functions/list_alpha.shtml"><b>functions</b></a> for computing derivatives (gradients).</div><div>   component of wind stress Curl = (d(tauv)/dx) -(d(tauu)/dy) ===> dv/dx - du/dy</div><div>The 'd(tauv)/dx' and 'd(tauu)/dy' are zonal and meridional gradients (derivatives).</div><div><br></div><div>The spherical harmonic<b> </b>based functions are highly accurate but can only used with global grids and no missing values.<br></div><div><br></div><div>   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsg.shtml"><b>https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsg.shtml</b></a></div><div>   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsf.shtml"><b>https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsf.shtml</b></a></div><div>   <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/grad_latlon_cfd.shtml"><b>https://www.ncl.ucar.edu/Document/Functions/Contributed/grad_latlon_cfd.shtml</b></a></div><div>   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/center_finite_diff.shtml"><b>https://www.ncl.ucar.edu/Document/Functions/Built-in/center_finite_diff.shtml</b></a></div><div><b>   <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/center_finite_diff_n.shtml">https://www.ncl.ucar.edu/Document/Functions/Built-in/center_finite_diff_n.shtml</a><br></b></div><div><br></div><div>Some Examples:<b> </b><a href="https://www.ncl.ucar.edu/Applications/gradients.shtml"><b>https://www.ncl.ucar.edu/Applications/gradients.shtml</b></a> <br></div><div><b></b></div><div>===<br></div><div>If you have NCL 6.6.2, you could also use the following with <b>opt=1</b></div><div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml"><b>https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml</b></a></div><div><b>or</b><br></div><div><b><a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml"><b>https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform_cfd.shtml</b></a></b></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 13, 2019 at 8:00 PM Amarjiit Vikkas Pandde via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear NCL users, <div><br></div><div>I am trying to calculate the z component of the wind stress curl (tauu and tauv). </div><div>Z component of wind stress Curl = (d(tauv)/dx) -(d(tauu)/dy)</div><div>what is the best way to calculate curl?</div><div>is there a function for calculating curl or derivative?</div><div><br></div><div>Thank you in advance,</div><div> Amarjiit</div></div>
_______________________________________________<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></blockquote></div>