R/cdo-intlevel.R

Defines functions cdo_intlevel

Documented in cdo_intlevel

## 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 level FLOAT - Comma-separated list of target levels
#' @param zdescription STRING - Path to a file containing a description of the Z-axis
#' @param zvarname STRING - Use zvarname as the vertical 3D source coordinate instead of the 1D coordinate variable
#' @param extrapolate BOOL - Fill target layers out of the source layer range with the nearest source layer
#'
#' @export
#' @rdname intlevel
cdo_intlevel <- function(ifile, level = NULL, zdescription = NULL, zvarname = NULL, extrapolate = NULL, ofile = NULL) {
  cdo(operator = operators$intlevel,
      input = list(ifile),
      params = list(level = level, zdescription = zdescription, zvarname = zvarname, extrapolate = extrapolate),
      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.