ebv_properties {ebvcube} | R Documentation |
Read properties of EBV netCDF
Description
Structured access to all attributes of the netCDF file.
Usage
ebv_properties(filepath, datacubepath = NULL, verbose = TRUE)
Arguments
filepath |
Character. Path to the netCDF file. |
datacubepath |
Character. Optional. Path to the datacube (use
|
verbose |
Logical. Default: TRUE. Turn off additional prints by setting it to FALSE. |
Value
S4 class containing information about file or file and datacube depending on input.
Examples
#set path to EBV netCDF
file <- system.file(file.path("extdata","martins_comcom_subset.nc"), package="ebvcube")
#get all datacubepaths of EBV netCDF
datacubes <- ebv_datacubepaths(file, verbose=FALSE)
#get properties only for the file
prop_file <- ebv_properties(file)
#get properties for the file and a specific datacube
prop_dc <- ebv_properties(file, datacubes[1,1])
[Package ebvcube version 0.1.7 Index]