Skip to content

* Fix bug in pRef used in calculate_CVMix_conv#390

Merged
alperaltuntas merged 2 commits into
NCAR:dev/ncarfrom
gustavo-marques:fix_conv
Sep 26, 2025
Merged

* Fix bug in pRef used in calculate_CVMix_conv#390
alperaltuntas merged 2 commits into
NCAR:dev/ncarfrom
gustavo-marques:fix_conv

Conversation

@gustavo-marques
Copy link
Copy Markdown
Collaborator

Corrected reference pressure update to use h(i,j,k-1) instead of h(i,j,k).

Ensures first layer thickness is properly accounted for in pressure integration.

Addresses #386.

Corrected reference pressure update to use `h(i,j,k-1)` instead of `h(i,j,k)`.

Ensures first layer thickness is properly accounted for in pressure integration.
@alperaltuntas alperaltuntas merged commit edf726b into NCAR:dev/ncar Sep 26, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants