You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Name: Sierra Dabby
Institution: University of Washington
Describe the update
I edited sulfate_mod.F90 to fix the isCloud and pHCloud diagnostics. My edits start at line 2591 and end at 2605. Mainly, I just commented out some reset lines and added an if statement. The if statement says that if sulfate is online, don't reset the values of isCloud and pHCloud inside sulfate_mod.F90.
Expected changes
This update should make pHCloud vary, previously it would output pH as 4.5 everywhere. It should also allow isCloud to vary between 0 and 1, previously it was 0 everywhere.
Reference(s)
No lit citations.
Related Github Issue
Link to corresponding GitHub issue: [https://github.com//issues/3310]
Hi @yantosca and @mcdon1718-h, Becky asked me to look at this since I have worked on the cloud pH code before. Sierra's fix looks good to me as well.
But from looking at this code more broadly, I think it needs streamlining. The current flow is confusing, and there are duplicate functions in sulfate_mod and KPP (e.g., to calculate cloud pH). Anyone can easily make an error or introduce a bug when making changes to the sulfate chemistry. I know the GCST has their hands full, but it would be great if you could find time to tackle this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Name and Institution (Required)
Name: Sierra Dabby
Institution: University of Washington
Describe the update
I edited sulfate_mod.F90 to fix the isCloud and pHCloud diagnostics. My edits start at line 2591 and end at 2605. Mainly, I just commented out some reset lines and added an if statement. The if statement says that if sulfate is online, don't reset the values of isCloud and pHCloud inside sulfate_mod.F90.
Expected changes
This update should make pHCloud vary, previously it would output pH as 4.5 everywhere. It should also allow isCloud to vary between 0 and 1, previously it was 0 everywhere.
Reference(s)
No lit citations.
Related Github Issue
Link to corresponding GitHub issue: [https://github.com//issues/3310]