-
Notifications
You must be signed in to change notification settings - Fork 214
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
Wrapper for 'gmt which' #92
Labels
help wanted
Helping hands are appreciated
Comments
Merged
leouieda
added a commit
that referenced
this issue
Feb 14, 2018
Basic wrapper that only defines a single alias for the -G option (download the file). Fixes #92
leouieda
added a commit
that referenced
this issue
Feb 14, 2018
Basic wrapper that only defines a single alias for the -G option (download the file). Fixes #92
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The wrapper should be a function in
gmt/modules.py
. See how other wrappers are built ingmt/base_plotting.py
.This module will be useful to download the new GMT tutorial and topography data using the
@filename
syntax. For example, running for the first timegmt which @tut_quakes.ngdc
will download the data to the GMT hidden folder and provide the file name to stdout. We will use this to make a higher levelgmt.datasets
package that loads these data as numpy arrays and xarray grids.The wrapper will need to capture stdout and return it. See discussion on #43
The text was updated successfully, but these errors were encountered: