Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Bob, here is an excerpt from the source (slightly reformatted): public enum Version { netcdf3(".nc"), // java iosp netcdf4(".nc4"), // jni netcdf4 iosp mode = NC_FORMAT_NETCDF4 netcdf4_classic(".nc"), // jni netcdf4 iosp mode = NC_FORMAT_NETCDF4_CLASSIC netcdf3c(".nc"), // jni netcdf4 iosp mode = NC_FORMAT_CLASSIC (nc3)netcdf3c64(".nc"), // jni netcdf4 iosp mode = NC_FORMAT_64BIT (nc3 64 bit)
ncstream(".ncs"); // ncstream iospFrom this it looks to me like netcdf3 and netcdf3c will both write NetCDF-3 files. The difference is that netcdf3 will use the pure Java implementation whereas netcdf3c will use JAI to call the native (compiled C) libnetcdf4 with options to write a 32-bit-offset NetCDF-3 file (just like libnetcdf 3.5.1 and earlier). These will in theory produce the same output but might have slight differences. The pure Java version will be most portable, and the native libnetcdf4 version may be a much faster.
Yes, these docs could be better. Library users should not have to read the source.
Kind regards, Ben. On 29/04/16 10:16, Bob Simons - NOAA Federal wrote:
Can you please add more descriptive descriptions of the netcdf version options at http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/javadoc/ucar/nc2/NetcdfFileWriter.Version.html ? Notably, what is the difference between netcdf3 and netcdf3c? Thank you. _______________________________________________ netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
-- Ben Caradoc-Davies <ben@xxxxxxxxxxxx> Director Transient Software Limited <http://transient.nz/> New Zealand
netcdf-java
archives: