-
Notifications
You must be signed in to change notification settings - Fork 229
Wrapper for gmt info #43
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
Comments
I'd like to implement it. Where to put this wrapper function? |
Yeah, I've been trying to come up with a good module structure for these. I think we can keep them in a |
@seisman sorry, I just realized that modules like |
A much simpler alternative would be to tell GMT to send the output to a temporary file which we read in later. This might be the better option actually. You can pass an argument |
Create a wrapper function for
gmt info
. Data input should be a file namedata='some_file.txt'
. Doesn't really make much sense to read in numpy arrays for this because most of it can be done using numpy functions.See how other modules are wrapped, for example in
gmt/base_plotting.py
.The text was updated successfully, but these errors were encountered: