| try_att | R Documentation |
TryCatch around RNetCDF::att.get.nc()
try_att(nc, variable, attribute)
nc |
"NetCDF" object which points to the NetCDF dataset. Found with RNetCDF::open.nc. |
variable |
ID or name of the variable from which the attribute will be read, or "NC_GLOBAL" for a global attribute. |
attribute |
Attribute name or ID. |
Vector with a data type that depends on the NetCDF variable. For NetCDF variables of type NC_CHAR, the R type is either character or raw, as specified by argument rawchar. For NC_STRING, the R type is character. Numeric variables are read as double precision by default, but the smallest R type that exactly represents each external type is used if fitnum is TRUE.
Other dap:
.resource_grid(),
.resource_time(),
climater_dap(),
climater_filter(),
dap(),
dap_crop(),
dap_get(),
dap_meta(),
dap_summary(),
dap_to_local(),
dap_xyzv(),
extract_sites(),
get_data(),
go_get_dap_data(),
grid_meta(),
make_ext(),
make_vect(),
merge_across_time(),
parse_date(),
read_dap_file(),
read_ftp(),
time_meta(),
var_to_terra(),
variable_meta(),
vrt_crop_get()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.