add_nc | R Documentation |
Add one tag sensor or metadata variable to a NetCDF archive file. If the archive file does not exist, it is created. The file is assumed to be in the current working directory unless a pathname is added to the beginning of fname.
add_nc(file, D, vname)
file |
The name of the netCDF file to which to save. If the name does not include a .nc suffix, this will be added automatically. |
D |
The sensor data or metadata list to be saved. |
vname |
The name of the sensor data stream to be saved. Defaults to the entry "name" from the sensor or metadata list provided by the user (but an option to specify a name is provided to facilitate calling this function from |
no return; adds a structure to an animaltag
object
save_nc
, load_nc
BW <- beaked_whale
add_nc("beaked_whale", njerk(BW$A), "Jerk")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.