PyGMT: Bridging Python and the Generic Mapping Tools for Geospatial Visualization and Analysis

PyGMT is a free and open-source Python library that provides a high-level interface to the Generic Mapping Tools (GMT), a widely used command-line toolset for geospatial data processing, analysis, and visualization in the Earth, ocean, and planetary sciences. By bridging GMT with the Python ecosystem, PyGMT enables users to access GMT's powerful visualization and analysis capabilities directly within Python-based workflows, making them more accessible to a broader audience. PyGMT supports diverse data sources, including local and remote files, as well as familiar data structures such as numpy.ndarray, pandas.DataFrame, and xarray.DataArray objects, allowing users to process data efficiently and create a wide variety of publication-quality figures. Compared to GMT, PyGMT provides a Pythonic interface with intuitive parameters and arguments, lowering the barrier to entry for both new and experienced users, and extends GMT's functionality by integrating seamlessly with the broader scientific Python ecosystem. The project is actively maintained as a community-driven effort under the BSD 3-Clause License, with source code and issue tracking hosted on GitHub and user support provided through a Discourse forum. It emphasizes reliability, usability, and sustainability while fostering an open and welcoming community that encourages contributions of all kinds.

Authors

Publication Details

Journal
KITopen
Published
2026-07-27
DOI
https://doi.org/10.5445/ir/1000195687
Primary Topic
Computational Physics and Python Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PyGMT: Bridging Python and the Generic Mapping Tools for Geospatial Visualization and Analysis

Michael Grund, M D Jones, Joaquim Manuel Freire Luis, Leonardo Uieda et al.
KITopen
Computational Physics and Python Applications
article

PyGMT: Bridging Python and the Generic Mapping Tools for Geospatial Visualization and Analysis

Michael Grund, M D Jones, Joaquim Manuel Freire Luis, Leonardo Uieda, Yvonne Fröhlich, Wei Ji Leong, Dongdong Tian, William Schlitzer
article en

Abstract

PyGMT is a free and open-source Python library that provides a high-level interface to the Generic Mapping Tools (GMT), a widely used command-line toolset for geospatial data processing, analysis, and visualization in the Earth, ocean, and planetary sciences. By bridging GMT with the Python ecosystem, PyGMT enables users to access GMT's powerful visualization and analysis capabilities directly within Python-based workflows, making them more accessible to a broader audience. PyGMT supports diverse data sources, including local and remote files, as well as familiar data structures such as numpy.ndarray, pandas.DataFrame, and xarray.DataArray objects, allowing users to process data efficiently and create a wide variety of publication-quality figures. Compared to GMT, PyGMT provides a Pythonic interface with intuitive parameters and arguments, lowering the barrier to entry for both new and experienced users, and extends GMT's functionality by integrating seamlessly with the broader scientific Python ecosystem. The project is actively maintained as a community-driven effort under the BSD 3-Clause License, with source code and issue tracking hosted on GitHub and user support provided through a Discourse forum. It emphasizes reliability, usability, and sustainability while fostering an open and welcoming community that encourages contributions of all kinds.

KITopen
Openalex Percentile: Top 7%
Computational Physics and Python Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.