peek_ncdf | R Documentation |
This function will read a netCDF resource and return a list of identifying information, including data variables, axes and global attributes. Upon returning the netCDF resource is closed.
peek_ncdf(resource)
resource |
The name of the netCDF resource to open, either a local file name or a remote URI. |
If you find that you need other information to be included in the result, open an issue: https://github.com/pvanlaake/ncdfCF/issues.
A list with elements "variables", "axes" and global "attributes",
each a data.frame
.
fn <- system.file("extdata",
"pr_day_EC-Earth3-CC_ssp245_r1i1p1f1_gr_20230101-20231231_vncdfCF.nc",
package = "ncdfCF")
peek_ncdf(fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.