Learn R Programming

ncdf.tools (version 0.7.1.295)

modifyNcdfCopyMetadata: Copy attributes and dimensions between netCDF files

Description

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

Usage

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

See Also

modifyNcdfCopyVar, att.copy.nc