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

Home » Public Forums » archive » Unable to open HDF in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Unable to open HDF in IDL [message #35986] Tue, 05 August 2003 00:35
sjarn1 is currently offline  sjarn1
Messages: 3
Registered: August 2003
Junior Member
Hello,

I am using IDL 5.4 on linux. I was able to open my HDF files without
any problems using the following program:

PRO hdf,geo,rain

file = hdf_sd_start('2A25.971231.535.5.HDF')
indexa = hdf_sd_nametoindex(file, 'geolocation')
indexb = hdf_sd_nametoindex(file, 'nearSurfRain')
varida = hdf_sd_select(file, indexa)
varidb = hdf_sd_select(file, indexb)
hdf_sd_getdata, varida, geo
hdf_sd_getdata, varidb, rain
hdf_sd_endaccess, varida
hdf_sd_endaccess, varidb
hdf_sd_end, file

return
end

However, I have now moved to a new computer attached to the same
servers and now I cannot get past:

% Compiled module: $MAIN$.
% Compiled module: HDF.
% Loaded DLM: HDF.

IDL stops at the end line.

I have checked out my HDF file and it appears to be fine

Does anyone have any suggestions as to why this is happening?

Thanks.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 6 is available on RSI ftp site
Next Topic: Re: IDL 6 is available on RSI ftp site

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

Current Time: Sat Oct 11 03:37:49 PDT 2025

Total time taken to generate the page: 0.24126 seconds