From d3f89f79633021e2e48cfff0a759ca04a76c6fce Mon Sep 17 00:00:00 2001 From: Crespin-Boucaud Arthur <arthur.crespin-boucaud@cirad.fr> Date: Fri, 10 Jul 2020 16:19:36 +0200 Subject: [PATCH] Update VenusTHEIA_XS_getExpressions of computeFeatures.py --- computeFeatures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/computeFeatures.py b/computeFeatures.py index ff69175..9dedd12 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: -- GitLab