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.
Pavel, > To: address@hidden > From: Pavel Ivanov <address@hidden> > Subject: Question on netCDF format > Organization: MSU Phys dep. > Keywords: 199706231614.KAA06187 In the above message, you wrote: > Can you tell me how do float values stored in netCDF file format? I > mean that in MS Dos operating system float always in reverse order and > how it is in netCDF? > Thanks! > Pavel (Moscow State University) Floating-point values are stored in a netCDF file as either big-endian, 32-bit IEEE 754 values or big-endian, 64-bit IEEE 754 values. These representations are identical to those of the Java language. See the "netCDF File Format Specification" appendix in the netCDF User's Guide for more information on the netCDF file format. -------- Steve Emmerson <address@hidden>