-
Notifications
You must be signed in to change notification settings - Fork 225
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
Refactor tests to use a more stable grid instead of earth_relief #505
Comments
That's only for the 03s and 01s earth relief data. Lower resolution (>=15s) are derived from the SRTM15+V2.1 data (https://doi.org/10.1029/2019EA000658), but of course it may also get some updates in the future. |
Besides what you propose, we have a few more choices:
|
This is quite tempting, but I'm not so sure about this. It'll be strange having 'out of date' information in the future.
It would be nice if we could have a data versioning scheme, but that might be too much of an ask. I did look at the Earth Day/Night images, but wasn't sure if they get updated often? Yet another option is to generate a random synthetic grid and use it for our tests. Maybe we could use Liam's "Ackley function" grid 😄 |
How about using
Even if they do change in the future, we could pull them from Github at https://github.com/GenericMappingTools/gmtserver-admin instead of the GMT Data Server for the tests. |
Hmm, I just remembered that
Perhaps we could add the low resolution Alternatively, we could have a function like |
Ok bad idea, maybe don't wrap around |
Closing as this isn't relevant anymore. We're now using |
Description of the problem
A lot of our unit tests are dependent on the earth relief grids, and we keep having to change them every so often (see e.g. #350, #401, #452), and probably soon again (see GenericMappingTools/gmtserver-admin#72)! We can keep a few tests for
load_earth_relief
grid, but I'd like to propose that we test the other functions on a more stable grid. Specifically, these functions:Any good ones from https://github.com/GenericMappingTools/gmtserver-admin/tree/master/cache that would be suitable?
The text was updated successfully, but these errors were encountered: