comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Error opening NetCDF - file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Error opening NetCDF - file [message #91483 is a reply to message #91440] Mon, 20 July 2015 06:11 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
On 07/15/15 11:51, Kai Heckel wrote:
> Hello!
>
> I am currently working on a time series including multiple NetCDF's.
> My procedure includes a call to a "read_netcdf"-script. The first
> line there is "ncdf_open". This is usually no problem but very few
> files are causing an error here saying 'Unable to open the file "..."
> (NC_ERROR=-101)'. When I try to open these NetCDF's in the BEAM
> software I get the message 'No appropriate reader found'.
>
>
> So I guess somethings wrong with the header of these NetCDF's? I have
> no clue and would be glad if you could help me out here.

What version of IDL do you have?

From Lajos's reply it would appear you have a netCDF4 file - which uses
HDF5 to handle the hard stuff that classic netCDF couldn't.

Newer versions of IDL "understand" netCDF4. So, if you have an old(er)
version of IDL, that may be your problem. (If, indeed, it isn't what
Lajos indicated - you are trying to read a regular HDF5 file)

I use the IDL netCDF browser to read netCDF3-and-4 datafiles with no
problems.

cheers,

paulv


p.s.

IDL> print, !version
{ x86_64 linux unix linux 8.3 Nov 15 2013 64 64}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Data reading
Next Topic: cgscatter2d.pro 'keyword parameters not allowed to call' error

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:56:47 PDT 2025

Total time taken to generate the page: 0.00457 seconds