Skip to content

Commit

Permalink
[processing] fix NDVI calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ghtmtt committed May 28, 2019
1 parent 8d64301 commit cf634aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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.