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 #91445 is a reply to message #91444] Thu, 16 July 2015 02:26 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Thursday, July 16, 2015 at 10:28:31 AM UTC+2, Kai Heckel wrote:
> Am Mittwoch, 15. Juli 2015 18:53:43 UTC+2 schrieb fawltyl...@gmail.com:
>> On Wednesday, July 15, 2015 at 5:51:39 PM UTC+2, 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.
>>
>> The NetCDF error codes are in netcdf.h:
>>
>> ...
>> /** Error at HDF5 layer. */
>> #define NC_EHDFERR (-101)
>> ...
>>
>> So it is an error reported by the HDF5 layer. Your file is a HDF5 file in disguise. Try to check it with a HDF5 reader.
>>
>> regards,
>> Lajos
>
> Hello Lajos,
>
> thanks for the reply.
>
> I'm sorry but how can I access a HDF5 file if I only have a NetCDF?

You have IDL :-) Check your file eg. with x=H5_BROWSER('your_file').

regards,
Lajos
[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 15:27:10 PDT 2025

Total time taken to generate the page: 0.00606 seconds