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

netCDF files improperly closed

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.


  • Subject: netCDF files improperly closed
  • Date: Tue, 04 Aug 1998 09:12:56 -0600

Hi again Karishma,

Since Glenn Davis provided an answer that conflicted with the one I
provided, this is just to confirm that Glenn is right.  I had misread
your question, and interpreted "although the size is a few meg" to refer
to the expected size of the data rather than the size of the files.  You
can indeed recover all the data (or perhaps all but the last record's
worth) by using a binary editor like emacs to change the bytes that store
the number of records.

Sorry about the misinformation ...

--Russ

_____________________________________________________________________

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