Commit 1cc873bf authored by Miguel Angel Gonzalez's avatar Miguel Angel Gonzalez
Browse files

Using LONG64 initializers in HDx_OPEN to account for change of HDF library in IDL 8.8

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