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.
Sergey, What version of netCDF are you modifying? In netCDF versions 3.6.0 and later, there is no practical limit to the size of a record, As the table in section 4.3 of the NetCDF User's Guide, shows, the size of a record can be up to 8 exabytes divided by the number of records. Could you possibly send a CDL (what would be the output from ncdump -h) that shows the file structure you would like to create, including the actual sizes of the dimensions? If so, I might be able to duplicate the problem here and see if it is a bug. Or if you can construct such a CDL file that gets a similar error with "ncgen -v foo.cdl", then I'm pretty sure I could diagnose the problem. I don't think you should even try increasing X_UINT_MAX. It is supposed to refer to the maximum value of an unsigned integer in the external (on disk) representation, although it may have also been expropriated for other uses (which would be bad style). --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: MOB-465267 Department: Support netCDF Priority: Normal Status: Closed