1

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?

2
  • 1
    Add the command you're calling to be able to help.
    – Peter Ivan
    Commented Feb 1, 2013 at 22:02
  • yes, it is because of the space in the path. much obliged!
    – chang
    Commented Feb 18, 2016 at 15:41

1 Answer 1

4

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).

1
  • Maybe interesting, also in terms of the application of the QA map: pymodis.fem-environment.eu , a python library to work with MODIS data.
    – markusN
    Commented Mar 18, 2013 at 6:53

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