Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fix NDVI calculation
  • Loading branch information
ghtmtt committed May 28, 2019
1 parent 8d64301 commit cf634aa
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -122,7 +122,7 @@ def okPressed(self):

class ExpressionWidget(BASE, WIDGET):

_expressions = {"NDVI": "([NIR] - [Red]) % ([NIR] + [Red])"}
_expressions = {"NDVI": "([NIR] - [Red]) / ([NIR] + [Red])"}

def __init__(self, options):
super(ExpressionWidget, self).__init__(None)
Expand Down

0 comments on commit cf634aa

Please sign in to comment.