# S3 method for character
nc_grid_mapping_atts(x, data_variable = NULL)
# S3 method for NetCDF
nc_grid_mapping_atts(x, data_variable = NULL)
# S3 method for data.frame
nc_grid_mapping_atts(x, data_variable = NULL)
Value
tibble containing attributes that make up the file's grid_mapping.
A data_variable column is included to indicate which data variable the grid
mapping belongs to.
Arguments
x
open NetCDF object, character file path or url to be
opened with RNetCDF::open.nc, or data.frame as returned from ncmeta::nc_atts