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 determining whether to output values, NcMLWriter does a Variable.isMetadata() check, so I went looking for a hook here. Unfortunately there is no setIsMetadata method on VariableIF, no ability to do "Variable.isMetadata = true" (it's protected) and no way to over-ride NcMLWriter.writeVariable (it's private with no public api exposure).
So basically I need to code a new writer class - I just mention this because NcMLWriter really needs fixing up (plus no interface etc - ncml is useful!).
Thanks, Nick
netcdf-java
archives: