R/getatt.R

Defines functions getatt

Documented in getatt

#' Reads and extracts the attribute information in a netCDF files
#' 
#' @param filename Name of netCDF file including path
#' 
#' @export getatt
getatt <- function(filename) {
  ncid <- ncdf4::nc_open(filename)
  ncdf4::nc_close(ncid)
  return(ncid)
}
metno/esd documentation built on April 29, 2024, 3:34 p.m.