Any package in Julia to compute the Standardized Precipitation Index (SPI) ?
I had a (quick) look at ClimateTools.jl but couldn’t find it there…
I don’t know the answer, but I find that searching JuliaHub is good way to find packages. You can search both docs and source code for all registered packages.
Indeed, it is not implemented in ClimateTools. We have the “Drought Index” (drought_dc
function). https://github.com/JuliaClimate/ClimateTools.jl/blob/e48a9ec46b673dd9101527beb690ab50fabf9863/src/indicators.jl#L190
Back then, I simply used https://github.com/monocongo/climate_indices for my need as I did not had enough time to code it in Julia.