This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
> Organization: NOAA / CDC > Keywords: 199412021647.AA27611 Hi Cathy, > Does anyone know of a way to change the type of a variable (e.g. float > to double) without copying and rewriting the entire file? Sorry, it can't be done. Almost any change to the schema of a netCDF file (adding or deleting dimensions or variables, adding attributes, changing variable types) requires rewriting the file and copying the data. The only schema changes supported in the interface are deleting attributes and renaming netCDF objects with names that don't require more space. -- Russ Rew UCAR Unidata Program address@hidden P.O. Box 3000 http://www.unidata.ucar.edu/ Boulder, CO 80307-3000