From f6ebaa0bc21f34c43d255928a6a2d80453888096 Mon Sep 17 00:00:00 2001 From: David Montero Loaiza <49817852+davemlz@users.noreply.github.com> Date: Thu, 16 May 2024 11:48:52 +0200 Subject: [PATCH] bNIRv, EVIv, sNIRvLSWI, sNIRvNDPI, sNIRvSWIR (#55), sNIRvNDVILSWIP, sNIRvNDVILSWIS --- src/indices.py | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/src/indices.py b/src/indices.py index 45e9afc..0210c7f 100755 --- a/src/indices.py +++ b/src/indices.py @@ -2115,5 +2115,68 @@ class SpectralIndices(BaseModel): date_of_addition="2024-04-08", contributor="https://github.com/gagev", ), + bNIRv=SpectralIndex( + short_name="bNIRv", + long_name="Blue Near-Infrared Reflectance of Vegetation", + formula="((N - B)/(N + B)) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-16", + contributor="https://github.com/davemlz", + ), + EVIv=SpectralIndex( + short_name="EVIv", + long_name="Enhanced Vegetation Index of Vegetation", + formula="2.5 * ((N - R)/(N + 6 * R - 7.5 * B + 1.0)) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-16", + contributor="https://github.com/davemlz", + ), + sNIRvLSWI=SpectralIndex( + short_name="sNIRvLSWI", + long_name="SWIR-enhanced Near-Infrared Reflectance of Vegetation for LSWI", + formula="((N - S2)/(N + S2)) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-16", + contributor="https://github.com/davemlz", + ), + sNIRvNDPI=SpectralIndex( + short_name="sNIRvNDPI", + long_name="SWIR-enhanced Near-Infrared Reflectance of Vegetation for NDPI", + formula="(N - (alpha * R + (1.0 - alpha) * S2))/(N + (alpha * R + (1.0 - alpha) * S2)) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-16", + contributor="https://github.com/davemlz", + ), + sNIRvSWIR=SpectralIndex( + short_name="sNIRvSWIR", + long_name="SWIR-enhanced Near-Infrared Reflectance of Vegetation", + formula="((N - R - S2 ** 2.0)/(N + R + S2 ** 2.0)) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-14", + contributor="https://github.com/MartinuzziFrancesco", + ), + sNIRvNDVILSWIP=SpectralIndex( + short_name="sNIRvNDVIxLSWI", + long_name="SWIR-enhanced Near-Infrared Reflectance of Vegetation for the NDVI-LSWI Product", + formula="((N - R)/(N + R)) * ((N - S2)/(N + S2)) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-16", + contributor="https://github.com/davemlz", + ), + sNIRvNDVILSWIS=SpectralIndex( + short_name="sNIRvNDVIxLSWI", + long_name="SWIR-enhanced Near-Infrared Reflectance of Vegetation for the NDVI-LSWI Sum", + formula="(((N - R)/(N + R)) + ((N - S2)/(N + S2))) * N", + reference="https://doi.org/10.22541/essoar.171561872.22414664/v1", + application_domain="vegetation", + date_of_addition="2024-05-16", + contributor="https://github.com/davemlz", + ), ) )