cdo_remap | R Documentation |
Interpolation between different horizontal grids can be a very time-consuming process. Especially if the data are on an unstructured and/or a large grid. In this case the interpolation process can be split into two parts. Firstly the generation of the interpolation weights, which is the most time-consuming part. These interpolation weights can be reused for every remapping process with the operator remap. This operator remaps all input fields to a new horizontal grid. The remap type and the interpolation weights of one input grid are read from a NetCDF file. More weights are computed if the input fields are on different grids. The NetCDF file with the weights should follow the SCRIP convention. Normally these weights come from a previous call to one of the genXXX operators (e.g. genbil) or were created by the original SCRIP package.
cdo_remap(ifile, grid = NULL, weights = NULL, ofile = NULL)
ifile |
String with the path to the input file. |
grid |
STRING - Target grid description file or name |
weights |
STRING - Interpolation weights (SCRIP NetCDF file) |
ofile |
String with the path to the output file. |
Operators that output one or more files return a character vector to the output files.
Operators that output an indefinite number of files return a string with the basename of the files.
Operatos that don't return filenames return a character vector with the string output.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.