This module reads datasets from several input files, merges them and writes the resulting dataset to outfile.
Usage
cdo_merge(ifiles, skip_same_time = NULL, names = NULL, ofile = NULL)
cdo_mergetime(ifiles, skip_same_time = NULL, names = NULL, ofile = NULL)Arguments
- ifiles
- Character vector with the path to the input files. 
- skip_same_time
- BOOL - Skips all consecutive timesteps with a double entry of the same timestamp. 
- names
- STRING - Fill missing variable names with missing values (union) or use the intersection (intersect). 
- 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.
Details
merge      Merge datasets with different fields
           Merges time series of different fields from several input datasets. The number
           of fields per timestep written to outfile is the sum of the field numbers
           per timestep in all input datasets. The time series on all input datasets are
           required to have different fields and the same number of timesteps.
           The fields in each different input file either have to be different variables
           or different levels of the same variable. A mixture of different variables on
           different levels in different input files is not allowed.
mergetime  Merge datasets sorted by date and time
           Merges all timesteps of all input files sorted by date and time.
           All input files need to have the same structure with the same variables on
           different timesteps. After this operation every input timestep is in outfile
           and all timesteps are sorted by date and time.