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

Corrected resampling of precipitation #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

josiasritter
Copy link

Thanks for sharing this useful repository! One major comment:
The current way of accumulating precipitation to daily values (taking the max. of 00:00-23:00) is incorrect and overestimates precipitation. If, for example, a dry day is followed by a rainy day, the code assigns for the dry day the value of 23:00 of the rainy day. In other words, the precipitation of the dry day is overwritten by almost the full precipitation amount of the wet day. Thus, the resampling in its current way overestimates the precipitation.
I have now corrected this to take the max. of 01:00-00:00, which makes sure that for each day the value of 00:00 (accumulation of the previous 24 hours) is chosen.
Thanks again and hope this helps!

The previous way of accumulating precipitation to daily values was incorrect (taking the max. of 00:00-23:00) and therefore overestimating the precipitation. It has been corrected now to take the max. of 01:00-00:00.
It is not used by the scripts but creates an error when trying to import as it is not provided in this repository. Furthermore, also tools has been adjusted to allow dates starting from 1950 to correspond to ERA5land_h2d_yearly.py
- Turned off proxy settings.
- Adjusted one parameter name to match required ERA5-Land
- Folder backslashes adjusted for Linux
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

Successfully merging this pull request may close these issues.

1 participant