Skip to content

Commit

Permalink
main file
Browse files Browse the repository at this point in the history
  • Loading branch information
Varitius24 authored Feb 24, 2024
1 parent 1356c60 commit fbb9646
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/health_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ def srre(nir: np.ndarray, red_edge: np.ndarray) -> np.ndarray:
return result

def evi(nir: np.ndarray, red: np.ndarray, blue: np.ndarray, g =2.5, c1 = 6, c2 = 7.5, l = 1, scale = 0.0001) -> np.ndarray:

#for some reason you have to scale it down? See below:
#https://community.esri.com/t5/arcgis-spatial-analyst-questions/formula-for-enhanced-vegetation-index-evi-in/td-p/32453
top = (nir*scale-red*scale) *g
Expand Down

0 comments on commit fbb9646

Please sign in to comment.