[GIS] Format MODIS HDF to Geotiff in MRT

geotiff-tiffmodis

Am using Modis Reprojection Tool (ModisTool) on MODIS LST data (MOD11A1) to
convert to GeoTiff format.

When I run it I get this error message:

Error: OpenGeoTIFFFILE: Opening Output Image File
Unable to open C:\(directory)\ ..LST_Day_1km.tif: Cannot open.

What is the correct syntax to use? Is there some way to debug this error?

Best Answer

I just ran into the same problem, and somehow figured out the solution (in my case, at least): Make sure that there are no spaces in the path or name of your new file. For some reason, the MRT changes them to underscores instead of using quotes or whatever to keep them as spaces.

As I said, this worked for me (MRT 4.1, Mac OS X 10.8.2).