NetCDF version in IDL 8.6? [message #94221] |
Wed, 01 March 2017 11:59  |
Kenneth Bowman
Messages: 86 Registered: November 2006
|
Member |
|
|
Can someone run
IDL> help, /dlm
and tell me what version of netCDF is included with IDL 8.6? We are holding off on upgrading to 8.6 or I would do it myself.
We are having a recurrence of an old problem
% NCDF_CONTROL: Attempt to take the file out of define mode (ENDEF) failed. (NC_ERROR=-101)
with random crashes when creating netCDF files in 8.4 and 8.5, and I am wondering if the netCDF release is newer than in earlier versions of IDL.
IDL 8.4 and 8.5 both say the netCDF version is 4.3.2. The current release is 4.4.1.1.
Thanks, Ken
|
|
|
Re: NetCDF version in IDL 8.6? [message #94222 is a reply to message #94221] |
Wed, 01 March 2017 12:48   |
Lajos Foldy
Messages: 176 Registered: December 2011
|
Senior Member |
|
|
On Wednesday, March 1, 2017 at 8:59:44 PM UTC+1, k-bo...@tamu.edu wrote:
> Can someone run
>
> IDL> help, /dlm
>
> and tell me what version of netCDF is included with IDL 8.6? We are holding off on upgrading to 8.6 or I would do it myself.
>
> We are having a recurrence of an old problem
>
> % NCDF_CONTROL: Attempt to take the file out of define mode (ENDEF) failed. (NC_ERROR=-101)
>
> with random crashes when creating netCDF files in 8.4 and 8.5, and I am wondering if the netCDF release is newer than in earlier versions of IDL.
>
> IDL 8.4 and 8.5 both say the netCDF version is 4.3.2. The current release is 4.4.1.1.
>
> Thanks, Ken
** NCDF - IDL NetCDF support (not loaded)
Version: 4.3.2, Build Date: NOV 21 2016, Source: Exelis Visual Information Solutions, Inc.
Path: /usr/local/harris/idl86/bin/bin.linux.x86_64/idl_netcdf.so
regards,
Lajos
|
|
|
|
Re: NetCDF version in IDL 8.6? [message #94236 is a reply to message #94223] |
Thu, 02 March 2017 11:13  |
Kenneth Bowman
Messages: 86 Registered: November 2006
|
Member |
|
|
On Wednesday, March 1, 2017 at 3:03:35 PM UTC-6, k-bo...@tamu.edu wrote:
>> ** NCDF - IDL NetCDF support (not loaded)
>> Version: 4.3.2, Build Date: NOV 21 2016, Source: Exelis Visual Information Solutions, Inc.
>> Path: /usr/local/harris/idl86/bin/bin.linux.x86_64/idl_netcdf.so
>>
>> regards,
>> Lajos
>
> Thanks, Lajos. It looks like the problem may be happening in 8.4, but not in 8.5 (despite being the same version of netCDF). Will do further testing.
>
> Ken
Unfortunately, the problem is not resolved in IDL 8.5 (and I expect in 8.6, which uses the same version of netCDF).
After much trial and error testing, the problem appears to be linked to use of the CHUNK_DIMENSIONS keyword when creating netCDF-4 files. When we omit CHUNK_DIMENSIONS, the problem does not occur. In our case all the variables have no unlimited dimensions, so when CHUNK_DIMENSIONS is omitted the chunk size is the entire variable (assuming the docs are correct).
Contrary to the IDL docs, however, gzip compression *does* work when the CHUNK_DIMENSIONS keyword is omitted.
Fortunately for us, omitting the CHUNK_DIMENSIONS keyword will not cause any issues with our files.
The versions of netCDF and HDF5 that are currently included with IDL are quite out of date. I will be submitting a bug report and a request that Harris use more recent versions of those libraries and fix some errors in the netCDF documentation.
Cheers, Ken
|
|
|