View source: R/nc-gridmapping.R
nc_grid_mapping_atts | R Documentation |
Get the grid mapping from a NetCDF file
nc_grid_mapping_atts(x, data_variable = NULL)
## S3 method for class 'character'
nc_grid_mapping_atts(x, data_variable = NULL)
## S3 method for class 'NetCDF'
nc_grid_mapping_atts(x, data_variable = NULL)
## S3 method for class 'data.frame'
nc_grid_mapping_atts(x, data_variable = NULL)
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 |
data_variable |
character variable of interest |
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.
nc_grid_mapping_atts(system.file("extdata/daymet_sample.nc", package = "ncmeta"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.