Skip to content

Conversation

@b-barton
Copy link
Collaborator

As issue #216 says there were places where a sigma grid had nans in the layer above the bottom. The problem was that the type of vertical coordinates of the parent and child grids was incorrectly being interpreted as zps instead of sco.

To fix this, I have changed the namelist to include user specified zgr type definition. I have also added code that tries to read ln_zco, ln_zps and ln_sco from the domain file and compares with the user defined zgr type. This fixes #216.

@b-barton b-barton requested a review from jdha September 16, 2025 15:37
@b-barton b-barton self-assigned this Sep 16, 2025
@b-barton b-barton added the bug Something isn't working label Sep 16, 2025
@b-barton b-barton linked an issue Sep 16, 2025 that may be closed by this pull request
@jdha jdha self-requested a review September 16, 2025 16:29
@b-barton b-barton merged commit 251b348 into master Sep 17, 2025
5 checks passed
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.

Velocity sometimes has NaNs in bottom level

3 participants