NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
On 5/2/2011 3:57 PM, Brian Schlining wrote:
Hi All, I'm doing a little work on nctoolbox (http://code.google.com/p/nctoolbox/). I'm running into an issue where an instance of ucar.nc2.dataset.NetcdfDataset may have had it's 'close' method called, but I can't find a method to interrogate it's open/close status. Is there something like an 'isOpen' method somewhere that I'm just missing? If not can you add one? Thanks
there are some complications that make isOpen() not completely straightforward.
we've assumed that when the application closes a dataset, it releases the object also.
is there some generic issue, or just some complex code you are dealing with?
netcdf-java
archives: