[ncl-talk] curl function

Dennis Shea shea at ucar.edu
Thu Nov 14 06:21:17 MST 2019


NCL has  several *functions*
<https://www.ncl.ucar.edu/Document/Functions/list_alpha.shtml> for
computing derivatives (gradients).
   component of wind stress Curl = (d(tauv)/dx) -(d(tauu)/dy) ===> dv/dx -
du/dy
The 'd(tauv)/dx' and 'd(tauu)/dy' are zonal and meridional gradients
(derivatives).

The spherical harmonic based functions are highly accurate but can only
used with global grids and no missing values.

   *https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsg.shtml*
<https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsg.shtml>
   *https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsf.shtml*
<https://www.ncl.ucar.edu/Document/Functions/Built-in/gradsf.shtml>

*https://www.ncl.ucar.edu/Document/Functions/Contributed/grad_latlon_cfd.shtml*
<https://www.ncl.ucar.edu/Document/Functions/Contributed/grad_latlon_cfd.shtml>

*https://www.ncl.ucar.edu/Document/Functions/Built-in/center_finite_diff.shtml*
<https://www.ncl.ucar.edu/Document/Functions/Built-in/center_finite_diff.shtml>

*
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>*

Some Examples: *https://www.ncl.ucar.edu/Applications/gradients.shtml*
<https://www.ncl.ucar.edu/Applications/gradients.shtml>
===
If you have NCL 6.6.2, you could also use the following with *opt=1*

*https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml*
<https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml>
*or*
*https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform_cfd.shtml
<https://www.ncl.ucar.edu/Document/Functions/Contributed/shear_stretch_deform.shtml>*


On Wed, Nov 13, 2019 at 8:00 PM Amarjiit Vikkas Pandde via ncl-talk <
ncl-talk at ucar.edu> wrote:

> Dear NCL users,
>
> I am trying to calculate the z component of the wind stress curl (tauu and
> tauv).
> Z component of wind stress Curl = (d(tauv)/dx) -(d(tauu)/dy)
> what is the best way to calculate curl?
> is there a function for calculating curl or derivative?
>
> Thank you in advance,
>  Amarjiit
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20191114/0c6f7441/attachment.html>


More information about the ncl-talk mailing list