From 09d32386b6d6581fecca5f42e5764ae767faf3fc Mon Sep 17 00:00:00 2001 From: DeRooBert <34279469+DeRooBert@users.noreply.github.com> Date: Thu, 26 Mar 2026 11:12:14 +0100 Subject: [PATCH 1/2] Update extra-indices-dict.json Adding the following indices ABDI1 and ABDI2 --- .../resources/extra-indices-dict.json | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/openeo/extra/spectral_indices/resources/extra-indices-dict.json b/openeo/extra/spectral_indices/resources/extra-indices-dict.json index f8b0e55f7..5a17c8b22 100644 --- a/openeo/extra/spectral_indices/resources/extra-indices-dict.json +++ b/openeo/extra/spectral_indices/resources/extra-indices-dict.json @@ -93,6 +93,34 @@ "reference": "https://digifed.org/", "short_name": "LSWI_B12", "type": "water" + }, + "ABDI1": { + "bands": + [ + "N", + "S1" + ], + "contributor": "vito", + "date_of_addition": "2025-03-26", + "formula": "exec('import numpy as np') or N * np.arctan((N-S1)/(1.610 - 0.842)", + "long_name": "Angle based drought index 1", + "reference": "https://www.tandfonline.com/doi/full/10.1080/19475705.2016.1201149", + "short_name": "ABDI1", + "type": "water" + }, + "ABDI2": { + "bands": + [ + "N", + "S2" + ], + "contributor": "vito", + "date_of_addition": "2025-03-26", + "formula": "exec('import numpy as np') or N * np.arctan((N-S2)/(2.190 - 0.842)", + "long_name": "Angle based drought index 2", + "reference": "https://www.tandfonline.com/doi/full/10.1080/19475705.2016.1201149", + "short_name": "ABDI2", + "type": "water" } } } From 39463c0a4a4b52b9cbe705d86bf2760e40393834 Mon Sep 17 00:00:00 2001 From: DeRooBert <34279469+DeRooBert@users.noreply.github.com> Date: Thu, 26 Mar 2026 13:40:26 +0100 Subject: [PATCH 2/2] Update extra-indices-dict.json --- .../extra/spectral_indices/resources/extra-indices-dict.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openeo/extra/spectral_indices/resources/extra-indices-dict.json b/openeo/extra/spectral_indices/resources/extra-indices-dict.json index 5a17c8b22..22fcb873a 100644 --- a/openeo/extra/spectral_indices/resources/extra-indices-dict.json +++ b/openeo/extra/spectral_indices/resources/extra-indices-dict.json @@ -102,7 +102,7 @@ ], "contributor": "vito", "date_of_addition": "2025-03-26", - "formula": "exec('import numpy as np') or N * np.arctan((N-S1)/(1.610 - 0.842)", + "formula": "exec('import numpy as np') or N * np.arctan((N-S1)/(1.610 - 0.842))", "long_name": "Angle based drought index 1", "reference": "https://www.tandfonline.com/doi/full/10.1080/19475705.2016.1201149", "short_name": "ABDI1", @@ -116,7 +116,7 @@ ], "contributor": "vito", "date_of_addition": "2025-03-26", - "formula": "exec('import numpy as np') or N * np.arctan((N-S2)/(2.190 - 0.842)", + "formula": "exec('import numpy as np') or N * np.arctan((N-S2)/(2.190 - 0.842))", "long_name": "Angle based drought index 2", "reference": "https://www.tandfonline.com/doi/full/10.1080/19475705.2016.1201149", "short_name": "ABDI2",