Skip to content
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

Closed
leouieda opened this issue Dec 4, 2017 · 0 comments
Closed

Wrapper for 'gmt which' #92

leouieda opened this issue Dec 4, 2017 · 0 comments
Labels
help wanted Helping hands are appreciated

Comments

@leouieda
Copy link
Member

leouieda commented Dec 4, 2017

The wrapper should be a function in gmt/modules.py. See how other wrappers are built in gmt/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 time gmt 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 level gmt.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

@leouieda leouieda added feature help wanted Helping hands are appreciated labels Dec 4, 2017
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
Labels
help wanted Helping hands are appreciated
Projects
None yet
Development

No branches or pull requests

1 participant