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

Add max precip ceiling #164

Merged
merged 5 commits into from
Dec 23, 2021
Merged

Conversation

dgergel
Copy link
Member

@dgergel dgergel commented Dec 23, 2021

This PR adds a maximum precipitation adjustment service so that maximum precipitation values above a threshold get adjusted to that threshold.

CLI interface is:

dodola adjust-maximum-precipitation /path/to/precip_to_correct.zarr \
--out /path/to/corrected_precip.zarr
-t 3000.0

This will then be added to the e2e precip downscaling workflow (no related issues to list at this time).

Note: this also updates the maximum validation precip threshold to 3000 mm (from its previous max of 2000mm).

@dgergel dgergel requested a review from brews December 23, 2021 20:31
@dgergel dgergel self-assigned this Dec 23, 2021
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.

2 participants