pygmt

Installation
SKILL.md

PyGMT

Produce a map whose projection, coordinate units and data coverage are explicit. PyGMT 0.19 requires Python 3.12+ and GMT 6.5+; the Python package alone does not install the GMT shared library. Use the documented isolated conda-forge setup with Ghostscript when exporting figures. Record PyGMT and GMT versions separately.

Inputs and map design

Establish geographic versus projected coordinates, horizontal CRS, longitude convention and vertical datum. Choose region [west, east, south, north] and projection deliberately. Decide pixel versus gridline registration and verify coordinate ordering, spacing and NaN masks before gridding or image display. Do not reinterpret projected metres as longitude/latitude degrees.

Offline map with synthetic locations

This example requires output_pdf to name a new output file. It uses no remote relief or coastline dataset; the three locations are illustrative, not a survey.

Installs
11
GitHub Stars
70
First Seen
Sep 27, 2026