diff --git a/computeFeatures.py b/computeFeatures.py index ff691757d5428574eb727dbdae4cb504d36c37d6..9dedd1219c33c318d2d1a1acf664353e07e4fd13 100644 --- a/computeFeatures.py +++ b/computeFeatures.py @@ -523,7 +523,7 @@ def VenusTHEIA_XS_getExpressions(feat, cfg): warnings.warn("No " + b + "available on Venus.") if 'NDVI' in feat: - if cfg['b11'].isdigit() and cfg['b07'].isdigit(): + if cfg['b11'].isdigit() and cfg['b7'].isdigit(): expr[feat.index('NDVI')] = '(im1b' + cfg['b11'] + ' - im1b' + cfg['b7'] + ') / (im1b' + cfg[ 'b11'] + ' + im1b' + cfg['b7'] + ')' else: