Nearest neighbor remapping
remapnn.Rd
This module contains operators for a nearest neighbor remapping of fields between grids in spherical coordinates.
Usage
cdo_gennn(ifile, grid = NULL, map3d = NULL, ofile = NULL)
cdo_remapnn(ifile, grid = NULL, map3d = NULL, ofile = NULL)
Details
remapnn Nearest neighbor remapping
Performs a nearest neighbor remapping on all input fields.
gennn Generate nearest neighbor remap weights
Generates nearest neighbor remapping weights for the first input field and writes the result to a file.
The format of this file is NetCDF following the SCRIP convention.
Use the operator remap to apply this remapping weights to a data file with the same source grid.
Set the parameter map3d=true to generate all mapfiles of the first 3D field with varying masks.
In this case the mapfiles will be named <outfile><xxx>.nc. xxx will have five digits with the number of the mapfile.