nc_meta | R Documentation |
This function exists to maintain the open connection while all dimension, variable, and attribute metadata is extracted.
nc_meta(x, ...)
## S3 method for class 'NetCDF'
nc_meta(x, ...)
## S3 method for class 'character'
nc_meta(x, ...)
x |
data source address, file name or handle |
... |
ignored |
This function is pretty ambitious, and will send nearly any string to the underlying NetCDF library other than "", which immediately generates an error. This should be robust, but might present fairly obscure error messages from the underlying library.
f <- system.file("extdata", "S2008001.L3m_DAY_CHL_chlor_a_9km.nc", package = "ncmeta")
nc_meta(f)
## Not run:
u <- "https://upwell.pfeg.noaa.gov/erddap/tabledap/FRDCPSTrawlLHHaulCatch"
nc_meta(u)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.