Convert GRIB to Geotiff



Convert GRIB to Geotiff

In this tutorial, we will find out how a can we convert GRIB to GeoTIFF file format. First of all the question is what is GRIB file and why anyone would convert the GRIB file in Geotiff format.

Convert GRIB to GeoTIFF

Before taking to conversion of GRIB and GeoTIFF, lets first understand what is GRIB and What is GeoTIFF.

GRIB (General Regularly-distributed Information in Binary) files are multidimensional files. These files are used to store Meteorological data. The data is store in image mosaic format. That measn all the raster bands ate mosaic together to store in one file. You may also look over details of GRIB Multi dimensional data.

Convert-GRIB to Geotiff

Convert GRIB file in Geotiff using GDAL utility-

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

Convert-GRIB to Geotiff

To check the presence of this library, you can type ogr2ogr in command prompt and get the following output.Convert-GRIB to Geotiff

Now follow the command to convert GRIB in geotiff.

–> gdal_translate -b 354 -a_srs EPSG:4326 GRIB_Filename.grb2 -of Gtiff’ Output_tiffname.geotiff

The options available in gdal_translate utility can be viewed by executing command gdal_translate on command prompt.

Convert-GRIB to Geotiff

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

Output in QGIS software

Convert-GRIB to Geotiff

Here we have more conversion as Netcdf to geotiff, HDF5 to geotiff etc., which can follow to convert your data.

Please feel free to comment in given box for any help.

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