This operator collects the data of the input files to one output file. All input files need to have the same variables and the same number of timesteps on a different horizonal grid region. If the source regions are on a structured lon/lat grid, all regions together must result in a new structured lat/long grid box. Data on an unstructured grid is concatenated in the order of the input files. The parameter nx needs to be specified only for curvilinear grids.
cdo_collgrid(ifiles, nx = NULL, names = 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.
Character vector with the path to the input files.
INTEGER - Number of regions in x direction [default: number of input files]
STRING - Comma-separated list of variable names [default: all variables]
String with the path to the output file.