I tried to use BandMath for cloud masking using the following equation:
‘if “cloud_in” < 1 then 1 else 0’
But an error occurred:
<…Could not parse expression: ‘if “cloud_in” < 1 then 1 else 0’. Numeric operands expected for binary ‘<’ operator.>
Anyone experienced the same error?
Dear Mr. Peters. I do appreciate your reply, but it looks like there’s an issue with using the band math operator inside the graph builder, which is solvable by using the Band-math operator separately.