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

ilapsG_Wrap

Inverts the Laplacian (on a gaussian grid) using 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 ilapsG_Wrap (
		zlap    : numeric,  
		zlmbda  : numeric   
	)

	return_val [dimsizes(zlap)] :  float or double

Arguments

zlap

An array of two or more dimensions containing the Laplacian values to invert. Last two dimensions must be lat and lon. Values must be in ascending latitudinal order. Grid must be global.

zlmbda

A constant if zlap is a two-dimensional. If zlap has three or more dimensions then must be the same size as zlap minus the rightmost two dimensions.

Description

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