Est-ce que quelqu'un connaît un code R pour calculer l'indice de gravité de la sécheresse de Palmer (PDSI)?[fermé]
Question
L'indice de gravité de la sécheresse de Palmer est l'un des indices d'humidité / de sécheresse les plus populaires. Il y a un colis dans R appelé une SPEI qui permet de calculer deux autres indices de sécheresse populaires (indice de précipitation normalisée et indice de précipitation et d'évapotranspiration normalisés).Je pense qu'il devrait y avoir un paquet pour calculer d'autres indices d'humidité et en particulier PDSI, mais je n'ai pas été incapable de trouver un moi-même.
La solution
It looks like we can thank Christian Zang for finally solving the problem: https://github.com/cszang/pdsi
Edit from 2018: This answer was just accepted so I have decided to fork the above-linked repo to my github to guard against future link rot. It will stay there indefinitely.
Autres conseils
This is the link for .exe file / C++ code that achieves the same.
It contains a manual that describes the input/ output file formats.
I hope that someones skilled enough can write a wrapper for this
A tool has been created for MatLab:
Jacobi, J., D. Perrone, L. L. Duncan, and G. Hornberger (2013), A tool for calculating the Palmer drought indices, Water Resour. Res., 49, doi:10.1002/wrcr.20342.
Now library scPDSI
is available in R for calculation of Palmer Drought Severity Index.