-
Notifications
You must be signed in to change notification settings - Fork 145
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: passing in 0 for maxdist to get_close_init() results in unintelligible error #626
Comments
i've moved the dist_zero branch to my fork of the DART repo. |
|
hkershaw-brown
added a commit
that referenced
this issue
Aug 9, 2024
hkershaw-brown
added a commit
that referenced
this issue
Aug 9, 2024
hkershaw-brown
added a commit
that referenced
this issue
Aug 9, 2024
hkershaw-brown
added a commit
that referenced
this issue
Aug 9, 2024
hkershaw-brown
added a commit
that referenced
this issue
Aug 9, 2024
15 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 passing in a maxdist of 0 to get_close_init() should be caught right away
Describe the bug
this case showed up in user code that was passing in 0 by mistake instead of the intended value for maxdist.
Error Message
Which model(s) are you working with?
anything using threed_sphere
Version of DART
main branch version 11.0.1
fix and developer_test code is on zero_dist branch
Have you modified the DART code?
Yes
assimilation_code/location/threed_sphere/location_mod_fix.f90 on this branch has an added test for an invalid maxdist and a clear error message
developer_tests/location/threed_sphere has a quickbuild test to verify the fix.
Build information
tested on derecho, intel compiler
The text was updated successfully, but these errors were encountered: