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.
Unidata Support <address@hidden> writes: > ------- Forwarded Message > >>To: General Support <address@hidden> >>From: Jennifer Oxelson <address@hidden> >>Subject: Reading a NetCDF data (fwd) >>Organization: UCAR/Unidata >>Keywords: 200508021403.j72E3r2T029850 > > > > > ---------- Forwarded message ---------- > Date: Tue, 2 Aug 2005 06:46:26 -0700 (PDT) > From: Jim Hogsett <address@hidden> > To: address@hidden > Subject: Reading a NetCDF data > > > Hi, > > I have a small question about reading a NETCDF data > file: I can read a NetCDF file perfectly with ncdump > but this file could not be opened proplerly when > subroutine NF_OPEN is called (STATUS /= NF_NOERR). By > the way, my program works well with other NETCDF data > files and this eliminates the problem with my program. > I really dont know whats going on and I really > appreciate your help. > > Thank you for your assistant, > Jim > > Is it possible that you are attempting to open a file for read/write access, and it is a read-only file? You will have to send your code for me to make any further suggestions. If ncdump can read the file, then, as you correctly note, it is a valid netCDF file, and the problem must be elsewhere. Hope this helps! Ed Hartnett -- Ed Hartnett -- address@hidden