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 #93015 is a reply to message #93007] Sun, 10 April 2016 05:50 Go to previous messageGo to previous message
DK is currently offline  DK
Messages: 12
Registered: June 2015
Junior Member
> Yes, you have to specify the variable/attribute that you want:
>
> IDL> var = mg_h5_getdata('E:\netcdf4.nc', 'group/myvar')
> IDL> attr = mg_h5_getdata('E:\netcdf4.nc', 'group/myvar.attr')
>

Hi,

I tried, but still got error like this:

IDL> result=mg_h5_getdata('E:\netcdf4.nc', 'varname')
% H5F_OPEN: unable to open file: Object Name:"E:\netcdf4.nc"
% Error occurred at: MG_H5_GETDATA 446 D:\Program Files (x86)\ITT\IDL71\lib\hdf5\mg_h5_getdata.pro
% $MAIN$
% Execution halted at: $MAIN$

Where did I go wrong?

Thank you very much!
[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 13:55:04 PDT 2025

Total time taken to generate the page: 0.00498 seconds