Skip to content

maxrjones/agu2021

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGMT: An open-source Python library for geospatial processing, analysis, and visualization

2021 AGU Fall Meeting Presentation about PyGMT

Info
Session IN55C - Open-Source Software, Notebooks, and FAIR Software I eLightning
Abstract IN55C-08
Authors Max Jones, Michael Grund, William Schlitzer, Wei Ji Leong, Dongdong Tian, Jiayuan Yao, Leonardo Uieda
When Friday, 17 December 2021 16:21 - 16:24 CST (UTC-6)
Where AGU Conference Online Session
Poster iPoster platform
Launch Binder

Abstract

PyGMT is an open-source Python package for geospatial data processing, analysis, and visualization. PyGMT is designed to integrate smoothly with scientific Python packages (e.g., NumPy, pandas, xarray, GeoPandas), support rich display in Jupyter notebooks, and improve access to the Generic Mapping Tools (GMT) by providing a user-friendly interface to the GMT C API. Here, we showcase PyGMT’s strengths in supporting Findable, Accessible, Interoperable, and Reusable (FAIR) workflows for processing geospatial data and producing publication quality maps and figures. We provide an overview of the features available in PyGMT, including plotting methods, operations on tabular data (e.g., data gridding), and operations on grids (e.g., grid filtering) as well as outline PyGMT’s development process, including testing, versioning, and archival. We will use an online notebook to share a few common use-cases for PyGMT, including gridding geospatial tabular data, plotting the gridded data using one of 30+ map projections with GMT’s fast generation of a directional gradient grid for illumination, and adding map embellishments such as insets, scale bars, and legends. The growing PyGMT team strives to nurture a welcoming community that supports and values contributions of all forms, including documentation, code, teaching, helping newcomers, and outreach. We will discuss PyGMT’s approach to fostering our community and our future plans, including simplifying the syntax, improving the integration with ObsPy, and supporting animations.

Plain-language summary

Processing and plotting spatial data are essential tasks across many scientific disciplines. PyGMT is a Python package designed to help scientists accomplish these tasks. PyGMT provides a Python interface to the Generic Mapping Tools (GMT) software, which is a command line toolbox for processing data, generating publication-quality figures, and making animations. PyGMT is able to support a remarkable number of features by leveraging GMT’s 30+ years of continuous development. At the same time, PyGMT brings a fresh perspective to GMT by following the guiding principles of the Python language, supporting interactive computing, and allowing access to GMT’s features while using other popular Python packages, such as xarray, pandas, and NumPy.

License

Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 International License.

Acknowledgements

The development of PyGMT has been supported by NSF grants OCE-1558403 and EAR-1948603. M.R. Jones has been supported by EAR-1948602. PyGMT has benefited from the contributions of numerous developers and community members.

About

2021 AGU Fall Meeting Presentation about PyGMT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published