MATLAB Answers

0

How to calculate standardized precipitation index (SPI).

Asked by Govind Kumar on 19 Jun 2019
Latest activity Answered by Chad Greene
on 17 Jul 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 Comments

Show 1 older comment
Govind Kumar 2019 年 6 月 19 日
yes matlab is softwear but i mentioned this because sometimes people provide link to download softwear instead of solution in matlab. SPI mean standardized precipitation index. It is a drought index which is used for drought trend analysis.
dpb
2019 年 6 月 19 日
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
2019 年 6 月 19 日
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.

Sign in to comment.

1 Answer

回答者: Chad Greene
2019 年 7 月 17 日

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

  0 Comments

Sign in to comment.