-
Notifications
You must be signed in to change notification settings - Fork 167
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
periodicity 'dekadal'? #554
Comments
Yes, this should be possible. We initially started with only monthly data but later added daily. So this would continue that work to add a new periodicity. |
Thank you! Could you briefly point me to the files which would require modifying? I could attempt at doing it myself as a starter. |
Can anyone comment as to strategies we might use for testing our implementation of this new period type? |
Thanks @rabons We need to add a new enumeration to the class |
+1 for this @rabons I just completed test using global dekad CHIRPS version 3.0, and calculate monthly accumulation rolling by dekad. Then calculate the SPI separately for dekad1, 2 and 3. Each of them produce 71 GB of file output for single scale (I tested for scale 6-month). Concatenate all three together and transpose to |
Is your feature request related to a problem? Please describe.
I would like to calculate SPI values on dekadal periodicity, i.e. every ten days of a month (days 1-10 are dekad 1, days 11-20 dekad 2, days >= 21 are dekad 3 of each month). This is often used in agricultural drought assessments.
Describe the solution you'd like
Ideally, I would like to be able to run the spi command with
--periodicity dekad
, where the input netCDF file for precipitation is equally in dekadal time stepsDescribe alternatives you've considered
I may have to consider using a different package altogether.
The text was updated successfully, but these errors were encountered: