Convert HDF5 to Geotiff

Convert-HDF5 to Geotiff

In this article we are discussing about converting HDF5 to Geotiff file format. The question may arise in your mind that why would anyone convert HDF5 data into geotiff. The answer is simple, not every server or software support HDF5 data so for that you need to install some plug-ins that may take time in your analysis process.

Convert HDF5 to Geotiff

HDF5 (Hierarchical Data Format) file is Multi-Dimensional data that contains data in hierarchical format. That means in one file we have multiple bands and that bands also contains sub bands. That can defines as a tree type structure. You may look over details in multidimensional HDF5 Data.

Convert-HDF5 to Geotiff

Convert HDF5 to Geotiff using GDAL utility-

Here we have used GDAL Utility that is gdal_translate. For using this utility you need to add GDAL in your system. please follow the given command

Convert-HDF5 to Geotiff

To check the availability you can type ogr2ogr in command prompt and get the following result.Convert-HDF5 to Geotiff

After setting the GDAL utility in system, you can run the conversion command for HDF5 file, which is

–> gdal_translate -a_srs EPSG:4326 HDF5:File_name.hdf5:BAND_Name -of ‘Gtiff’ Output_FileName.geotiff

Gdal_translate has some options, which can be seen by typing gdal_translate in your command prompt.

HDF5 to geotiff

Here, in the command we have -a_srs to assign SRS (spatial reference system) , specify the HDF5 file with band. the option -of ‘Gtiff’ shows the output file format.

You may also look for other conversion to GeoTiff i.e from NetCDF to GeoTIFF or from Grib to GeoTIFF file.

Output In QGIS software- Convert HDF5 to Geotiff

Convert-HDF5 to Geotiff

Please let us know, if you face any problem or require any help in conversion by commenting in given comment box.

Author: Akshay Upadhyay

Owner and Director of a Private Limited company which serves individual to large scale industries in the field of Maps and GIS. He is a Gold Medalist in M.Tech(Spatial Information Technology) and owns some famous Technology blogs and website... Know more