[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: changing type of a variable
- Subject: Re: changing type of a variable
- Date: Fri, 02 Dec 1994 10:51:42 -0700
> 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