This repository was archived by the owner on Dec 22, 2021. It is now read-only.
Remove error and add a warning for gravmag.transform.upcontinue when height <= 0#337
Merged
Merged
Conversation
Member
|
@rafaelmds thanks for the PR! Could you please add the following code to |
Contributor
Author
|
@leouieda Sure! I thought that was necessary but I wasn't sure about it. |
Member
|
No problem. This is the part that always gets newcomers. Could you also please change the warning message to "Using 'height' <= 0 means downward continuation, which is known to be unstable." That might be more informative. |
Member
|
After that, you can add the changelog entry for this PR in |
Member
|
@rafaelmds merged! Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #235
Change the behavior of
gravmag.transform.upcontinue. Now, instead of an error its gives awarnings.warnwhen height <= 0.This change is mainly for educational purposes (you can test what happen if you calculate for it for height <= 0).
Checklist:
doc/install.rst,environment.yml,ci/requirements-conda.txtandci/requirements-pip.txt.cd doc; makelocally)