Abstract (englisch):
The Generic Mapping Tools (GMT) are widely used across the Earth, Ocean, and Planetary Sciences and beyond to process geospatial and geophysical data as well as produce high-quality (static) vector and raster plots and maps. However, GMT suffers from its cryptic syntax.PyGMT (https://www.pygmt.org/) wraps around the very fast GMT C code to make it accessible through the Python programming language. The introduction of meaningful aliases for the single-letter flags (e. g., "region" for "R" or "projection" for "J") and ongoing efforts regarding a more Pythonic syntax for GMT arguments significantly increase user-friendliness and readability of the code. Furthermore, PyGMT provides auto-compilation and supports rich display in Jupyter notebooks for improved user experience. The Python library is indexed on PyPI (https://pypi.org/project/pygmt/) and conda-forge (https://anaconda.org/conda-forge/pygmt) and is installable via the pip, mamba, and conda packages managers. PyGMT integrates smoothly within the Scientific Python ecosystem. In addition to standard file formats such as ASCII and NetCDF files, common Pythonic data structures for tabular and grid data such as numpy.ndarray, pandas.DataFrame, geopandas.GeoDataFrame, and xarray.DataArray are supported. ... mehrPyGMT also provides easy access to the GMT remote datasets. Numerous gallery examples, tutorials, and intros help new users and users coming from GMT learn the main concepts of PyGMT. There is also a Q&A subsection on the GMT forum to help with common user issues.The project was started in 2017 by Leonardo Uieda and Paul Wessel as an open-source project hosted on GitHub (https://github.com/GenericMappingTools/pygmt). Now it is a community-driven effort, with all versions still available on GitHub and recorded on Zenodo (https://doi.org/10.5281/zenodo.3781524) and v0.12.0 being the latest release (2024/05/01). People are encouraged to pick any issue they like, where the label “good first issue” indicates a low knowledge barrier to get involved in PyGMT.
---------------
This presentation was part of the Union Session "U12B - The Impact of GMT in the Earth, Ocean, and Space Sciences: What’s Next?" at the AGU24 Annual Meeting in Washington, D.C., 8-13 December 2024.
PyGMT v0.13.0 was released on (2024/09/05).
PyGMT v0.14.0 was released on (2024/12/31).