NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdfgroup] Ambiguity in netCDF Documentation regarding "NetCDF Classic Format Limitations"

Dear Mailinglist,

The constraints of the NetCDF Classic Format are documented in the current netCDF documentation. E.g. here:

https://www.unidata.ucar.edu/software/netcdf/docs/file_structure_and_performance.html#classic_file_parts

There are given contradictory numbers for the maximum records size in classic netCDF files created with netCDF versions 3.5.1 and earlier:

The second sentence of the respective chapter reads:
"The maximum size of a record in the classic format in versions 3.5.1 and earlier is 2^32 - 4 bytes, or about 4 GiB. In versions 3.6.0 and later, [...]"

Whereas the sentence between the two examples reads:
"If you use the unlimited dimension, record variables may exceed 2 GiB in size, as long as the offset of the start of each record variable within a record is less than 2 GiB - 4. For example, [...]"


Shouldn't it be "4 GiB - 4" in the last sentence? Otherwise, the example below the sentence would not work.

Cheers,
Daniel



  • 2018 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: