-
Notifications
You must be signed in to change notification settings - Fork 38
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
Fix argument checks #222
Conversation
There was a problem hiding this 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.
de9cf5e
to
0737d30
Compare
There was a problem hiding this 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.
85b67b3
to
be7e90b
Compare
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.
be7e90b
to
a2427ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consistent error message are nice!
Fixes #220.