
cssgrid_Wrap
Uses tension splines to interpolate unstructured (randomly-spaced) data on a unit sphere to data values on a rectilinear 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. function cssgrid_Wrap ( rlat [*] : numeric, rlon [*] : numeric, fval : numeric, plat [*] : numeric, plon [*] : numeric ) return_val : float or double
Arguments
rlatrlon
Arrays containing latitude and longitude values specifying locations of the input data. rlat and rlon are one-dimensional arrays of the same size, specified in degrees. The first three points must not lie on a common great circle.
fvalAn array containing data values. fval can have any number of dimensions, but the final dimension must be the same size as that of rlat and rlon. This allows for multiple input datasets defined at the coordinates specified by rlat and rlon.
platAn array containing the latitudes, in degrees, of the output grid lines.
plonAn array containing the longitudes, in degrees, of the output grid lines.
Description
This function is identical to cssgrid, except the return value will have metadata added based on fval. See the cssgrid page for full documentation and examples.