PopLatLon
Regrids a scalar variable on a POP grid to a lat/lon grid or vice-versa.
Prototype
procedure PopLatLon ( x : numeric, grd_src : string, grd_dst : string, method : string, area_type : string, date : string ) return_val : numeric
Arguments
xThe 3 or 4 dimensional variable to be regridded. Typically, the variable has dimensions like (time,lat,lon) or (time,lev,lat,lon).
grd_srcString specifying the POP model grid: eg, "gx1v3"
grd_dstString specifying the output grid: eg, "1x1d", "1.9x2.5"
methodString specifying the method used to interpolate/regrid. There are two choices: "bilin" or "area".
area_typeString specifying the area "da"
dateString specifying the date the weight file was generated: eg, "010808"
Description
For historical reasons, the substrings are used to create the name of the weight file to be used. (The weight file is not generated by NCL.)
See Also
Examples
This function requires that following libraries be loaded prior to invoking the function:
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/popRemap.ncl"
See the examples on the "Pop==>Lat/Lon" applications page for examples on how to use this function.