awesome-spectral-indices / spyndex

Awesome Spectral Indices in Python.
https://spyndex.readthedocs.io/
MIT License
191 stars 22 forks source link

QST: Compute custom spectral indices #16

Closed remi-braun closed 2 years ago

remi-braun commented 2 years ago

Hello,

Is it possible to compute custom indices that are not registered in Awesome Spectral Indices ?

My usecase is that I have maybe too specific indices that wouldn't be useful to the community. Or indices using satellites not handled currently like WorldViews/PlanetScope with the Yellow band.

If not I would be happy to share them all 😄

remi-braun commented 2 years ago

For example, I need to allow all these satellites (with their mapped bands) to have indices.

Maxar has developped spectral indices based on their bands (you can see them page 2 here) Would it be useful for you to add a Yellow band ?

davemlz commented 2 years ago

Hi @remi-braun,

For now it is not possible. The idea would be to add the indices to ASI first.

About the Yellow band. It seems fair to have it. Let me some time I rearrange the structure in ASI for this :)

davemlz commented 2 years ago

Hi @remi-braun!

I added a Yellow band in Awesome Spectral Indices (https://github.com/awesome-spectral-indices/awesome-spectral-indices/issues/24). The standard for the band is Y :)

Cheers!

remi-braun commented 2 years ago

Hi @remi-braun,

For now it is not possible. The idea would be to add the indices to ASI first.

About the Yellow band. It seems fair to have it. Let me some time I rearrange the structure in ASI for this :)

Ok I try to add a maximum of the indices provided in EOReader, but I think some are too contextual. I will try to mimic you mechanism to add other indices then 🙂

NB: If you could add the water vapour band in ASI, it would be great! 🙏