R/cdo-sp2gp.R

Defines functions cdo_sp2gp

Documented in cdo_sp2gp

## 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 type STRING - Type of the grid: quadratic, linear, cubic (default: type=quadratic)
#' @param trunc STRING - Triangular truncation
#'
#' @export
#' @rdname spectral
cdo_sp2gp <- function(ifile, type = NULL, trunc = NULL, ofile = NULL) {
  cdo(operator = operators$sp2gp,
      input = list(ifile),
      params = list(type = type, trunc = trunc),
      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.