NCL Home > Documentation > Functions > Regridding

fo2fshv_Wrap

Interpolates a vector quantity from a fixed-offset 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 fo2fshv_Wrap (
		uoff  : numeric,  
		voff  : numeric,  
		ureg  : float,    ; or double
		vreg  : float     ; or double
	)

Arguments

uoff
voff

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

ureg
vreg

(output)
Vector arrays of 2 or more dimensions whose rightmost two dimensions must be latitude x longitude. Values will be in ascending latitude order.

The arrays must be the same size as the uoff and voff arrays, except the latitude dimension must have one extra element.

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

Description

This procedure is identical to fo2fshv, except ureg and vreg will have metadata added based on metadata attached to uoff and voff. See the fo2fshv page for full documentation and examples.