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.
> I am trying to write some netcdf files following your example. > Pres_temp_4D_wr.java > > My final product has sparsely filled grids so I would like to use > compression. > I understand that hdf-5 supports compression and Netcdf-4 can use that > facility. > > Can you tell me how to specify output format and compression from java? > > Thanks > Garrett Campbell / NSIDC > > Hi Garrett: You currently cannot write netcdf-4 formats from Java. The only way right now is with the C library. John Ticket Details =================== Ticket ID: BZC-977069 Department: Support netCDF Java Priority: Normal Status: Closed