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, > I prefer the current netCDF API for Java, than the previous. I am > particularly intrigued by the MultiArray class. I too have been > developing something similar called a DataContainer. It is not quite > as generic as the MultiArray (handles only doubles), but it does have > a provision for geometry, and gives the programmer direct access to an > NxMxP... array as well as an iterator interface. This makes it a bit > more memory hungry. We'd be interested in seeing the documentation for your DataContainer. > I noticed that the API for the IndexIterator and the Iterators in the > netCDF package have different interfaces. Perhaps it would be a good > idea to make these as consistent as possible, maybe adopting the > Java 1.2 Iterator interface. It might not be the best API, but > it will be around for quite a while, and people will become familiar with > it. Just a thought. I've passed your comments on to Glenn. He's also interested in making our package consistent with the 1.2 Collections Framework. > I am really keen to get my hands on the code. Soon ... --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu