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

Home » Public Forums » archive » NetCDF4 problem
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: NetCDF4 problem [message #92998 is a reply to message #92997] Thu, 07 April 2016 10:45 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 04/07/16 13:03, Michael Galloy wrote:
> On 4/7/16 8:36 am, Paul van Delst wrote:
>> On 04/07/16 09:52, deathknight wrote:
>>> Hi,
>>>
>>> I'm using IDL 7.1. How can I read the NetCDF4 files using this version
>>> of IDL?
>>
>> NetCDF4 support wasn't added until v8.0 so the best (only?) way is to
>> upgrade your IDL install.
>
> I think that is correct.
>
>> Similarly, HDF5 support wasn't added until v8.3 (?) so that route is a
>> no go.
>
> HDF5 support has been in IDL since 5.6:

Oops! I was going by the version of addition of the H5_LIST() procedure
in the documentation.

(I often use H5_PARSE() to read random netCDF4 files that I want to have
a lookee at and...checking the docs....yep, it was introduced in v5.6.
Embarrassed cough...)

Thanks for the correction.

> http://harrisgeospatial.com/docs/H5_OPEN.html
>
> I would read the NetCDF 4 file using the HDF 5 routines. If you want
> simpler routines than the low level interface, check out my HDF 5 routines:
>
> https://github.com/mgalloy/mglib/tree/master/src/hdf5
>
> The routine to use is MG_H5_GETDATA. You will need the files in that
> directory (plus at least objects/idl_object__define.pro to run on IDL 7.1).

Apologies to the OP for the incorrect info regarding HDF5 support in IDL
v7.1.

cheers,

paulv
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: READ array from a file
Next Topic: Re: Problems on the Savitzky-Golay smoothing filter

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

Current Time: Wed Oct 08 15:48:10 PDT 2025

Total time taken to generate the page: 0.00386 seconds