Commit 4880a2c7 authored by Miguel Angel Gonzalez's avatar Miguel Angel Gonzalez
Browse files

Use long integers in HDx_open to comply with new version of the HDF5 library...

Use long integers in HDx_open to comply with new version of the HDF5 library used in IDL 8.8 (issue #43)
parent f9081d58
......@@ -13,9 +13,9 @@ if n_elements(vers) eq 0 then begin & hdf5=0 & vers=4
endif
if hdf5 then begin & b=CALL_FUNCTION('H5F_IS_HDF5',FileName) & if b then vers=5 else vers=4 & endif
if vers eq 5 then begin
att_loc=-1L & file_id=H5F_OPEN( FileName)
grp_loc=-1L & grp_id =0L & grp_names='' & att_names='!'
sd_loc =-1L & sd_id =0L & sd_names =''
att_loc=-1LL & file_id=H5F_OPEN( FileName)
grp_loc=-1LL & grp_id =0LL & grp_names='' & att_names='!'
sd_loc =-1LL & sd_id =0LL & sd_names =''
nb_ent =-1
root=H5G_OPEN( file_id , '/') & Natts=H5A_GET_NUM_ATTRS(root)
ok=0 & sk=0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment