Loadable Function: netcdf_copyAtt (ncid,varid,name,ncid_out,varid_out)

Copies the attribute named old_name of the variable varid in the data set ncid to the variable varid_out in the data set ncid_out. To copy a global attribute use netcdf_getConstant("global") for varid or varid_out.

See also: netcdf_getAtt,netcdf_getConstant.

Package: netcdf