NCL Home >
Documentation >
Functions >
Spherical harmonic routines
v
uv2vrF_Wrap
Computes the vorticity via spherical harmonics, given the u and v wind components on a fixed grid (retains metadata).
Prototype
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl" ; This library is automatically loaded
; from NCL V6.2.0 onward.
; No need for user to explicitly load.
function uv2vrF_Wrap (
u : numeric,
v : numeric
)
return_val [dimsizes(u)] : float or double
Arguments
uv
wind components (input, arrays with two or more dimensions, last two dimensions must be nlat x nlon)
- input values must be in ascending latitude order
- input array must be on a global grid
Description
This function is identical to uv2vrF, except the return value will have metadata added based on metadata attached to u and v. See the uv2vrF page for full documentation and examples.