Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Process of converting the decads into months #1

Closed
SaumikMallik opened this issue Nov 29, 2020 · 2 comments
Closed

Process of converting the decads into months #1

SaumikMallik opened this issue Nov 29, 2020 · 2 comments

Comments

@SaumikMallik
Copy link

In step 3.7 why do we need to extract dekad 1,2 and 3 into separate files when we want to calculate monthly SPI values? Aren't we getting 3 different SPI values for a single month in the process (each for decad 1, 11 and 21)?
I am not familiar what cdo is doing under the hood, so kind of confused with the process of converting the decad data into monthly data. Could you please elaborate on this?

@bennyistanto
Copy link
Member

The idea of this approach is to get more frequent monitoring for SPI 1 - 72, and updated every dekad. To answer your question why we need to extract dekad data into separate files, see below illustration.
Screen Shot 2020-11-30 at 8 41 26 AM

SPI script will read the netcdf input file based on time dimension. It means if we leave the data as is (without extracting) and would like to calculate SPI3, then the script will use data: Jan 2020 D3, Feb 2020 D1, Feb 2020 D2 (see row 13 column DEF on above picture), and this is not correct. I hope its clear now.

Well if you are confused with my approach using dekad data, maybe you could try using monthly data - https://data.chc.ucsb.edu/products/CHIRPS-2.0/global_monthly/netcdf/chirps-v2.0.monthly.nc and skip step 3.5 and 3.7.

@SaumikMallik
Copy link
Author

Thank you for explaining the process so well! This is a much improved approach than the ARSET one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants