Good one Dr Jeffrey.. Always grateful for the Assistance.
@meteodata3 жыл бұрын
Thanks and Glad you found it useful.
@darylernestoayalasaavedra7578 Жыл бұрын
Thanks for your help! Very well explained
@davidragatoa71743 жыл бұрын
Another great one. Thanks Dr. Jeffrey
@meteodata3 жыл бұрын
Welcome, David
@meteodata3 жыл бұрын
Glad you found it useful.
@mortezaomidipor Жыл бұрын
Thanks.
@meteodata Жыл бұрын
Glad you found this helpful.
@lawrencenehemiah59452 жыл бұрын
Can you use SPI to identify extreme rainfall events? if so how do you interpret this in term of what you have explained?
@meteodata2 жыл бұрын
Sure, you can. Find more info here: public.wmo.int/en/resources/library/standardized-precipitation-index-user-guide
@simantverma75152 жыл бұрын
What is the x[9] for under 'Perform SPI Computation on Data at Varying times' ?
@meteodata2 жыл бұрын
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].
@simantverma75152 жыл бұрын
@@meteodata thanks so much!
@tuyenhavan75982 жыл бұрын
Thanks Sir.
@meteodata2 жыл бұрын
Most welcome
@shahanasp.v36349 ай бұрын
Hi sir, when I am using R code for finding SPI values , i am getting different answer..why??
@srujananandam9407 Жыл бұрын
why 9th index is considered x[9]
@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 Жыл бұрын
I mean to ask why not 8 or 11, why exactly 9th index(10 th element)
@thasweerah3 жыл бұрын
what if data are in netcdf format for several location
@meteodata3 жыл бұрын
That'll be the next episode. Kindly watch out for it
@meteodata2 жыл бұрын
kzbin.info/www/bejne/h5rOgmdtlqagbMU
@TheFalcon20162 жыл бұрын
how can we show only one plot if I have to show only SPI 12 how can I do that??
@meteodata2 жыл бұрын
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?
@yungsieugenensungni25133 жыл бұрын
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
@meteodata3 жыл бұрын
Hello Eugene, We have covered that in the attached tutorial (URL shown below) kzbin.info/www/bejne/iaXJhqCjhZJnaqM Hope it proves helpful. Cheers!
@yungsieugenensungni25133 жыл бұрын
@@meteodata thank you very much Sir.
@barandiaye52993 жыл бұрын
Do you can use a netcdf file to calculate spi?
@meteodata3 жыл бұрын
That'll be the next episode. Kindly watch out for it
@meteodata3 жыл бұрын
kzbin.info/www/bejne/iaXJhqCjhZJnaqM
@infinity__beyond2 жыл бұрын
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.
@yungsieugenensungni25132 жыл бұрын
i need this too, kindly let me know if you find a way out
@selomotsakanigermina35783 ай бұрын
where you able to find way out
@infinity__beyond3 ай бұрын
@@selomotsakanigermina3578 yes
@infinity__beyond3 ай бұрын
@@selomotsakanigermina3578 Yes I found it and my own code for calculating this.
@infinity__beyond3 ай бұрын
@@yungsieugenensungni2513 Yeah I found it and made my own code to calculated it.
@micha43553 жыл бұрын
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?
@meteodata3 жыл бұрын
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.
@seongyeolpark2199 ай бұрын
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.
@mohammedsalah177010 ай бұрын
This tutorial doesn't follow the same steps as the reference Excel sheet.