-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
DRIESSEB
committed
Nov 5, 2021
1 parent
d9ae22f
commit dbc8539
Showing
5 changed files
with
647 additions
and
167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 84 additions & 0 deletions
84
openeo/extra/spectral_indices/resources/vito-indices-dict.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"SpectralIndices": { | ||
"ANIR": { | ||
"bands": | ||
[ | ||
"R", | ||
"N", | ||
"S1" | ||
], | ||
"contributor": "vito", | ||
"date_of_addition": "2021-10-27", | ||
"formula": "exec('import numpy as np') or exec('from openeo.processes import clip') or np.arccos(clip((( np.sqrt( (0.8328 - 0.6646)**2 + (N - R)**2 )**2 + np.sqrt( (1.610 - 0.8328)**2 + (S1 - N)**2 )**2 - np.sqrt( (1.610 - 0.6646)**2 + (S1 - R)**2 )**2 ) / (2 * np.sqrt( (0.8328 - 0.6646)**2 + (N - R)**2 ) * np.sqrt( (1.610 - 0.8328)**2 + (S1 - N)**2 ))), -1,1)) * (1. / np.pi)", | ||
"long_name": "Angle at Near InfraRed", | ||
"reference": "", | ||
"short_name": "ANIR", | ||
"type": "vegetation" | ||
}, | ||
"NDGI": { | ||
"bands": [ | ||
"G", | ||
"R" | ||
], | ||
"contributor": "vito", | ||
"date_of_addition": "2021-10-27", | ||
"formula": "(G - R) / (G + R)", | ||
"long_name": "Normalized Difference Glacier Index", | ||
"reference": "https://www.researchgate.net/publication/248978081_ASTER_ratio_indices_for_supraglacial_terrain_mapping", | ||
"short_name": "NDGI", | ||
"type": "glacier" | ||
}, | ||
"NDMI": { | ||
"bands": [ | ||
"N", | ||
"S1" | ||
], | ||
"contributor": "vito", | ||
"date_of_addition": "2021-10-27", | ||
"formula": "(N - S1) / (N + S1)", | ||
"long_name": "Normalized Difference Moisture Index", | ||
"reference": "https://rdrr.io/cran/LSRS/man/NDMI.html", | ||
"short_name": "NDMI", | ||
"type": "moisture" | ||
}, | ||
"NDRE1": { | ||
"bands": [ | ||
"N", | ||
"RE1" | ||
], | ||
"contributor": "vito", | ||
"date_of_addition": "2021-10-27", | ||
"formula": "(N - RE1) / (N + RE1)", | ||
"long_name": "Normalized Difference Red Edge 1", | ||
"reference": "", | ||
"short_name": "NDRE1", | ||
"type": "vegetation" | ||
}, | ||
"NDRE2": { | ||
"bands": [ | ||
"N", | ||
"RE2" | ||
], | ||
"contributor": "vito", | ||
"date_of_addition": "2021-10-27", | ||
"formula": "(N - RE2) / (N + RE2)", | ||
"long_name": "Normalized Difference Red Edge 2", | ||
"reference": "", | ||
"short_name": "NDRE2", | ||
"type": "vegetation" | ||
}, | ||
"NDRE5": { | ||
"bands": [ | ||
"RE1", | ||
"RE3" | ||
], | ||
"contributor": "vito", | ||
"date_of_addition": "2021-10-27", | ||
"formula": "(RE3 - RE1) / (RE3 + RE1)", | ||
"long_name": "Normalized Difference Red Edge 5", | ||
"reference": "", | ||
"short_name": "NDRE5", | ||
"type": "vegetation" | ||
} | ||
} | ||
} |
Oops, something went wrong.