Skip to content

Figure.grdimage: Project and plot grids or images #4539

Closed

Description

@seisman

This issue serves as the central place for discussing and tracking the implementation of the grdimage method in PyGMT. The issue will be closed when the initial implementation is complete. Progress is tracked at PyGMT: Wrapping GMT modules.

Documentation

GMT Option Flags and Modifiers

☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.

  • -A
  • -B: frame
  • -C: cmap
  • -D: img_in
  • -E: dpi
  • -G: bitcolor
  • -I: shading
  • -J: projection
  • -M: monochrome
  • -N: no_clip
  • -Q: nan_transparent
  • -R: region
  • -U: Use Figure.timestamp instead.
  • -V: verbose
  • -X/-Y: Use Figure.shift_origin instead.
  • -c: panel
  • -f: coltypes
  • -n: interpolation
  • -p: perspective
  • -t: transparency
  • -x: cores
  • --PAR=value: Use pygmt.config instead.

Related GMT configurations

List any related GMT configurations that may affect the behavior.

Notes on Input Formats

The method accepts a grid or image as:

  • A path to a grid file (e.g., NetCDF) or image file (e.g., GeoTIFF, TIFF, JPG, PNG, GIF)
  • An xarray.DataArray object

Linked Pull Requests

Add links to related pull requests here.

Related Issues and Discussions

Add links to related wrapper discussions, API design threads, or upstream GMT changes here.

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

    feature request

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions