
rcm2rgrid_Wrap
Interpolates data on a curvilinear grid (i.e. RCM, WRF, NARR) to a rectilinear grid and 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 rcm2rgrid_Wrap ( lat2d [*][*] : numeric, lon2d [*][*] : numeric, fi : numeric, lat [*] : numeric, lon [*] : numeric, Option : numeric ) return_val : numeric
Arguments
lat2dA two-dimensional array that specifies the latitude locations of fi. Because this array is two-dimensional it is not an associated coordinate variable of fi. The latitude order must be south-to-north.
lon2dA two-dimensional array that specifies the longitude locations of fi. Because this array is two-dimensional it is not an associated coordinate variable of fi. The longitude order must be west to east.
fiA multi-dimensional array to be interpolated. The rightmost two dimensions (latitude, longitude) are the dimensions to be interpolated.
latA one-dimensional array that specifies the latitude coordinates of the regular grid. Must be monotonically increasing.
lonA one-dimensional array that specifies the longitude coordinates of the regular grid. Must be monotonically increasing.
OptionReserved for future use. Currently not used. Set to 1.
Description
This function is identical to rcm2rgrid, except the return value will have metadata added based on metadata attached to fi. See the rcm2rgrid page for full documentation and examples.