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

bug fix: improper indexing in add aircraft emissions #1327

Merged

Conversation

jordanschnell
Copy link
Contributor

@jordanschnell jordanschnell commented Nov 12, 2020

KEYWORDS: chemistry, emissions, aircraft, indexing

SOURCE: Stacy Walters (formerly NCAR)

DESCRIPTION OF CHANGES:
Problem:
An improper loop indexing that can cause addressing or floating point errors when aircraft emissions are
used.

Solution:
Fix indexing (i - dimension) for the conversion term, from i to its:ite

LIST OF MODIFIED FILES:
M chem/module_emissions_anthropogenics.F

TESTS CONDUCTED:

  1. Jenkins test PASSED

RELEASE NOTE: Improper indexing in a conversion factor when using aircraft emissions for WRF Chem previously caused addressing (seg fault) or floating point errors. This has been corrected by matching the indexing on the LHS with the RHS.

KEYWORDS: chemistry, emissions, aircraft, indexing

SOURCE: Stacy Walters (formerly NCAR)

DESCRIPTION OF CHANGES:
Problem:
An improper loop indexing that can cause addressing or floating point errors when aircraft emissions are
turned used.

Solution:
Fix indexing (i - dimension) for the conversion term, from i to its:ite

ISSUE: none

LIST OF MODIFIED FILES:
M       chem/module_emissions_anthropogenics.F

TESTS CONDUCTED:
1. Jenkins test --

RELEASE NOTE: This fixes an improper indexing in a conversion factor when using aircraft emissions
@jordanschnell jordanschnell requested a review from a team as a code owner November 12, 2020 18:10
@jordanschnell jordanschnell changed the title TYPE: bug fix bug fix: improper indexing in add aircraft emissions Nov 12, 2020
@jordanschnell
Copy link
Contributor Author

@ravanah @kayeekayee I can't review my own PR - can one of you approve and I can merge it? Thanks.

@davegill
Copy link
Contributor

@jordanschnell
This looks ready for review. If you are unable to get other WRF Chem developers to look this over, I am giving it a thumbs up.

@davegill davegill self-requested a review December 29, 2020 17:49
@kayeekayee
Copy link
Contributor

kayeekayee commented Dec 29, 2020 via email

@jordanschnell
Copy link
Contributor Author

@kayeekayee - I guess not necessary, but can you approve? I will merge. Thanks.

@kayeekayee kayeekayee assigned kayeekayee and unassigned kayeekayee Dec 29, 2020
@kayeekayee kayeekayee self-requested a review December 29, 2020 19:33
Copy link
Contributor

@kayeekayee kayeekayee left a comment

Choose a reason for hiding this comment

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

Approved.

@jordanschnell jordanschnell merged commit fe7d9d6 into wrf-model:release-v4.2.2 Dec 30, 2020
vlakshmanan-scala pushed a commit to scala-computing/WRF that referenced this pull request Apr 4, 2024
KEYWORDS: chemistry, emissions, aircraft, indexing

SOURCE: Stacy Walters (formerly NCAR)

DESCRIPTION OF CHANGES:
Problem:
An improper loop indexing that can cause addressing or floating point errors when aircraft emissions are
used.

Solution:
Fix indexing (i - dimension) for the conversion term, from i to its:ite

LIST OF MODIFIED FILES:
M       chem/module_emissions_anthropogenics.F

TESTS CONDUCTED:
1. Jenkins test PASSED

RELEASE NOTE: Improper indexing in a conversion factor when using aircraft emissions for WRF Chem previously caused addressing (seg fault) or floating point errors. This has been corrected by matching the indexing on the LHS with the RHS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants