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 in LIS_historyMod.F90 for writing model output in 2D ensemble grid space #1627

Open
LIS-navari opened this issue Oct 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LIS-navari
Copy link
Contributor

LIS-navari commented Oct 25, 2024

Bug 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.

In the following picture from the TotalView debugger, we can see that short_name is set to "lon," while dataEntry%short_name is "Wind_f." Additionally, dataEntry%varID_def equals 32, which corresponds to "Wind_f."

Screenshot 2024-10-22 at 5 53 41 PM

Steps to Replicate

I'm not sure if you'll be able to replicate the error because I'm using my branch, which contains all the ICESat-2 project developments.

--assignee @LIS-navari

@LIS-navari LIS-navari added the bug Something isn't working label Oct 25, 2024
@LIS-navari LIS-navari changed the title Bug in Bug in LIS_historyMod.F90 for writing model output in 2D ensemble grid space Oct 25, 2024
jvgeiger pushed a commit to jvgeiger/LISF that referenced this issue Nov 26, 2024
jvgeiger added a commit that referenced this issue Nov 26, 2024
Fix the bug in writing model output in 2D ensemble grid space #1627
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 a pull request may close this issue.

1 participant