[MINC-development] MINC2 and required NetCDF version

Sean McBride sean at rogue-research.com
Wed Jun 3 09:34:19 EDT 2009


On 6/3/09 9:14 AM, Sean McBride said:

>>Anyhow I would prefer something like this:
>>
>>/* hack to get around netcdf 3.x -> 4x. */
>>#ifndef MAX_NC_OPEN
>>#define MI_MAX_NUM_ICV 32
>>#else
>>#define MI_MAX_NUM_ICV MAX_NC_OPEN
>>#endif.
>>
>>Can you test this please?  if it works fine I can commit this to CVS.
>
>That would work great.  I had actually done that (though without the
>else) in a previous test.

Ack.  I misread, sorry.  What I tried was:

#ifndef MAX_NC_OPEN
#define MAX_NC_OPEN 32
#endif.

Your proposal is insufficient since MAX_NC_OPEN is used not only to
define MI_MAX_NUM_ICV but used elsewhere too.

-- 
____________________________________________________________
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