I am trying to use the GRASS module i.landsat.toar.

Currently the files created are empty and it spits out:

enter image description here

So it seems that it is not picking up something? The location is set to the extent of the landsat image. Does anyone have an idea where I am going wrong?


  • Could you please describe exactly how you try to use the module? – Nikos Alexandris Feb 11 '13 at 14:52
  • 1
    Sorry, since writing this post I have solved the problem by using the MTLold file that comes with the landsat imagery. The program appeared not to be able to read the more recent MTL version. – Becky Feb 13 '13 at 9:33
  • 2
    Which GRASS GIS version do you use? The newer versions support both the old as well as the new "MTL" metadata files. – Nikos Alexandris Feb 13 '13 at 12:42
  • @NikosAlexandris I think it should be possible for you to craft an answer of a few sentences to say basically what you have commented. By providing an answer you can not only potentially earn reputation but you can help the asker and future readers better understand the historical nature of the question and currency of your answer. – PolyGeo Feb 13 '15 at 10:58

The original question could have been more complete, if the exact command instructed would have been posted. As well, the exact type of Landsat product, and the metadata file in question.

Anyhow, from the screenshot, one can conclude that the original poster tried to work on Landsat7 bands. Taking into account the date when the question was posted, it is likely that the version of GRASS used, was version 6.4.

Support for the "new" --at the time-- type of metadata files (MTL), was added:

  • Please, accept this answer so as to help future readers to understand better the historical nature of the question. In addition, this example emphasizes the speed with which things can roll in an open source project. In case the answer won't be accepted within reasonable time --given it is an old question and, thus, of less "usage" interest-- I kindly ask (and will act upon via a flag) for closing it. – Nikos Alexandris Mar 19 '15 at 9:35

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.