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

[PULL REQUEST] Bug fix for RH in heterogeneous chemistry #124

Closed
wants to merge 1 commit into from

Conversation

cdholmes
Copy link
Contributor

@cdholmes cdholmes commented Nov 5, 2019

RH is in percent but assumed to be fraction 0-1 in some places.
Affects gamma values for NO3 and N2O5, since version 12.6.
Corrected gamma values are lower for sea salt.

Signed-off-by: Christopher Holmes cdholmes@fsu.edu

RH is in percent but assumed to be fraction 0-1 in some places.
Affects gamma values for NO3 and N2O5.
Corrected gamma values are lower for sea salt.

Signed-off-by: Christopher Holmes <cdholmes@fsu.edu>
@yantosca yantosca changed the title Bug fix for RH in heterogeneous chemistry [PULL REQUEST] Bug fix for RH in heterogeneous chemistry Nov 5, 2019
@yantosca yantosca self-assigned this Nov 6, 2019
@yantosca yantosca added the category: Bug Something isn't working label Nov 6, 2019
@yantosca yantosca added this to the 12.7.0 milestone Nov 6, 2019
yantosca added a commit that referenced this pull request Nov 6, 2019
This commit merges Chris Holmes' bug fix for the RH in hetchem,
as described in #124.

Signed off by: Bob Yantosca <yantosca@seas.harvard.edu>
@yantosca
Copy link
Contributor

yantosca commented Nov 7, 2019

This PR has been merged into dev/12.7.0. It will become live in GC 12.7.0, and we will run an internal benchmark to assess the effect of this update.

@cdholmes
Copy link
Contributor Author

I suggest that this bug fix should also be backported to 12.6. Currently, 12.6.2 still has this unfixed bug and heterogeneous chemistry was one of the headline features of 12.6. I expect that the bugfix will raise O3 over the oceans by a couple ppb.

@yc-chan
Copy link

yc-chan commented Nov 12, 2019

I wonder if we also have to change the description for RH in function N2O5_InorgOrg.

I think the RH variable in the line "eps = 1.5e-1_fp * OCratio + 1.6e-3_fp * RH" has the right unit (%), but the input parameter section still states it is in unitless fraction.

@yantosca
Copy link
Contributor

It is not in our procedure to backport bug fixes to master once a version has been benchmarked and approved. For this reason we issue patch releases (e.g. 12.6.1, 12.6,2, etc.).

@cdholmes
Copy link
Contributor Author

cdholmes commented Nov 12, 2019 via email

@yantosca
Copy link
Contributor

I updated the comment in routine N2O5_InorgOrg in this commit: 0cdf070, which has been pushed to dev/12.7.0.

We are including this update in 12.7.0 instead of 12.6.2 or 12.6.3, because this update will change the benchmark results, and therefore should go into a "Y" (feature) version instead of a "Z" (patch) version. We will run an internal benchmark to assess the change that this fix brings in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants