NCL Home > Documentation > Functions > Regridding

g2fshv_Wrap

Interpolates a vector quantity from a Gaussian grid to 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.

	procedure g2fshv_Wrap (
		ua  : numeric,  
		va  : numeric,  
		ub  : float,    ; or double
		vb  : float     ; or double
	)

Arguments

ua
va

Vector arrays of 2 or more dimensions whose rightmost two dimensions must be latitude x longitude. The values must be in ascending latitude order.

ub
vb

(output)
Vector arrays of 2 or more dimensions whose rightmost two dimensions must be latitude x longitude. Values will be in ascending latitude order. All but the two rightmost dimensions must be the same as all but the two rightmost dimensions of ua and va.

Since g2fshv_Wrap is a procedure, the user must explicitly preallocate memory for these return arrays.

Description

This procedure is identical to g2fshv, except ub and vb will have metadata added based on metadata attached to ua and va. See the g2fshv page for full documentation and examples.