NCL Home > Documentation > Functions > Regridding

f2fshv_Wrap

Interpolates a vector quantity from one fixed grid to another (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 f2fshv_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 f2fshv_Wrap is a procedure, the user must explicitly preallocate memory for these return arrays.

Description

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