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.



Hi Jason,

Earlier in this thread, you wrote that you were able

  ... to generate a file with a 32 GB variable size so the libraries appear
  to be working correctly.

That was on an SGI Altix platform.  Is this a new platform on which you can't
write large variables?  Are you remembering to use either the NC_NETCDF4 flag
(for C programs) or the NF90_NETCDF4 flag (for Fortran 90 programs) in the
file creation call, to specify that you want a netCDF-4 file rather than the
default classic-format file?

As an example, in Fortran-90 you would use something like

  status = nf90_create(path = "foo.nc", cmode =
  or(NF90_NOCLOBBER,NF90_NETCDF4), ncid = ncid)

--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