Get a data.frame of attributes from a NetCDF object.

get_ncdf4_attributes(nc)

Arguments

nc

(ncdf4/character) Either a ncdf4 object or a file path.

Value

(data.frame) A data.frame of the attributes.

Examples

if (FALSE) { get_ncdf4_attributes("./path/to/my.nc") }