[MINC-development] MINC2 and required NetCDF version

Sean McBride sean at rogue-research.com
Wed May 27 14:32:04 EDT 2009


Hi all,

It seems that MINC 2.0.18 does not compile against NetCDF 4.0.1 (the
current version).  The error is:

libsrc/image_conversion.c: In function 'miicv_create':
libsrc/image_conversion.c:219: error: 'MAX_NC_OPEN' undeclared (first
use in this function)
libsrc/image_conversion.c:219: error: (Each undeclared identifier is
reported only once
libsrc/image_conversion.c:219: error: for each function it appears in.)

MAX_NC_OPEN was in netcdf.h but was removed at some point:
<http://mailman.unidata.ucar.edu/support/help/MailArchives/netcdf/
msg00453.html>

In MINC it's used here:

/* Maximum number of icv's allowed */
#define MI_MAX_NUM_ICV MAX_NC_OPEN

Maybe this could just be changed to 32 (NetCDF's old value)?

Thanks,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the MINC-development mailing list