[R-sig-Geo] Help - gdal_translate HDF5 problems
Paul Hiemstra
p.hiemstra at geo.uu.nl
Tue Sep 18 11:15:02 CEST 2007
Dear Susana,
What OS are you using and what version of gdal are you using (gdalinfo
--version)? Maybe upgrading to a newer version could solve your problem.
And are you sure that the space before hydrodynamic should be there?
cheers,
Paul
Susana Costa schreef:
>
>
> 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 at esri-portugal.pt <mailto:susana.costa at esri-portugal.pt>
>
> www.esri-portugal.pt <http://www.esri-portugal.pt/>
>
>
>
>
> [[alternative HTML version deleted]]
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
--
Drs. Paul Hiemstra
Department of Physical Geography
Faculty of Geosciences
University of Utrecht
Heidelberglaan 2
P.O. Box 80.115
3508 TC Utrecht
Phone: +31302535773
Fax: +31302531145
http://intamap.geo.uu.nl/~paul
More information about the R-sig-Geo
mailing list