View source: R/read_attribute_data.R
| read_attribute_data | R Documentation | 
Gets attribute data from a NetCDF-DSG file and returns it in a data.frame.
This function is intended as a convenience to be used within workflows where
the netCDF file is already open and well understood.
read_attribute_data(nc, instance_dim)
| nc | A NetCDF path or urlto be opened. | 
| instance_dim | The NetCDF instance/station dimension. | 
hucPolygons <- sf::read_sf(system.file('extdata','example_huc_eta.json', package = 'ncdfgeom'))
hucPolygons_nc <- ncdfgeom::write_geometry(tempfile(), hucPolygons)
read_attribute_data(hucPolygons_nc, "instance")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.