Data download link: www.drought.gov/data-maps-tools/climate-and-drought-indices-python-spi-spei-pet Alternative link: github.com/monocongo/climate_indices
So, when we calculate SPEI and just give one input (TEMP), but not precipitation, how would it calculate drought just from temperature...or do we need to give bunch of variables?
Hello! Thank you for sharing this video. I found it really informative and I appreciate the effort you put into creating it. However, I wanted to let you know that the links you have provided in the video description do not seem to be working properly. When I clicked on the links, they did not download the same file as the one you mentioned in the video, and they did not work as expected. I hope you share the source file, as I am really interested in accessing the resources you mentioned. Thank you again for sharing your expertise with us.
Thank you Dr. Jalal for the great video. I was just wondering about the calibration start year and calibration end year. Could you please provide a bit more insight on them? As an example, I want to calculate spei for 1970-2010 dataset. So my calibration start and end year would be 1970 and 2010. I wonder if it would be needed to use some of this data for calibration, such as 1970-1980.
hi can I ask why I get the error? UserWarning: resource_tracker: There appear to be 8 leaked semaphore objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d '
hallo sir, i have question, how i change the dimention my file nc using nco on windows? because my data have parameter like precip(time, lat, lon) instead like precip(lat, lon, time), how i can change the order? thank you
hi jalal, when i use the given example data the code work, but when i use my own precipitation data (cmip6) i face with error. moreover cdo doesn't know the structure of given precip data in example, would you pls explain?
Respected sir, Sir I want to calculate the SPEI of a basin . Should it be necessary to calculate the grided SPEI of that basin, or any another method of calculation of the SPEI.
In your " A comprehensive statistical assessment of drought indices to monitor drought status in Bangladesh" u have used spei using R . Why didn't you use it using this python software when it was spei was available? Also I am unable to download this python software for spi and spei by NIDIS now, has it been removed or is the link change? Please help me with this
Hi Mr Jalal, can you again check if this code is working fine. I am using the procedure for CHIRPS netcdf data and code is reading data and starting calculation but then giving error messages. I have checked the data carefully and netcdf data is all fine. I will be thankful if you could check again and guide me. Thanks
Thank you very much for the useful video and channel. I have a question. In command line I put the full address of input and output data. I faced this error "--output_file_base: command not found" Do you know the solution?Thanks
Sir thankyou for the package and video. I am getting this error, process_climate_indices is not recognised, please sir help me with this problem I have tried changing path. But it is still showing same error
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Thanks again for the video, I tried to run the code but I get "FileNotFoundError: [Errno 2] No such file or directory" type of an error. Could you please help me solve the problem dear professor. I already changed directory for the file in which the NC file is located. Thanks in advance
Thanks for the video, it's super helpful. Yet, I couldn't reach out to the zip file. The link you provided for data download in the description says page or link not found. Could anyone please share with the zip file? I couldn't find it anywhere at all. Thanks in advance
Hello, thank you very much for the explanation. I have a problem I get the error "ValueError: Unable to calculate Pearson Type III parameters due to invalid L-moments", do you know how to solve it?
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
@@DrJalal90 $ process_climate_indices --index palmers --periodicity monthly --netcdf_precip ./nclimgrid_lowres_prcp.nc --var_name_precip prcp --netcdf_pet ./nclimgrid_lowres_pet.nc --var_name_pet pet --netcdf_awc ./nclimgrid_lowres_soil.nc --var_name_awc awc --output_file_base ../results/nclimgrid_lowres --calibration_start_year 1951 --calibration_end_year 2010 Traceback (most recent call last): File "c:\users\bikra\anaconda3\lib unpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\users\bikra\anaconda3\lib unpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\bikra\anaconda3\Scripts\process_climate_indices.exe\__main__.py", line 4, in File "c:\users\bikra\anaconda3\lib\site-packages\climate_indices\__main__.py", line 14, in from climate_indices import compute, indices, utils File "c:\users\bikra\anaconda3\lib\site-packages\climate_indices\compute.py", line 9, in import scipy.stats File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\__init__.py", line 388, in from .stats import * File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\stats.py", line 180, in from . import distributions File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\distributions.py", line 8, in from ._distn_infrastructure import (entropy, rv_discrete, rv_continuous, File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\_distn_infrastructure.py", line 23, in from scipy import optimize File "c:\users\bikra\anaconda3\lib\site-packages\scipy\optimize\__init__.py", line 387, in from .optimize import * File "c:\users\bikra\anaconda3\lib\site-packages\scipy\optimize\optimize.py", line 36, in from ._numdiff import approx_derivative File "c:\users\bikra\anaconda3\lib\site-packages\scipy\optimize\_numdiff.py", line 6, in from scipy.sparse.linalg import LinearOperator File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 114, in from .eigen import * File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\__init__.py", line 9, in from .arpack import * File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\__init__.py", line 20, in from .arpack import * File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 43, in from . import _arpack ImportError: DLL load failed while importing _arpack: The specified procedure could not be found.
Hi Jalal! Thank you for this great tutorial. However, I am getting an error while calculating the SPI at the end. "File "c:\users\dell\anaconda3\lib\site-packages\xarray\core\variable.py", line 1068, in chunk data = da.from_array(data, chunks, name=name, lock=lock, **kwargs) TypeError: from_array() got an unexpected keyword argument 'meta'" Can you please suggest to me what I should do to fix it?
Hello, I tried this easy way to calculate spi, but y received this error: "File "/home/usuario/anaconda3/envs/chirps/lib/python3.11/site-packages/xarray/core/utils.py", line 281, in either_dict_or_kwargs raise ValueError(f"the first argument to .{func_name} must be a dictionary") ValueError: the first argument to .drop_sel must be a dictionary". Someone can tell me what is wrong? Thank you!
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Thank Jalal's, I have information monthly in file Raster but i dont know convertion in nc. Can you help me?. I work in arcgis but i cant transformation file. Thank
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
@@DrJalal90 thank you so much, i can't get exactly 'indices_python--beta_v1.2zip ' . climate indices found in 'github.com/monocongo/climate_indices' is not similar to what you have shown in your video.i kindly ask you to share 'indices_python--beta_v1.2zip,
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Mr, what you have shown here?? you just run some codes and showing result as a file. where is the plot, how to visualize, what are the values in results, how it distributed, how to show these results in a map???? there are many unanswered questions in your video. without all of these, how it become helpful for a researcher or student to learn about climate indices?????
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
Python free online training for international participants The training will start on 20 September 2021. Deadline for registration: 15 September 2021 Registration link: researchsociety20.org/registration/ Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0 Event link: fb.me/e/XMyJYOwn Please share the event with your friends or colleagues.
how i can solve it, i am using Get bash in window 10 Traceback (most recent call last): File "process_grid.py", line 10, in from climate_indices import indices, utils File "C:\Users\TOSHIBA\anaconda3\lib\site-packages\climate_indices\indices.py", line 8, in from climate_indices import compute, eto, palmer, utils File "C:\Users\TOSHIBA\anaconda3\lib\site-packages\climate_indices\compute.py", line 8, in import scipy.special File "C:\Users\TOSHIBA\anaconda3\lib\site-packages\scipy\special\__init__.py", line 633, in from . import _ufuncs ImportError: DLL load failed while importing _ufuncs: The specified module could not be found.
does anyone have this error trying to run for SPEI? File "/var/folders/d6/m2bgqkw971v4qb3h1cq2tmmm0000gn/T/ipykernel_8047/4073413229.py", line 1 process_climate_indices --index spei --periodicity monthly --netcdf_precip ./data/nclimgrid_lowres_prcp.nc --var_name_precip prcp --netcdf_pet ./data/nclimgrid_lowres_pet.nc --var_name_pet pet --output_file_base ./output/nclimgrid_lowres --scales 9 18 --calibration_start_year 1951 --calibration_end_year 2010 ^ SyntaxError: invalid syntax
Hi! Thanks for sharing this video. Can you tell me what wrong is with my code? Thanks! 2022-11-02 19:28:59 INFO Start time: 2022-11-02 19:28:59.991679 Error in calling operator ncpdq with: >>> D:\anaconda3\envs\indices_env\Library\bin cpdq -a lat,lon,time -O --output=C:\Users\Chang\AppData\Local\Temp cpdq_pr_Amon_FGOALS-f3-L_ssp370_r1i1p1f1_gr_201901-205012_china.ncveh08oxy.tmp pr_Amon_FGOALS-f3-L_ssp370_r1i1p1f1_gr_201901-205012_china.nc
Data download link:
www.drought.gov/data-maps-tools/climate-and-drought-indices-python-spi-spei-pet
Alternative link: github.com/monocongo/climate_indices
Hi Dr. Jalal, The link provided for data have been obsolete. Can you provide a new link where the data for tutorial can be found? Thanks
Thank you very much Jalal for the video. It's useful for me.
Hey did your command run?
thank you and much appreciated Dr.Lal
Thanks
So, when we calculate SPEI and just give one input (TEMP), but not precipitation, how would it calculate drought just from temperature...or do we need to give bunch of variables?
Hello! Thank you for sharing this video. I found it really informative and I appreciate the effort you put into creating it. However, I wanted to let you know that the links you have provided in the video description do not seem to be working properly.
When I clicked on the links, they did not download the same file as the one you mentioned in the video, and they did not work as expected. I hope you share the source file, as I am really interested in accessing the resources you mentioned.
Thank you again for sharing your expertise with us.
climate-indices.readthedocs.io/en/latest/
Thank you Dr. Jalal for the great video. I was just wondering about the calibration start year and calibration end year. Could you please provide a bit more insight on them? As an example, I want to calculate spei for 1970-2010 dataset. So my calibration start and end year would be 1970 and 2010. I wonder if it would be needed to use some of this data for calibration, such as 1970-1980.
Hello Dr. Jalal.Thank you for this great tutorial.Can you make a video how to claculate sri in netcdf.
Thanks. I will try.
Thank you! Looking forward to your update, and thank you very much for your video@@DrJalal90
Hello sir, can we open this output in ArcMap and if yes, how will it look in spatial format, since we can open netcdf in ArcMap
Sir the data link is not available, so how to download the data.
Sir the zip file is not showing in that link, it was removed
hi can I ask why I get the error? UserWarning: resource_tracker: There appear to be 8 leaked semaphore objects to clean up at shutdown
warnings.warn('resource_tracker: There appear to be %d '
Hello dear, I have no idea.
hallo sir, i have question, how i change the dimention my file nc using nco on windows? because my data have parameter like precip(time, lat, lon) instead like precip(lat, lon, time), how i can change the order? thank you
The dataset containing precipitation values should it be only in txt file format.? or other format can also work such as CSV file etc
hi jalal, when i use the given example data the code work, but when i use my own precipitation data (cmip6) i face with error. moreover cdo doesn't know the structure of given precip data in example, would you pls explain?
Please send me the screenshot of CDO.
Respected sir, Sir I want to calculate the SPEI of a basin . Should it be necessary to calculate the grided SPEI of that basin, or any another method of calculation of the SPEI.
You may use station data. Here is a software so called climpact2: climpact-sci.org/assets/climpact2-user-guide.pdf
Hello! Do you know of any Python packages that takes a .csv file as an input and calculates SPI using a calibration period?
The following video might help you.
How to calculate drought index SPI | Jalal | Research Society
ruclips.net/video/WTlqwq1K29c/видео.html
In your " A comprehensive statistical assessment of drought indices to monitor drought status in Bangladesh" u have used spei using R . Why didn't you use it using this python software when it was spei was available?
Also I am unable to download this python software for spi and spei by NIDIS now, has it been removed or is the link change?
Please help me with this
www.drought.gov/data-maps-tools/climate-and-drought-indices-python-spi-spei-pet
github.com/monocongo/climate_indices
Hi Mr Jalal, can you again check if this code is working fine. I am using the procedure for CHIRPS netcdf data and code is reading data and starting calculation but then giving error messages. I have checked the data carefully and netcdf data is all fine. I will be thankful if you could check again and guide me. Thanks
Thank you very much for the useful video and channel. I have a question. In command line I put the full address of input and output data. I faced this error "--output_file_base: command not found" Do you know the solution?Thanks
Hi, Mr Jalal can u please show us how to calculate PET,SPEI using penman monteith method. Tnx
Sir thankyou for the package and video. I am getting this error, process_climate_indices is not recognised, please sir help me with this problem I have tried changing path. But it is still showing same error
Please make of video calculating the same parameters using Jupyter notebok platform
I will try.
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
Thanks again for the video, I tried to run the code but I get "FileNotFoundError: [Errno 2] No such file or directory" type of an error. Could you please help me solve the problem dear professor. I already changed directory for the file in which the NC file is located.
Thanks in advance
You need to check the working directory carefully.
Thanks for the video, it's super helpful. Yet, I couldn't reach out to the zip file. The link you provided for data download in the description says page or link not found. Could anyone please share with the zip file? I couldn't find it anywhere at all. Thanks in advance
github.com/monocongo/climate_indices
Thank you so much for your return, yet the files in the link do not match with yours in the video :(((
climate-indices.readthedocs.io/en/latest/
@@DrJalal90 @Dr. Jalal Sorry mr Jalal, i couldn't reach out the zip file from your current link. Please share again. Thanks a lot.
Thank you sir
Hello, thank you very much for the explanation. I have a problem I get the error "ValueError: Unable to calculate Pearson Type III parameters due to invalid L-moments", do you know how to solve it?
Sorry, I don’t know.
Is very helpful and educative, The link you put to download the indices_python_beta_v1.2.zip is not responding? Any other alternative. Tnx
Yes, please check the highlighted comment.
The (Data Download Link) is not working!
The page is not available.
github.com/monocongo/climate_indices
@@DrJalal90 Thank you very much!
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
I am very interested ur video. could send me the codes used for the process climate indices calculation in your video.
Please check the video description.
I keep getting this error.
ImportError: DLL load failed while importing _arpack: The specified procedure could not be found.
What was your command?
@@DrJalal90 $ process_climate_indices --index palmers --periodicity monthly --netcdf_precip ./nclimgrid_lowres_prcp.nc --var_name_precip prcp --netcdf_pet ./nclimgrid_lowres_pet.nc --var_name_pet pet --netcdf_awc ./nclimgrid_lowres_soil.nc --var_name_awc awc --output_file_base ../results/nclimgrid_lowres --calibration_start_year 1951 --calibration_end_year 2010
Traceback (most recent call last):
File "c:\users\bikra\anaconda3\lib
unpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\bikra\anaconda3\lib
unpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\bikra\anaconda3\Scripts\process_climate_indices.exe\__main__.py", line 4, in
File "c:\users\bikra\anaconda3\lib\site-packages\climate_indices\__main__.py", line 14, in
from climate_indices import compute, indices, utils
File "c:\users\bikra\anaconda3\lib\site-packages\climate_indices\compute.py", line 9, in
import scipy.stats
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\__init__.py", line 388, in
from .stats import *
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\stats.py", line 180, in
from . import distributions
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\distributions.py", line 8, in
from ._distn_infrastructure import (entropy, rv_discrete, rv_continuous,
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\stats\_distn_infrastructure.py", line 23, in
from scipy import optimize
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\optimize\__init__.py", line 387, in
from .optimize import *
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\optimize\optimize.py", line 36, in
from ._numdiff import approx_derivative
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\optimize\_numdiff.py", line 6, in
from scipy.sparse.linalg import LinearOperator
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\__init__.py", line 114, in
from .eigen import *
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\__init__.py", line 9, in
from .arpack import *
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\__init__.py", line 20, in
from .arpack import *
File "c:\users\bikra\anaconda3\lib\site-packages\scipy\sparse\linalg\eigen\arpack\arpack.py", line 43, in
from . import _arpack
ImportError: DLL load failed while importing _arpack: The specified procedure could not be found.
Hi Jalal! Thank you for this great tutorial. However, I am getting an error while calculating the SPI at the end.
"File "c:\users\dell\anaconda3\lib\site-packages\xarray\core\variable.py", line 1068, in chunk
data = da.from_array(data, chunks, name=name, lock=lock, **kwargs)
TypeError: from_array() got an unexpected keyword argument 'meta'"
Can you please suggest to me what I should do to fix it?
Please check the following link.
www.gitmemory.com/issue/monocongo/climate_indices/435/866770257
Hello, I tried this easy way to calculate spi, but y received this error: "File "/home/usuario/anaconda3/envs/chirps/lib/python3.11/site-packages/xarray/core/utils.py", line 281, in either_dict_or_kwargs raise ValueError(f"the first argument to .{func_name} must be a dictionary") ValueError: the first argument to .drop_sel must be a dictionary". Someone can tell me what is wrong? Thank you!
What does the 'scale 30 90' or 'scales 6 12' signify? Does it signify the spatial grid or the time scale?
30-day and 90-day timescales
climate-indices.readthedocs.io/en/latest/#spi-monthly
@@DrJalal90 thank you bhai
great video,but when my nc file not the same as that in the example,error occurs,anyone can tell how can i change the attributes in my pre data。
No ideas.
I have faced the same issue. Please let me know if you found a solution.
I managed to process by changing attributes of my netcdf file (chirps monthly precipitation) using jupyter notebook.
#open and slice your netcdf file
pr_month = xr.open_dataset('/Precipitation/chirps-v2.0.monthly.nc')
pr_month = pr_month['precip']
pr_month = pr_month.sel(longitude=slice(71,73),latitude=slice(31,33),time=slice('1981-01-01','2010-01-01'))
#changing attributes
pr_month = pr_month.rename({'latitude':'lat','longitude':'lon','time':'time'})
pr_month.attrs["units"]='millimeter'
preferred_dims = ('lat', 'lon', 'time')
pr_month = pr_month.transpose(*preferred_dims)
#save update netcdf file
pr_month.to_netcdf('Precipitation/processed_pr_monthly.nc')
Please make video on extraction and export into csv of MODIS level 2 AOD data in Python
if SPI calculator in Excel format is available? Pls, share just to understand the calculations.
I will inform you if I find it.
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
How do I convert my timeseries from a csv file to a netcdf file?
stackoverflow.com/questions/56293164/convert-time-series-data-from-csv-to-netcdf-python
You can do it in NCL.
www.ncl.ucar.edu/Training/Workshops/KState/Scripts/CSV_Files/
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
Thank Jalal's,
I have information monthly in file Raster but i dont know convertion in nc. Can you help me?.
I work in arcgis but i cant transformation file.
Thank
In ArcGIS, there is an option to save raster to netcdf file.
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
allo I have one problem with my precipitation data can you help me
What is your problem?
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
Thank you very much for the video. What about calculating PET by using Hargreaves equation?
Sorry, I am not familiar with Hargreaves equation.
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
If you use R, you can use CDT package to calculate PET using Hargreaves equation
please continue this video and done SPEI calculation for us
Everything is there. Please follow the instructions.
@@DrJalal90 thank you very much
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
Thank you sir...👌
Welcome
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
Dear i can not get indices_python-v1.2-beta.zip. how i can get it ?
github.com/monocongo/climate_indices
@@DrJalal90 thank you so much, i can't get exactly 'indices_python--beta_v1.2zip ' . climate indices found in 'github.com/monocongo/climate_indices' is not similar to what you have shown in your video.i kindly ask you to share 'indices_python--beta_v1.2zip,
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
Sir can I calculate ARIDITY INDEX using python ? help me plz🙏🙏 from INDIA
I have no idea.
Mr,
what you have shown here??
you just run some codes and showing result as a file.
where is the plot, how to visualize, what are the values in results, how it distributed, how to show these results in a map????
there are many unanswered questions in your video. without all of these, how it become helpful for a researcher or student to learn about climate indices?????
This is really dope! Unfortunately the zip file has been removed.......is there a way you can share the file you downloaded?
github.com/monocongo/climate_indices
@@DrJalal90 thanks dude!
Unfortunately I am only able to find data on the notebooks directory, this does not conform to the example you shared.....I am at a loss ;(
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
@@DrJalal90 could you please share the zip file with us?
sir can you please explain what are times scales 1,3,6,12 months..please solve my problem
doi.org/10.1175/2009JCLI2909.1
Please read the paper carefully.
Do you understand Bengali?
মডেল ভিত্তিক Drought গবেষণা এবং দক্ষিন এশিয়ার উপর এর ভবিষ্যত ক্ষতিকর প্রভাব
ruclips.net/video/tHs77O4s9vE/видео.html
@@DrJalal90no sir I don't understand Bengali
great
Thank you.
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
thanks
Welcome
Python free online training for international participants
The training will start on 20 September 2021.
Deadline for registration: 15 September 2021
Registration link: researchsociety20.org/registration/
Download link for training outline: www.dropbox.com/s/aybmuw0rrxu7zjb/Outline_python_International.png?dl=0
Event link: fb.me/e/XMyJYOwn
Please share the event with your friends or colleagues.
@@DrJalal90 thanks
how i can solve it, i am using Get bash in window 10
Traceback (most recent call last):
File "process_grid.py", line 10, in
from climate_indices import indices, utils
File "C:\Users\TOSHIBA\anaconda3\lib\site-packages\climate_indices\indices.py", line 8, in
from climate_indices import compute, eto, palmer, utils
File "C:\Users\TOSHIBA\anaconda3\lib\site-packages\climate_indices\compute.py", line 8, in
import scipy.special
File "C:\Users\TOSHIBA\anaconda3\lib\site-packages\scipy\special\__init__.py", line 633, in
from . import _ufuncs
ImportError: DLL load failed while importing _ufuncs: The specified module could not be found.
Please check the following link.
github.com/marcelotduarte/cx_Freeze/issues/355
does anyone have this error trying to run for SPEI?
File "/var/folders/d6/m2bgqkw971v4qb3h1cq2tmmm0000gn/T/ipykernel_8047/4073413229.py", line 1
process_climate_indices --index spei --periodicity monthly --netcdf_precip ./data/nclimgrid_lowres_prcp.nc --var_name_precip prcp --netcdf_pet ./data/nclimgrid_lowres_pet.nc --var_name_pet pet --output_file_base ./output/nclimgrid_lowres --scales 9 18 --calibration_start_year 1951 --calibration_end_year 2010
^
SyntaxError: invalid syntax
No
Hi! Thanks for sharing this video. Can you tell me what wrong is with my code? Thanks!
2022-11-02 19:28:59 INFO Start time: 2022-11-02 19:28:59.991679
Error in calling operator ncpdq with:
>>> D:\anaconda3\envs\indices_env\Library\bin
cpdq -a lat,lon,time -O --output=C:\Users\Chang\AppData\Local\Temp
cpdq_pr_Amon_FGOALS-f3-L_ssp370_r1i1p1f1_gr_201901-205012_china.ncveh08oxy.tmp pr_Amon_FGOALS-f3-L_ssp370_r1i1p1f1_gr_201901-205012_china.nc
I have no idea.
@@DrJalal90 process_climate_indices --index spei --periodicity monthly --netcdf_precip /media/espace-dev/CrucialX6/CMIP6-Merge/princeton-choix/prcp_daily_princeton_2C_WA_1981-2016.mon.nc --var_name_precip prcp --netcdf_pet /media/espace-dev/CrucialX6/CMIP6-Merge/princeton-choix/pet_data_princeton_1981-2016.mon.nc --var_name_pet pet --calibration_start_year 1981 --calibration_end_year 2016 --output_file_base /media/espace-dev/CrucialX6/CMIP6-Merge/princeton-choix/spei_output --scales 1 3 6 12
2024-10-23 15:31:09 INFO Start time: 2024-10-23 15:31:09.302110
2024-10-23 15:31:09 INFO Computing 1-month SPEI/Pearson
2024-10-23 15:31:09 ERROR Invalid dimensions for variable 'prcp': ('time', 'lat', 'lon')
2024-10-23 15:31:09 ERROR Failed to complete
Traceback (most recent call last):
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 1717, in process_climate_indices
_compute_write_index(kwrgs)
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 803, in _compute_write_index
output_shape = _drop_data_into_shared_arrays_grid(
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 581, in _drop_data_into_shared_arrays_grid
raise ValueError(message)
ValueError: Invalid dimensions for variable 'prcp': ('time', 'lat', 'lon')
2024-10-23 15:31:09 ERROR Failed to complete
Traceback (most recent call last):
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 1589, in main
process_climate_indices(arguments=arguments)
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 1717, in process_climate_indices
_compute_write_index(kwrgs)
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 803, in _compute_write_index
output_shape = _drop_data_into_shared_arrays_grid(
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 581, in _drop_data_into_shared_arrays_grid
raise ValueError(message)
ValueError: Invalid dimensions for variable 'prcp': ('time', 'lat', 'lon')
Traceback (most recent call last):
File "/home/espace-dev/anaconda3/envs/mon_env/bin/process_climate_indices", line 8, in
sys.exit(main())
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 1589, in main
process_climate_indices(arguments=arguments)
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 1717, in process_climate_indices
_compute_write_index(kwrgs)
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 803, in _compute_write_index
output_shape = _drop_data_into_shared_arrays_grid(
File "/home/espace-dev/anaconda3/envs/mon_env/lib/python3.8/site-packages/climate_indices/__main__.py", line 581, in _drop_data_into_shared_arrays_grid
raise ValueError(message)
ValueError: Invalid dimensions for variable 'prcp': ('time', 'lat', 'lon')