R/cdo-gridcellindex.R

Defines functions cdo_gridcellindex

Documented in cdo_gridcellindex

## This file was created automatically, do not edit by hand.
#' @param ifile String with the path to the input file.

#' @param lon INTEGER - Longitude of the grid cell in degree
#' @param lat INTEGER - Latitude of the grid cell in degree
#'
#' @export
#' @rdname getgridcell
cdo_gridcellindex <- function(ifile, lon = NULL, lat = NULL) {
  cdo(operator = operators$gridcellindex,
      input = list(ifile),
      params = list(lon = lon, lat = lat),
      output = c()
  )
}

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.