I'm facing an issue when running i.landsat.toar with a Landsat 7 image, here's the list of files:

  • LE70010752014040CUB00_B1
  • LE70010752014040CUB00_B2
  • LE70010752014040CUB00_B3
  • LE70010752014040CUB00_B4
  • LE70010752014040CUB00_B5
  • LE70010752014040CUB00_B6_VCID_1
  • LE70010752014040CUB00_B6_VCID_2
  • LE70010752014040CUB00_B7
  • LE70010752014040CUB00_B8

When the command is processing the bands, it gets stuck in band 6 and gives this error message:

ERROR: Unable to open header file for raster map <LE70010752014040CUB00_B61@>.

The rest of the band (7 and 8) aren't processed, neither with reflectance or radiance selected.

I configured the input_prefix=LE70010752014040CUB00_B and output_prefix=reflectance_

  • 1
    band6 is for temperature, did you configured the output? – Pau Feb 4 '15 at 15:03
  • yes, with output_prefix=reflectance_ – aldeano Feb 4 '15 at 20:02
  • When you work with temperature you don´t use reflectance. use output_prefix=_toar (I read the grass documentation and it doesn´t include a parameter to TOA temperature). Also you can try changing the name of the band from "LE70010752014040CUB00_B6_VCID_1" to "LE70010752014040CUB00_B61". Landsat 7 have to ways to name the band 6 (with and without VCID), but change the metadata of the file too. – Pau Feb 5 '15 at 12:10
  • I don't need the reflectance of the band 6, my problem is that grass stops working with the rest of the bands, and i need the reflectance of bands 7 and 8. – aldeano Feb 5 '15 at 13:48

It's no so elegant, but renaming LE70010752014040CUB00_B6_VCID_1 to LE70010752014040CUB00_B61 do the trick. If there's a way i can do this with patterns it'll be better.

| improve this answer | |

Please remove temperature bands (LE70010752014040CUB00_B6_VCID_1 & LE70010752014040CUB00_B6_VCID_2) from folder. Then grass will process 7 and 8 bands too.

| improve this answer | |

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.