#6 Allow boolean values in expressions to be used as numbers

open
3
2003-06-18
2003-06-18
Norman Fomferra
No

Allow boolean value in expressions to be used as
numbers in the Band arithmetic dialog
Examples:

1) (NOT l1_flags.BRIGHT) * radiance_4
2) (radiance_4 <= 50) * radiance_5

Currently these expression must be coded as follows:

1) l1_flags.BRIGHT ? 0 : radiance_4
2) radiance_4 <= 50 ? radiance_5 : 0

Discussion