NCL Home > Documentation > Functions > Regridding

f2foshv_Wrap

Interpolates a vector quantity on a fixed grid (including pole points) to a fixed-offset 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 f2foshv_Wrap (
		ureg  : numeric,  
		vreg  : numeric,  
		uoff  : float,    ; or double
		voff  : float     ; or double
	)

Arguments

ureg
vreg

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

uoff
voff

(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 ureg and vreg arrays, except the latitude dimension must have one less element.

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

Description

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