Re: version of netcdf4 libs in ncl 5.1.1

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Apr 29 2010 - 09:18:57 MDT

Hi Jamie,

You're correct, NCL 5.2.0 was built against NetCDF 4.1.1. It's interesting that there's a backwards compatibility issue here.

Once I have your file, I'll take a look, and see if Unidata has an explanation for the error.

It's also possible that the incompatibility is in the HDF5 software, since NCL 5.1.1 was linked against HDF5 1.8.2 (I think it was), and NCL 5.2.0 was linked against HDF 1.8.4-patch1.

--Mary

On Apr 29, 2010, at 9:07 AM, Jamie Scott wrote:

> Hi Mary,
>
> The file I'm trying to read was created with netcdf 4.1.1. It appears the problem is that ncl 5.1.1 is built with an earlier version.
> (I also tried IDL, which used an earlier version of netcdf and it also failed) I downloaded the new ncl 5.2 and I'm able to read the file both on intel mac and x86_64! So I'm assuming that uses netcdf 4.1.1? I'm staging the file to our FTP server if you want to have a look. It's about 500MB, though. I'll let you know when it's ready...
>
> Here's the error message:
>
> [mac23:jscott/ncl/CCSM] jscott% ncl
> Copyright (C) 1995-2009 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 5.1.1
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> ncl 0> setfileoption("nc","Format","NetCDF4Classic")
> ncl 1> f=addfile("/home/dmwork/Hoop/MERRA/slp.nc4Classic.1979.nc","r")
> fatal:Can't open HDF5 attribute
> fatal:Could not open (/home/dmwork/Hoop/MERRA/slp.nc4Classic.1979.nc)
>
> On Apr 29, 2010, at 7:39 AM, Mary Haley wrote:
>
>> Hi Jamie,
>>
>> NetCDF 5.1.1 was built against NetCDF 4.0.1, and classic NetCDF 4 should be available in that version.
>>
>> If you built NCL yourself from source code, however, the default is to build without NetCDF classic support,
>> so make sure this was turned on if you built from source.
>>
>> Are you getting an error message? If so, what is it?
>>
>> Do you have a sample file that you can provide us with?
>>
>> --Mary
>>
>> On Apr 28, 2010, at 2:30 PM, Jamie Scott wrote:
>>
>>> Can anyone tell me what version of the netcdf4 library was used to
>>> build ncl 5.1.1 (on intel Mac)?
>>> I'm having trouble reading a netcdf4-classic file created with netcdf4
>>> library version 4.1.1 and am wondering
>>> if that is more recent than netcdf4 library in ncl 5.1.1.
>>>
>>> -Jamie
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Apr 29 09:20:19 2010

This archive was generated by hypermail 2.1.8 : Mon May 03 2010 - 14:51:26 MDT