
f2gshv_Wrap
Interpolates a vector quantity on a fixed grid to a Gaussian grid (optional truncation) (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 f2gshv_Wrap ( ua : numeric, va : numeric, ub : float, ; or double vb : float, ; or double twave [1] : integer )
Arguments
uava
Vector arrays of 2 or more dimensions whose rightmost two dimensions must be latitude x longitude. The values must be in ascending latitude order.
ubvb
(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 f2gshv_Wrap is a procedure, the user must explicitly preallocate memory for these return arrays.
twaveScalar integer indicating the optional wave truncation:
-
twave = 0 => exact interpolation
twave > 0 => exact interpolation and triangular truncation at twave
twave < 0 => exact interpolation, triangular truncation at twave and spectral coefficient tapering (the effect is to smooth the data)
Description
This procedure is identical to f2gshv, except ub and vb will have metadata added based on metadata attached to ua and va. See the f2gshv page for full documentation and examples.