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

Fix the bug in writing model output in 2D ensemble grid space #1627 #1628

Closed

Conversation

LIS-navari
Copy link
Contributor

Description

This bug is related to writing model output in 2D ensemble grid space when the map projection is not lat/lon (equidistant cylindrical) and the vertical level (vlevel) is set to 1. In this part of the code, the variable short_name is used instead of dataEntry%short_name. Since the value of short_name is not properly defined, it pulls a value from memory, which does not match dataEntry%short_name, causing the model to crash.

Resolves #1627

Testcase

@dmocko dmocko added the bug Something isn't working label Nov 5, 2024
@emkemp
Copy link
Contributor

emkemp commented Nov 8, 2024

The code looks good, and it compiles w/o issue.

I believe @jvgeiger wants to compare this pull request with an earlier one, so I will hold off on merging.

@emkemp
Copy link
Contributor

emkemp commented Nov 19, 2024

Question raised during today's LIS Tag Up: Should this change be put into master, or into the public branch first?

@LIS-navari
Copy link
Contributor Author

LIS-navari commented Nov 19, 2024

Hi @emkemp,
I believe this should be in the master branch. I don’t think anyone has used this option so far; otherwise, we would have heard complaints about it. It will be included in a future LIS public release.

@jvgeiger jvgeiger self-assigned this Nov 25, 2024
jvgeiger pushed a commit to jvgeiger/LISF that referenced this pull request Nov 26, 2024
@jvgeiger
Copy link
Contributor

I cherry-picked this commit into the support/lisf-public-7.5 branch. See pull request #1643.

@jvgeiger jvgeiger closed this Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug in LIS_historyMod.F90 for writing model output in 2D ensemble grid space
4 participants