 

Hello,

 

I am trying to convert a file in HDF5 format to ArcInfo Grid format. But I am having a problem in using gdal_translate and gdalinfo in accessing the subdataset in the HDF5 file. After running the command on my HDF5 file ( gdalinfo Hydrodynamic_2.hdf5), the name of the subdataset I want to access is written out as 

 

SUBDATASET_57_NAME=HDF5:" Hydrodynamic_2.hdf5"://Results/water_level/water_level_00002

 

So I tried to access this dataset by typing HDF5:" Hydrodynamic_2.hdf5"://Results/water_level/water_level_00002 as in

 

gdalinfo  " Hydrodynamic_2.hdf5"://Results/water_level/water_level_00002

gdal_translate  -of  AAIGrid  -sds HDF5:" Hydrodynamic_2.hdf5"://Results/water_level/water_level_00002 HDFTest.ascii

 

Unfortunately I get this error message for both commands and the program crashes

 

szFilenname Hydrodynamic_2.hdf5

 

Thank you very much 

 

 

Susana Costa

Consultora Técnica Sénior

 

ESRI Portugal

Tel: 912266080

susana.costa@esri-portugal.pt <mailto:susana.costa@esri-portugal.pt> 

www.esri-portugal.pt <http://www.esri-portugal.pt/> 

 


	[[alternative HTML version deleted]]


