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 #92997 is a reply to message #92996] Thu, 07 April 2016 10:03 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
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:

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).

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
[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 19:55:22 PDT 2025

Total time taken to generate the page: 0.00421 seconds