[netcdfgroup] How to determine if netcdf was compiled with SZIP or not?

How to determine if netcdf was compiled with SZIP or not? Any kind of define in netcdf.h?

Trying to build cdo-1.4.0.1, and it uses the following (incorrect) test:

#if  defined  (NC_NETCDF4) && defined (NC_SZIP_NN_OPTION_MASK)

My netcdf 4.1.0 is not compiled with SZIP, yet:

/* Szip options. */
#define NC_SZIP_EC_OPTION_MASK 4
#define NC_SZIP_NN_OPTION_MASK 32
#define NC_SZIP_MAX_PIXELS_PER_BLOCK 32

are all present in netcdf.h.

Thank you,

  Orion

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@xxxxxxxxxxxxx
Boulder, CO 80301              http://www.cora.nwra.com



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: