Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SPEI index suitable for WRI power-generating asset model #4

Open
joemoorhouse opened this issue Jan 12, 2023 · 4 comments
Open
Assignees

Comments

@joemoorhouse
Copy link
Collaborator

No description provided.

@deepakbaskaran
Copy link

There is a python package that can be used to calculate the SPEI (as well as other useful indices).
https://climate-indices.readthedocs.io/en/latest/#
https://pypi.org/project/climate-indices/

@deepakbaskaran
Copy link

@joemoorhouse
Copy link
Collaborator Author

Hi @faridradmehr, this is the original issue, re-awakened thanks to your additions.
https://github.com/os-climate/hazard/blob/main/src/hazard/models/drought_index.py
Based on xclim implementation https://xclim.readthedocs.io/en/stable/
Last things to do:

  • add concurrency (multi-threading) for SPEI index calculation stage (I'll add a suggested approach)
  • complete tests and sanity checks of results
  • perform clean run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants