R/cdo-samplegrid.R

Defines functions cdo_samplegrid

Documented in cdo_samplegrid

## 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 factor INTEGER - Resample factor, typically 2, which will half the resolution
#'
#' @export
#' @rdname samplegrid
cdo_samplegrid <- function(ifile, factor = NULL, ofile = NULL) {
  cdo(operator = operators$samplegrid,
      input = list(ifile),
      params = list(factor = factor),
      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.