-
Notifications
You must be signed in to change notification settings - Fork 72
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
Simplify tests for upward derivative #328
Conversation
Ditch the precomputed sample grid file and add new features for creating a pair of sample sources, a sample grid and some gravity fields as DataArrays.
Hey @santisoler , that looks very good for me! I'm thinking to add a little complexity to the test. It might be good to put a pair of sources with positive and negative density contrast and depth. |
points = [ | ||
[-50e3, 50e3], | ||
[-50e3, 50e3], | ||
[-20e3, -20e3], |
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.
might be good to have one shallow source and one deep source?
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.
Sure! Well thought!
[-20e3, -20e3], | ||
] | ||
|
||
masses = [3.3e8, 2.9e8] |
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.
A positive and negative mass might be good as well?
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.
Agreed! You're right that the model should be a little bit more complex.
Thanks @LL-Geo for the review! Making the sample model more complex was a clever idea. I'm merging this! |
Description
Ditch the precomputed sample grid file and add new fixtures for creating
a pair of sample sources, a sample grid and some gravity fields as
DataArrays. Remove
netcdf4
from testing dependencies.Relevant issues/PRs
Related to #299