NCL Website header
NCL Home > Documentation > Functions > Spherical harmonic routines

vr2uvG_Wrap

Computes the rotational wind components via spherical harmonics, given an array containing relative vorticity on a gaussian 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 vr2uvG_Wrap (
		vr  : numeric   
	)

	return_val [2,dimsizes(vr)] :  float or double

Arguments

vr

vorticity array (input, array with two or more dimensions, last two dimensions must be nlat x nlon)

  • input values must be in ascending latitude order
  • array must be on a global grid

Description

This function is identical to vr2uvG, except the return value will have metadata added based on metadata attached to vr. See the vr2uvG page for full documentation and examples.