Тёмный

Standardized Precipitation Index (SPI) | Drought & Flood Monitor | Build Your Function in Python 

Meteo Data
Подписаться 1,6 тыс.
Просмотров 9 тыс.
50% 1

Опубликовано:

 

20 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@AliGhaffari-vf5nd
@AliGhaffari-vf5nd Год назад
Probably the best tutorial on SPI. Nice work!
@meteodata
@meteodata Год назад
Glad you found this helpful.
@dnyaneshwararjunmadane-swe9235
Nice elaborate SPI. Thanks
@yazodaanaupdates
@yazodaanaupdates 3 года назад
Good one Dr Jeffrey.. Always grateful for the Assistance.
@meteodata
@meteodata 3 года назад
Thanks and Glad you found it useful.
@darylernestoayalasaavedra7578
Thanks for your help! Very well explained
@davidragatoa7174
@davidragatoa7174 3 года назад
Another great one. Thanks Dr. Jeffrey
@meteodata
@meteodata 3 года назад
Welcome, David
@meteodata
@meteodata 3 года назад
Glad you found it useful.
@shahanasp.v3634
@shahanasp.v3634 6 месяцев назад
Hi sir, when I am using R code for finding SPI values , i am getting different answer..why??
@lawrencenehemiah5945
@lawrencenehemiah5945 2 года назад
Can you use SPI to identify extreme rainfall events? if so how do you interpret this in term of what you have explained?
@meteodata
@meteodata 2 года назад
Sure, you can. Find more info here: public.wmo.int/en/resources/library/standardized-precipitation-index-user-guide
@seongyeolpark219
@seongyeolpark219 6 месяцев назад
Hi, thank you for your great tutoring. However, I regret to say there seems a miscalculation in this video. Each period of a specific year, like Jan - Mar, when calculating SPI-3 must be compared with the same periods of other years. For example, Jan - Mar in 1959 must be compared with the Jan - Mar period in other years like 1960 - 1989. However, the method in this tutorial compares every three months' precipitation regardless of specific months. It means the typical wet period of the year always shows positive SPI even though it doesn't rain as usual. In the graph of SPI-3 and SPI-6 in Video, every year has positive data. It means it doesn't show historical drought in specific years. On the other hand, the reason SPI-12 and SPI-24 values show different anomalies for each year is their data range is a year and two years, including every 12 months of a year. So, they can show historical drought status regardless of the difference in calculation method whether separating calculation for basic month or not. I am sorry to raise this issue and bother you, but I hope you understand what I mean and revise this video.
@simantverma7515
@simantverma7515 Год назад
What is the x[9] for under 'Perform SPI Computation on Data at Varying times' ?
@meteodata
@meteodata Год назад
We built the function to return 10 different outputs that we can use later. The 10th variable is the SPI output. Python indexing starts from 0. So, in order to retrieve the SPI variable from the function, we select the 10th item of the function output, which is the x[9].
@simantverma7515
@simantverma7515 Год назад
@@meteodata thanks so much!
@yungsieugenensungni2513
@yungsieugenensungni2513 2 года назад
Hello Sir, I have a problem writing a code that will characterize drought from a netcdf SPI file. I don't know of you have done any work in that direction please
@meteodata
@meteodata 2 года назад
Hello Eugene, We have covered that in the attached tutorial (URL shown below) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-StfUmmP-44A.html Hope it proves helpful. Cheers!
@yungsieugenensungni2513
@yungsieugenensungni2513 2 года назад
@@meteodata thank you very much Sir.
@falconvlog4679
@falconvlog4679 2 года назад
how can we show only one plot if I have to show only SPI 12 how can I do that??
@meteodata
@meteodata 2 года назад
Without massively changing the code, you should make the needed SPI value the first in your times=[ ] array. Afterward, set nrows to 1 in the plt.subplots( ) part. Hope this is helpful?
@infinity__beyond
@infinity__beyond 2 года назад
Hello Sir, I have calculated SPI through netcdf and now I want to Calculated Drought Intensity, Drought Frequency and Drought Duration. Kindly help me to find these values using python. Also, I want spatial plot of these stats. Thank you.
@yungsieugenensungni2513
@yungsieugenensungni2513 2 года назад
i need this too, kindly let me know if you find a way out
@selomotsakanigermina3578
@selomotsakanigermina3578 19 дней назад
where you able to find way out
@infinity__beyond
@infinity__beyond 19 дней назад
@@selomotsakanigermina3578 yes
@infinity__beyond
@infinity__beyond 16 дней назад
@@selomotsakanigermina3578 Yes I found it and my own code for calculating this.
@infinity__beyond
@infinity__beyond 16 дней назад
@@yungsieugenensungni2513 Yeah I found it and made my own code to calculated it.
@micha4355
@micha4355 2 года назад
I guess what your function does not account for is seasonality, right? You basically compare, say, MA of Jan, Feb and Mar to the mean of all MAs, covering also the other months. What you ideally like to have is a comparison with the MA of a particular year with the long-term mean of the MAs of the exact same period. I.e. compare the MA of the first three month of 2014 with the long term mean of the MAs of the same first three month for all years prior to 2014. Am I correct or am I missing somethng?
@meteodata
@meteodata 2 года назад
Not quite sure if I got the question fully, but for select seasons, you can extract those seasons from the data set before applying the function. The shortfall in that is, you need a continuous (cyclical), annual data spanning a period to rightly deduce the SPIs, especially for the longer-range SPIs.
@barandiaye5299
@barandiaye5299 3 года назад
Do you can use a netcdf file to calculate spi?
@meteodata
@meteodata 3 года назад
That'll be the next episode. Kindly watch out for it
@meteodata
@meteodata 3 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-StfUmmP-44A.html
@mortezaomidipor
@mortezaomidipor Год назад
Thanks.
@meteodata
@meteodata Год назад
Glad you found this helpful.
@thasweerah
@thasweerah 3 года назад
what if data are in netcdf format for several location
@meteodata
@meteodata 3 года назад
That'll be the next episode. Kindly watch out for it
@meteodata
@meteodata 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QikQ47aAm6c.html
@srujananandam9407
@srujananandam9407 Год назад
why 9th index is considered x[9]
@meteodata
@meteodata Год назад
python indexing starts from zero, so the 10th element has an index of 9 hence the x[9] calls the 10th (final) element from the returned output.
@srujananandam9407
@srujananandam9407 Год назад
I mean to ask why not 8 or 11, why exactly 9th index(10 th element)
@tuyenhavan7598
@tuyenhavan7598 2 года назад
Thanks Sir.
@meteodata
@meteodata 2 года назад
Most welcome
@mohammedsalah1770
@mohammedsalah1770 7 месяцев назад
This tutorial doesn't follow the same steps as the reference Excel sheet.
Далее
#kikakim
00:17
Просмотров 6 млн
Calculating SPI index using R studio | Video Tutorial
17:17
What is Pandas? Why and How to Use Pandas in Python
10:08
Pydantic Tutorial • Solving Python's Biggest Problem
11:07