Palmer drought severity index is one of the most popular moisture/drought indices around. There is a package in R called a SPEI that allows calculation of two other popular drought indices (Standardised precipitation index and Standardised precipitation and evapotranspiration Index ). I think there should be some package to calculate other moisture indices and particularly PDSI but i have been unable to find one myself.
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.
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
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.
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.
Update
The package has been removed from the CRAN repository. But you can use the following code to install the latest archived version
install.packages("https://cran.r-project.org/src/contrib/Archive/scPDSI/scPDSI_0.1.3.tar.gz",
repo=NULL, type="source")
© 2022 - 2024 — McMap. All rights reserved.
[email protected]
mailing list (make sure to mention that you're cross-posting).library(sos); findFn("drought"); findFn("drought Palmer")
gets 28 hits for the first query, none (oh well) for the second – Oracular