I have calculated LST and has it as a band inside the product of format .dim file and want to save it as GeoTiff outside the .dim as independent band. However, for some reason SNAP does not let me do so.
I have done resampling on the bases on the thermal band and did not work as well.
What could be the solution to extract a single band saving it as GeoTiFF outside SNAP?
After a resampling this message should not show up anymore. Maybe something went wrong?
But you can create a subset in which you only include this band and then do the export.
It still does not let me since I selected the complete layer I wanted to save as GeoTIFFwith the visual selection tool and only selected the desired band LST_cels and this message appears:
So, just a few more questions.
The message above seems to indicate that you are using a valid-pixel expression which references all the other bands. Is that true?
Without knowing the data, it is difficult to make a diagnosis.
Is it possible for you to provide me the data?
I’ll send you a PM with a location where you can upload it.
It is as I thought. The valid-pixel expression of the band references the other bands.
I guess you created first Virtual bands and then converted them to “real” bands, right?
That’s also the reason why opening this band takes so long. All other bands have to be loaded too.
You can now change this expression by right-click on the LST_cels band and open the properties.
delete the expression.
Instead you can use an expression like LST_cels > -500.
Then you should be able to export the band.
For the future you can use the option to not create a virtual bands with the Band Maths.
Just uncheck the “Virtual …” option.
I think this way the expression will not be a problem. Alternatively, you manage how the valid-pixel expression evolves when working virtual bands.
Hello Marco,
It worked very well with the formula LST_cels > -500 and the subset after that I could export and open in QGIS.
Thanks a lot!!
PD. a question: for avoiding this next time I have subset before processing the bands leaving the panchromatic outside the new subset ?
Thanks a lot again.
Regards,