Copy attributes and dimensions between netCDF files

Share:

Description

This function copies all global attributes and/or all dimensions from one netCDF file to another.

Usage

1
2
modifyNcdfCopyMetadata(file.con.orig, file.con.copy, glob.atts = TRUE, 
    dimensions = TRUE)

Arguments

file.con.orig

a NetCDF object pointing to the respective netCDF file from which to copy

file.con.copy

a NetCDF object pointing to the respective netCDF file to which to copy

glob.atts

logical: whether to copy all global attributes

dimensions

logical: whether to copy all dimensions

Value

nothing is returned.

Author(s)

Jannis v. Buttlar

See Also

modifyNcdfCopyVar, att.copy.nc

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.