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

[netCDF #SOA-856908]: NECDF file size

Hi Lin,

> I have a problem associated with netcdf file size. I already set supporting 
> large file in environment variables,"setenv WRFIO_NCD_LARGE_FILE_SUPPORT 1".  
> But, it still has problem when writing a file as large as 30G. So, is the 
> netcdf do not permit to write a file to 30G?

NetCDF can support writing files larger than 30GB.  For details, see this set of
questions and answers:


There have been a few bug fixes related to large files in previous versions of 
netCDF software, described in the RELEASE_NOTES file that is included with each 
new version, for example:

  release notes for version 4.2.1-rc1:

has this:

    Fixed bug in 64-bit offset files with large records,
    when last record variable requires more than 2**32
    bytes per record.  

with a link to more information about the fix in the "[NCF-164]" link:


Other similar fixes in recent versions are described briefly and then in 
more detail in these links:

  Version 4.2.0:

    Fixed problem with 64-bit offset format where writing more
    than 2**31 records resulted in erroneous NC_EINVALCOORDS error.

    Dimension size in classic model netCDF-4 files now allows
    larger sizes than allowed for 64-bit offset classic files.

  Version 4.1.2:

    Fixed two large-file bugs with using classic format or
    64-bit offset format and accessing multidimensional
    variables with more than 2**32 values.
    (No detailed description available ...)

From the information you provided, I can't tell if any of the above bug fixes
are relevant to the problem you are seeing, but if you could provide a small
program that can be used to reproduce the problem, we can test it against the
current software release to see if it still occurs.

It may also be a problem with WRF configuration, but for that, you would have to
contact WRF support ...


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

Ticket Details
Ticket ID: SOA-856908
Department: Support netCDF
Priority: Normal
Status: Closed

NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.