Hi Ted,
> Correct, but writing is with zlib only, not szip. Szip is read-only
> for some reason (and hdf5 has to be compiled with szip support). The
> ability to write with szip compression was added briefly, but was
> quickly removed -- for some reason that didn't make sense to me.
The Szip software is encumbered with licensing restrictions and software
patents that prevent its use in commercial applications without a
separate commercial license. This means some netCDF users could not
legally use Szip encoding. We want netCDF to be open source software
for both non-commercial and commercial use, so we don't include Szip
encoding capabilities.
More information about Szip licensing, copyright, and patents is here:
http://www.hdfgroup.org/doc_resource/SZIP/Commercial_szip.html
--Russ
> -- Ted
>
>
> On Aug 21, 2012, at 8:40 PM, William Oquendo wrote:
>
> > Hello,
> > Just to say I have found that indeed is possible to do compression (per v=
> ariable). In particular, I am using the setCompression function in the cxx=
> interface. =
>
> > =
>
> > Best regards / Cordialmente,
> > =
>
> > William-Fernando Oquendo
> > --------------------------
> > Este correo puede carecer de tildes o e=F1es debido al teclado. =
>
> > =
>
> > =
>
> > =
>
> > =
>
> > On Tue, Aug 21, 2012 at 7:56 PM, William Oquendo <woquendo@xxxxxxxxx> wro=
> te:
> > Dear all, =
>
> > =
>
> > After reading the mailing archives, it is clear that originally netcdf wa=
> s able to be compiled with compressed libraries in order to READ compressed=
> files.
> > With the current version of netcdf (4.2.1), compiled with hdf5support and=
> szip, is it possible to WRITE compressed files? If not, is this planned?
> > And another possibly silly question, just to know: If I compiled my netcd=
> f installation with hdf5 support, will all my netcdf files be actually hdf5=
> files?
> > Thanks for your kind help.
> > =
>
> > Best regards / Cordialmente,
> > =
>
> > William-Fernando Oquendo
> > --------------------------
> > Este correo puede carecer de tildes o e=F1es debido al teclado. =
>
> > =
>
> > =
>
> > =
>
> > _______________________________________________
> > netcdfgroup mailing list
> > netcdfgroup@xxxxxxxxxxxxxxxx
> > For list information or to unsubscribe, visit: http://www.unidata.ucar.e=
> du/mailing_lists/
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit: http://www.unidata.ucar.edu=
> /mailing_lists/=20