Skip to contents

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.