This is a special operator for resampling the horizontal grid. No interpolation takes place. Resample factor=2 means every second grid point is removed. Only rectilinear and curvilinear source grids are supported by this operator.
cdo_samplegrid(ifile, factor = NULL, ofile = NULL)
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.
String with the path to the input file.
INTEGER - Resample factor, typically 2, which will half the resolution
String with the path to the output file.