Unable to open HDF in IDL [message #35986] |
Tue, 05 August 2003 00:35 |
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.
|
|
|