Can anyone tell the program code or script for converting HDF files to geotiff using MRTSwath tool?

I've downloaded MODIS Files for fog estimation but i couldn't find how to process them.

  • 1
    see this gis.stackexchange.com/questions/58688/… Apr 20, 2015 at 8:29
  • You've tagged with gdal, but your question makes no mention of it, just the specific MRTSwath tool. If gdal is sufficient, then this is a duplicate of the question juls links to. If not, please edit your question to remove the gdal tag and specify in the title you want to do this with MRTSwath.
    – Chris W
    Apr 20, 2015 at 21:36
  • I used R to convert from HDF to geotiff, I couldn't get any of the tools to work correctly. Let me know if you need help.
    – GISHuman
    Mar 2, 2017 at 18:10

1 Answer 1


Hey if you are using ArcGIS, below link will give you code developed by me which does the same thing that MRT tool does. Modify the paths of your data input and shape file for cliping the desired area.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.