How to calculate standardized precipitation index (SPI).

54 vues (au cours des 30 derniers jours)
Govind Kumar
Govind Kumar le 19 Juin 2019
I have rainfall data in .mat format. Data is 2D matrix mxn where m are row representing m days and n is column representing n locations. I wanted to calculated SPI for each location as well as whole country. Please do not suggest any softweaer.
  4 commentaires
dpb
dpb le 19 Juin 2019
Well, what's the actual definition one could use to calculate from? We're not all specialists in various fields...
What have you tried so far?
dpb
dpb le 19 Juin 2019
Modifié(e) : dpb le 20 Juin 2019
They're fitting multiple distributions to find best fit of precipitation data over the given time period, then using that to compute a percentile.
Search the FileExchange; there are several submissions there that should at least give you a head start...this won't be a five-minute exercise.

Connectez-vous pour commenter.

Réponses (1)

Chad Greene
Chad Greene le 17 Juil 2019
Hi Govind,
You might want to check out the spei function in the Climate Data Toolbox for Matlab.
Chad

Catégories

En savoir plus sur Weather and Atmospheric Science dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by