PyGMT is a Python wrapper for the Generic Mapping Tools (GMT), a command-line program widely used in the Earth Sciences. It provides capabilities for processing spatial data (gridding, filtering, masking, FFTs, etc) and making high quality plots and maps.
PyGMT is different from Python libraries like Bokeh and Matplotlib, which have a larger focus on interactivity and allowing different backends. GMT uses the PostScript format to generate high quality (static) vector graphics for publications, posters, talks, etc. It is memory efficient and very fast. The PostScript figures can be converted to other formats like PDF, PNG, and JPG for use on the web and elsewhere. In fact, PyGMT users will usually not have any contact with the original PostScript files and get only the more convenient formats like PDF and PNG.
The project was started in 2017 by Leonardo Uieda and Paul Wessel (the co-creator and main developer of GMT) at the University of Hawaii at Manoa. The development of PyGMT was funded by NSF grant OCE-1558403.
These are conference presentations about the development of PyGMT (previously “GMT/Python”):
- “Building an object-oriented Python interface for the Generic Mapping Tools”. 2018. Leonardo Uieda and Paul Wessel. Presented at Scipy 2018. doi:10.6084/m9.figshare.6814052
- “Integrating the Generic Mapping Tools with the Scientific Python Ecosystem”. 2018. Leonardo Uieda and Paul Wessel. Presented at AOGS Annual Meeting 2018. doi:10.6084/m9.figshare.6399944
- “Bringing the Generic Mapping Tools to Python”. 2017. Leonardo Uieda and Paul Wessel. Presented at Scipy 2017. doi:10.6084/m9.figshare.7635833
- “A modern Python interface for the Generic Mapping Tools”. 2017. Leonardo Uieda and Paul Wessel. Presented at AGU 2017. doi:10.6084/m9.figshare.5662411