R/cdo-setfilter.R

Defines functions cdo_setfilter

Documented in cdo_setfilter

## 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 filename STRING - Read filter specification per variable from file \[format: varname=\"<filterspec>\"\]
#'
#' @export
#' @rdname setfilter
cdo_setfilter <- function(ifile, filename = NULL, ofile = NULL) {
  cdo(operator = operators$setfilter,
      input = list(ifile),
      params = list(filename = filename),
      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.