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

update WDF correction with Hempel et al 2013 additions #162

Merged
merged 5 commits into from
Dec 22, 2021

Conversation

dgergel
Copy link
Member

@dgergel dgergel commented Dec 22, 2021

This PR updates the WDF correction with additions from the ISI-MIP WDF correction method outlined in Hempel et al 2013 (https://esd.copernicus.org/articles/4/219/2013/esd-4-219-2013.html).

Three key changes are made:

  • raises threshold to 1mm (from Hempel et al 2013)
  • applies correction to values below the threshold, not just to zeroes
  • raises "low" value in uniform distribution to threshold / 2

These changes are made to address the ongoing challenges of applying a WDF correction at a global scale and having mismatched dry days in the reference and model output, resulting in some precip values being physically unrealistic.

Copy link
Member

@brews brews left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dgergel, I gave this a quick look and I only had one comment to clarify these changes and the evolving method in the changelog (see in-line comments).

Aside from that one suggested change I think you're good to merge this whenever you're ready. 👍

CHANGELOG.md Outdated
@@ -5,7 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Update wet day frequency correction again to raise the "low" value used to the threshold value / 10 (PR #159, @dgergel)
- Update wet day frequency correction to incorporate method additions from Hempel et al 2013. (PR #162, @dgergel)
- Update wet day frequency correction again to raise the "low" value used to the threshold value / 10. (PR #159, @dgergel)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dgergel To avoid confusion, you can combine these two entries into one (describing the recent implementation) and then reference both PR numbers in the () at the end of the line.

@dgergel dgergel merged commit 3fd8199 into ClimateImpactLab:main Dec 22, 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