[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #VMY-113616]: possible variable size limit/error in netCDF 3.6.2

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.


  • Subject: [netCDF #VMY-113616]: possible variable size limit/error in netCDF 3.6.2
  • Date: Fri, 23 Mar 2007 15:40:33 -0600

Wes,

I'm glad you were able to write the file you wanted, but you should be aware 
that the changes you made to the library make it possible to write "netCDF" 
files that cannot be read successfully on some other platforms.  

The reason only the last variable can be arbitrarily large and other variables 
are limited in size to either 4 GiB (without unlimited dimension) or only 4 
GiB/record (with unlimited dimension) is to make sure 32-bit systems can access 
the data, even if it's written on a 64-bit system.  Maybe that's not a problem 
for you if you know the data will only be read with the modified library on 
64-bit platforms.

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                     http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: VMY-113616
Department: Support netCDF
Priority: Normal
Status: Closed