NSF Unidata

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

[netCDF #YTY-788071]: netcdf 4 GB variable size questions

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.



Jason,

One additional note is that netCDF record variables have no 4GB size limit, 
just a limit of 4GB for each record and about 4.18 billion records.  So even if 
you have no use for a record dimension along which to append growing data 
variables, by just using the record dimension for your variables' most slowly 
varying dimension, you get around the 4 GB size limit.

> ... Are there any modifications that will allow the
> model program to create a v3.6 netCDF file that will avoid this
> limitation? 

Although it may be possible to modify the netCDF-3 library to get around this 
limit on 64-bit platforms, the resulting files would be using a new format that 
would not be easily portable to 32-bit platforms or readable by existing netCDF 
software.  As Ed has pointed out, we may provide support for such a format in 
the future, but we can't commit to it yet.

--Russ

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



Ticket Details
===================
Ticket ID: YTY-788071
Department: Support netCDF
Priority: Normal
Status: Closed