Note
Updates for PyGMT based notebooks are carried out at irregular intervals. The GMT bash scripts are not maintained anymore.
Did you find a bug or have suggestions for improvements? Simply open a new issue or pull request.
Collection of GMT (Generic Mapping Tools) scripts and files (including digitized map content, colormaps, grid files etc.). All scripts should run with GMT versions >= 5.2.1 and < 6.0.0 . Each directory in this repository represents a single stand-alone application (individual manuals in pdf format are included as well):
Some directories include Jupyter Notebooks in which I use PyGMT, a Python interface for GMT (Tian et al., 2025) to generate the individual maps and plots (see the
- 001_map_equidist_EQ: plotting global seismicity between 1960 and 2025 on equidistant map
▶️ Jupyter Notebook - 002_map_equidist_EQ_GCMT: plotting focal mechanisms ("beach balls") of the global seismicity between 1964 and 2019 on equidistant map
- 003_map_seafloor_ages: plotting the ages of oceanic lithosphere on a global map
▶️ Jupyter Notebook - 004_map_splitting_database: plotting the content of the shear-wave splitting data base on a global map
- 005_map_equidist_siberia: plotting an equidistant map centered on NW Siberia (and raypaths)
- 006_map_SKS_SKKS_areas: visualizing SKS-SKKS pierce point areas in the D" layer
▶️ Jupyter Notebook - 007_map_SKS_SKKS_pierce_points: reproducing SKS-SKKS pierce point figures of Grund & Ritter (2019), Geology
- 008_map_scan_tectonic: visualizing geological and tectonic content of Fennoscandia
▶️ Jupyter Notebook - 009_paper_GR2020:
▶️ Jupyter Notebooks to reproduce some figures presented in our paper Grund & Ritter (2020), GJI - 010_paper_RFSG2022:
▶️ Jupyter Notebook to reproduce figure 1 presented in our paper Ritter, Fröhlich, Sanz Alonso & Grund (2022) Journal of Seismology
Although I now work outside academia as data scientist, I provide these PyGMT/GMT examples and notebooks in the hope that they will be useful for other students, scientists or interested hobbyist map creators. Some new content may come up in the near future. Stay tuned!
Click on the images to directly access the corresponding Jupyter Notebooks | |||
---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
If you make use of the content in this repository please acknowledge GMT (e.g. Wessel et al., 2013; 2019), PyGMT (Tian et al., 2025), our published papers and/or my PhD thesis in whose framework several of the scripts and notebooks were developed:
- Ritter, J.R.R., Fröhlich, Y., Sanz Alonso, Y. & Grund, M. (2022), Short-scale laterally varying SK(K)S shear wave splitting at BFO, Germany – implications for the determination of anisotropic structures, Journal of Seismology, 26, 1137-1156, https://doi.org/10.1007/s10950-022-10112-w.
- Grund, M. & Ritter, J.R.R. (2020), Shear-wave splitting beneath Fennoscandia - Evidence for dipping structures and laterally varying multilayer anisotropy, Geophysical Journal International, 223, 1525–1547, https://doi.org/10.1093/gji/ggaa388.
- Grund, M. & Ritter, J.R.R. (2019), Widespread seismic anisotropy in Earth’s lowermost mantle beneath the Atlantic and Siberia, Geology, 47(2), 123–126, https://doi.org/10.1130/G45514.1.
- Grund, M. (2019), Exploring geodynamics at different depths with shear wave splitting, Dissertation, Karlsruhe Institute of Technology (KIT), https://doi.org/10.5445/IR/1000091425.
- Tian, D., Uieda, L., Leong, W. J., Fröhlich, Y., Grund, M., Schlitzer, W., Jones, M., Toney, L., Yao, J., Jing-Hui, T., Magen, Y., Materna, K., Belem, A., Newton, T., Anant, A., Ziebarth, M., Quinn, J., & Wessel, P. (2025), PyGMT: A Python interface for the Generic Mapping Tools, v0.16.0, Zenodo, https://zenodo.org/records/15628725.
- Wessel, P., Luis, J. F., Uieda, L., Scharroo, R., Wobbe, F., Smith, W. H. F. & Tian, D. (2019), The generic mapping tools version 6. Geochemistry, Geophysics, Geosystems, 20(11), 5556-5564, https://doi.org/10.1029/2019GC008515.
- Wessel, P., Smith, W. H. F., Scharroo, R., Luis, J., & Wobbe, F. (2013), Generic mapping tools: improved version released. Eos, Transactions American Geophysical Union, 94(45), 409-410, https://doi.org/10.1002/2013EO450001.