R/cdo-timselmax.R

Defines functions cdo_timselmax

Documented in cdo_timselmax

## This file was created automatically, do not edit by hand.
#' @param ifile String with the path to the input file.
#' @param ofile String with the path to the output file.
#' @param nsets INTEGER - Number of input timesteps for each output timestep
#' @param noffset INTEGER - Number of input timesteps skipped before the first timestep range (optional)
#' @param nskip INTEGER - Number of input timesteps skipped between timestep ranges (optional)
#'
#' @export
#' @rdname timselstat
cdo_timselmax <- function(ifile, nsets = NULL, noffset = NULL, nskip = NULL, ofile = NULL) {
  cdo(operator = operators$timselmax,
      input = list(ifile),
      params = list(nsets = nsets, noffset = noffset, nskip = nskip),
      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.