NASA-DEVELOP / dnppy

DEVELOP National Program Python package for use with NASA data and GIS!
https://nasa-develop.github.io/dnppy/
Other
81 stars 40 forks source link

Wrong SAVI formula in surface_temp.py #83

Closed PatrickImbo closed 8 years ago

PatrickImbo commented 8 years ago

in dnppy/dnppy/landsat/surface_temp.py

savi = ((1 + L) * (nir - red))/(L + (nir + red))

instead of :

savi = ((1 + L) * (nir - red))/(L + (nir - red))

Regards, Patrick

stapleCamel commented 8 years ago

Thanks for the heads up. Fixed with 291395eee4e270bc52f05adca1a31a432721a3aa