NCL Home > Documentation > Functions > Spherical harmonic routines

dv2uvF_Wrap

Computes the divergent (irrotational) wind components for a fixed grid via spherical harmonics and 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 dv2uvF_Wrap (
		dv  : float or double   
	)

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

Arguments

dv

Divergence array (input, two or more dimensions, where the rightmost two dimensions must be lat x lon)

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

Description

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