nj22 handles compressed (zip, bz2, etc) netcdf files by uncompressing them and
then reading from the uncompressed file. its an interesting idea to bundle the
NcML with the netcdf file, or even to write the NcML at the end of the netcdf
file. of course, the C library wont be able to deal with that for now at least.
thanks for the idea, we'll think about it...
Joe Sirott wrote:
John Caron wrote:
What about adding support for jar or zip files to the netCDF library (if
it doesn't already exist)? This would not only allow users to include
XML markup with netCDF files, but would also make it easier to
distribute and/or manage multiple netCDF files in one package. And users
wouldn't have to rewrite their netCDF files...
You can add/change metadata using NcML. The Java library can read the
NcML file, which points to the original netcdf file. The C library
will eventually be able to do this also. To distribute the
modifications as a netcdf file, you will have to rewrite the netcdf
file, which can be easily done with the Java library.
To unsubscribe netcdf-java, visit: