This operator sets the value of the selected grid cells. The grid cells can be selected by a comma-separated list of grid cell indices or a mask. The mask is read from a data file, which may contain only one field. If no grid cells are selected, all values are set.
Usage
cdo_setgridcell(ifile, value = NULL, cell = NULL, mask = NULL, ofile = NULL)
Arguments
- ifile
String with the path to the input file.
- value
FLOAT - Value of the grid cell
- cell
INTEGER - Comma-separated list of grid cell indices
- mask
STRING - Name of the data file which contains the mask
- ofile
String with the path to the output file.
Value
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.