R/cdo-merge.R

Defines functions cdo_merge

Documented in cdo_merge

## This file was created automatically, do not edit by hand.
#' @param ifiles Character vector with the path to the input files.
#' @param ofile String with the path to the output file.
#' @param skip_same_time BOOL - Skips all consecutive timesteps with a double entry of the same timestamp.
#' @param names STRING - Fill missing variable names with missing values (union) or use the intersection (intersect).
#'
#' @export
#' @rdname merge
cdo_merge <- function(ifiles, skip_same_time = NULL, names = NULL, ofile = NULL) {
  cdo(operator = operators$merge,
      input = maybe_list(ifiles),
      params = list(skip_same_time = skip_same_time, names = names),
      output = c(ofile)
  )
}

Try the rcdo package in your browser

Any scripts or data that you put into this service are public.

rcdo documentation built on June 8, 2025, 12:36 p.m.