Closed JamieJQuinn closed 3 years ago
I'm so confused why only macos and ubuntu 3.6 are failing...
(Also at a later timepoint/if we have time, it might be cool to move this implementation into pygmt
itself)
@Alessandro pygmt
version is 0.3.1. Thanks for the heads-up. Proper to have it in the README.
Perhaps could have been its own PR but I've added environment.yml
which is the equiv of requirements.txt for conda. Should simplify both the install instructions (which have been updated) and the CI (which has been updated).
Phew! That could have gone better... @alessandrofelder take a look and reapprove if you're happy.
This PR reimplements the nearneighbour call using pyGMT's clib instead of a manual os call to gmt. This is intended to help with the performance impact of writing temporary files (see #60). Although GMT will still write to a temporary file, pyGMT uses virtual files to ensure we don't have to write the input to GMT, so some savings should come from that. Additionally, we don't have to handle temporary files ourselves.