|
netcdfpp
Header-only NetCDF C++ wrapper
|
Groups, variables, dimensions, attributes, and user-defined types can be copied between files and groups.
The second argument controls whether variable values are copied. Metadata is copied first. When copying user-defined types between groups, netcdfpp resolves the matching type in the destination group before copying variables or attributes that use it.
Copying variable values checks type size, dimension count, and dimension sizes before reading and writing the raw data. A mismatch throws netCDF::Exception.