Skip to content

Add a tutorial explaining the generally accepted input types #1268

Open
@seisman

Description

@seisman

Inspired by PR #1186.

For GMT CLI, there are mainly two types of input: a table or a grid. PyGMT is more powerful and can accept more input types.

For a table input, PyGMT functions generally accept the following input types:

For a grid input, PyGMT functions generally accept the following input types:

  • a file name to a grid file, e.g., grid="input_grid.nc"
  • xarray.DataArray, e.g., grid=grid
  • more?

Although these various input data types are already used in different tutorials and examples, I think it would be better to have a standalone tutorial, explaining these input types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedHelping hands are appreciated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions