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 argument checks #222

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open

Fix argument checks #222

wants to merge 6 commits into from

Conversation

samhatfield
Copy link
Collaborator

Fixes #220.

@samhatfield samhatfield added the tidying Tidying up code or removing unused features label Mar 3, 2025
@samhatfield samhatfield requested a review from lukasm91 March 3, 2025 14:46
Copy link
Collaborator

@lukasm91 lukasm91 left a comment

Choose a reason for hiding this comment

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

Only went through it very quickly for now.

@samhatfield samhatfield force-pushed the fix_argument_checks branch from de9cf5e to 0737d30 Compare March 3, 2025 15:11
Copy link
Collaborator

@lukasm91 lukasm91 left a comment

Choose a reason for hiding this comment

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

minor comments, but if those are addressed, I approve.

@samhatfield samhatfield force-pushed the fix_argument_checks branch 2 times, most recently from 85b67b3 to be7e90b Compare March 4, 2025 11:33
This check was failing when "--vordiv --uvders" was enabled. There may
be a case in the IFS when we pass a PGPUV array with more wind elements
than required to INV_TRANS. This is certainly the case in the benchmark
program, although I think that's just because the code is wrong. The
--vordiv option doesn't enable grid point vorticity and divergence, as
one would expect from the way the PGPUV array is sized. It just enables
transforming of vorticity and divergence to U and V.
@samhatfield samhatfield force-pushed the fix_argument_checks branch from be7e90b to a2427ee Compare March 4, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tidying Tidying up code or removing unused features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants