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

Feature/pcolarco/#263/su2g_gridcompmod logic #264

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

pcolarco
Copy link
Contributor

@pcolarco pcolarco commented Feb 2, 2024

These are several enhancements captured here:

Sulfate surface area density calculation in SU_Compute_Diags was incorrectly being passed the effective radius used for settling along with the sigma width of the number distribution. Properly it should be passed the number median radius, also present in the RC file. Added a hook to read that field from the RC file ("particle_radius_number"), store in SU grid comp, and pass to SU_Compute_Diags. This change is zero-diff to the SU internal state. It changes value of export SO4AREA.
Add some protective logic around reading daily volcanic emission files. If filename does not exist model will write message to standard output and reset volcanic emissions to zero. This is zero difference result unless in a place where the files were not present.
Changed DMS concentration data holder from ExtData provided (SU_DMSO) to local copy (dmso_conc). This is relevant since if we run source tagged instances where we don't want DMS emissions we would zero out dmso_conc and that is what should be passed to DMSemission subroutine. This is zero diff except in that case.

@pcolarco pcolarco added 0 diff structural Structural changes to repository that are zero-diff bugfix This is a bug fix labels Feb 2, 2024
@pcolarco pcolarco requested a review from a team as a code owner February 2, 2024 19:29
@pcolarco pcolarco linked an issue Feb 2, 2024 that may be closed by this pull request
@pcolarco pcolarco changed the base branch from main to develop March 4, 2024 18:11
@jrjoshi1
Copy link

@pcolarco we merged #261 into develop. Now we are having conflict in SU2G_GridCompMod.F90. Could you please take a look into it and see if you can resolve the conflict easily between develop and your branch. Thanks.

@pcolarco
Copy link
Contributor Author

I believe this is merged properly.

@mathomp4 mathomp4 requested review from amdasilva and a team as code owners September 17, 2024 11:36
@mathomp4
Copy link
Member

Yay! All tests passed!

jrjoshi1
jrjoshi1 previously approved these changes Sep 18, 2024
Copy link

@jrjoshi1 jrjoshi1 left a comment

Choose a reason for hiding this comment

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

looks okay.

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@vbuchard vbuchard left a comment

Choose a reason for hiding this comment

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

Note: During merging, this enhancement is no longer part of this PR (will need testing) "Add some protective logic around reading daily volcanic emission files. If filename does not exist model will write message to standard output and reset volcanic emissions to zero. This is zero difference result unless in a place where the files were not present."

@vbuchard vbuchard requested a review from a team September 23, 2024 15:16
@jrjoshi1 jrjoshi1 merged commit 327ff34 into develop Sep 23, 2024
9 of 11 checks passed
@jrjoshi1 jrjoshi1 deleted the feature/pcolarco/#263/SU2G_GridCompMod_logic branch September 23, 2024 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 diff structural Structural changes to repository that are zero-diff bugfix This is a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update some logic in SU2G_GridCompMod
5 participants