Skip to content

Wrapper for 'gmt which' #92

Description

@leouieda

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedHelping hands are appreciated

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions