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”):
“Remote Online Sessions for Emerging Seismologists (ROSES): Unit 8 - PyGMT”. 2020. Liam Toney. Presented at ROSES 2020. url: https://www.iris.edu/hq/inclass/lesson/728
“PyGMT: Accessing the Generic Mapping Tools from Python”. 2019. Leonardo Uieda and Paul Wessel. Presented at AGU 2019. doi:10.6084/m9.figshare.11320280
“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