save_nc.Rd
This function saves a tag dataset to a netCDF file (this is an archival file format supported by the tagtools package and suitable for submission to online data archives).
save_nc(file, X, ...)
file | The name of the data and metadata file to be written. If |
---|---|
X | An |
... | Additional sensor or metadata lists, if user has not bundled them all into a list already but is providing individual structures. |
Warning: this will overwrite any previous NetCDF file with the same name. The file is assumed to be in the current working directory unless file
includes file path information.
if (FALSE) { save_nc("dog17_124a", A, M, P, info) # or equivalently: save_nc("dog17_124a", X = list(A, M, P, info)) # generates a file dog17_124a.nc and adds variables A, M and P, and a metadata structure. }