Hello
I want to run an expression in Band Maths however I receive an error for one of the bands "Undefined symbol ‘$10.B10’ ".
This is a resampled B10 to 10m resolution.
From another thread I suspect it’s due to pixels colums (Y axis) are slightly less than the bands which don’t have errors (see below).
How could I make a B10 with the same number of rows and columns? Either during resampling or after?
Or would I have to make a subset of the other bands in the formula (more work)?
B10, 22272 x 31824 pixels
B4, 22272 x 31827 pixels
B11, 22272 x 31827 pixels
You certainly need the images to match both in size and geolocation for band maths. If you don’t see B10 in the list of data sources it won’t work in a Band Maths Expression. You might want to revisit the resampling operation for B10 to see if you can match the other bands. Others may recognize the problem and provide a solution.
As a next to last resort (before resampling the other bands) you could check the geolocation of the corners of B10 to see if they agree with a subset of the other bands. If so, you will an external tool (e.g., matlab, IDL/gnudatalanguage) to add a couple lines of “missing data” while preserving the geolocation information.