https://github.com/yvonnefroehlich/gmt-pygmt-plotting
Python scripts or Jupyter notebooks using PyGMT to prepare geophysical figures and geographic maps
https://github.com/yvonnefroehlich/gmt-pygmt-plotting
geophysics gmt juypter-notebook pygmt python seismology shear-wave-splitting
Last synced: 2 months ago
JSON representation
Python scripts or Jupyter notebooks using PyGMT to prepare geophysical figures and geographic maps
- Host: GitHub
- URL: https://github.com/yvonnefroehlich/gmt-pygmt-plotting
- Owner: yvonnefroehlich
- Created: 2022-04-27T06:19:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T13:32:11.000Z (over 1 year ago)
- Last Synced: 2024-05-22T15:30:05.540Z (over 1 year ago)
- Topics: geophysics, gmt, juypter-notebook, pygmt, python, seismology, shear-wave-splitting
- Language: Jupyter Notebook
- Homepage:
- Size: 34.2 MB
- Stars: 13
- Watchers: 1
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Scripts and Jupyter Notebooks using PyGMT
Collection of Python scripts or Jupyter notebooks (supported by JupyterLab) to reproduce some of the geographic maps shown in the
publications I am involved. To prepare these maps I am using [_PyGMT_](https://www.pygmt.org/latest/) the Python wrapper for the
[_Generic Mapping Tools_ (_GMT_)](https://www.generic-mapping-tools.org/)._Please note_: Scripts or notebooks are available up on acceptance of the related publication.
## Content
| Folder | Overview | Content |
| --- | --- | --- |
| **[000_general_stuff](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/000_general_stuff)** || • custom symbols
• colorwheel
• colorbar font scaling
• Earth section
• Greek letters |
| **[001_paper_RFSG_2022](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/001_paper_RFSG_2022)**
→ [**_Ritter et al. (2022)_**](https://doi.org/10.1007/s10950-022-10112-w) || Anisotropy beneath the BFO |
| **[002_paper_FGR_2024](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/002_paper_FGR_2024)**
→ [**_Fröhlich et al. (2024)_**](https://doi.org/10.1093/gji/ggae245) || Anisotropy beneath the URG area
_up coming_|
| **[003_taup](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/003_taup)**
→ [**_Fröhlich et al. (2024)_**](https://doi.org/10.1093/gji/ggae245) || Seismological phases
• travel paths
• travel time curves |
| **[004_earthquakes_eruptions](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/004_earthquakes_eruptions)** || Earthquakes and eruptions
(2021 to present) |
| **[005_global_seismicity](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/005_global_seismicity)** || Global seismicity
• global maps
• histograms |
| **[006_tomographies_databases](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/006_tomographies_databases)**
→ [**_DGG DeepDyn poster (2024)_**](https://doi.org/10.5281/zenodo.10927349)
→ [**_SEDI DeepDyn poster (2024)_**](https://doi.org/10.5281/zenodo.12658821) || • shear wave splitting database
• deep mantle anisotropy
• votemap analysis
• cluster analysis
• tomography GyPSuM
• tomography EU60 |
| **[007_dissertation_F_2025](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/007_dissertation_F_2025)** || _up coming_ |
| **[008_urg_vs_norsa](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/008_urg_vs_norsa)** || _up coming_ |
| **[009_deepdyn](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/009_deepdyn)**
→ [**_DGG DeepDyn poster (2024)_**](https://doi.org/10.5281/zenodo.10927349)
→ [**_SEDI DeepDyn poster (2024)_**](https://doi.org/10.5281/zenodo.12658821) || DeepDyn project |
| **[010_axisem](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/010_axisem)**
→ [**_AGU URG talk (2024)_**](https://dx.doi.org/10.5281/zenodo.14510993) || AxiSEM3D|
| **[011_agu_FTLJG_2024](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/011_agu_FTLJG_2024)**
→ [**_AGU PyGMT talk (2024)_**](https://doi.org/10.6084/m9.figshare.28049495) || PyGMT = GMT + Python & SPE |
| **[012_uefa_euro25](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/012_uefa_euro25)** || UEFA WOMEN'S EURO 2025 |
| **[013_general_maps](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/013_general_maps)** || • figure dimensions for depth sections
• choropleth map via dcw |
| **[014_general_stats](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/tree/main/014_general_stats)** || • Collatz problem
• Anscombe's quartet |## Citation
If you make use of this material, please acknowledge the relating publications in which framework these scripts and notebooks were written:
**Peer-reviewed journal article**
- [**_Fröhlich Y., Grund M. & Ritter J. R. R. (2024)_**](https://doi.org/10.1093/gji/ggae245).
Lateral and vertical variations of seismic anisotropy in the lithosphere-asthenosphere system underneath Central Europe from long-term splitting measurements.
*Geophysical Journal International*, 239(1), 112-135.
https://doi.org/10.1093/gji/ggae245.
- [**_Ritter J. R. R., Fröhlich Y., Sanz Alonso Y. & Grund M. (2022)_**](https://doi.org/10.1007/s10950-022-10112-w).
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, correction https://doi.org/10.1007/s10950-023-10136-w.**Presentations**
- [**_Fröhlich Y. & Ritter J. R. R. (2024)_**](https://dx.doi.org/10.5281/zenodo.14510993).
Vertical and Small-scale Lateral Varying Seismic Anisotropy in the Upper Mantle Underneath the Upper Rhine Graben, Central Europe.
*Annual Meeting of the American Geophysical Union*, Washington D.C..
Division Session Exploring Innovations and New Directions in Seismic Anisotropy and Attenuation: Observations, Models, and Experiments I Oral, DI21A-02.
[Abstract ID 1578275](https://agu.confex.com/agu/agu24/meetingapp.cgi/Paper/1578275).
https://dx.doi.org/10.5281/zenodo.14510993.
- [**_Fröhlich Y., Tian D., Leong W. J., Jones M. & Grund M. (2024)_**](https://doi.org/10.6084/m9.figshare.28049495).
PyGMT – Accessing and Integrating GMT with Python and the Scientific Python Ecosystem.
*Annual Meeting of the American Geophysical Union*, Washington D.C..
Union Session The impact of GMT in the Earth, Ocean and Space sciences: What's next? I Oral, U12B-05 (invited).
[Abstract ID 1578856](https://agu.confex.com/agu/agu24/meetingapp.cgi/Paper/1578856).
https://doi.org/10.6084/m9.figshare.28049495.**Posters**
- [**_Fröhlich Y., Dorn F., Dillah M. I. F. & Ritter J. R. R. (2024)_**](https://doi.org/10.5281/zenodo.14801004).
Investigation of seismic anisotropy in the D'' layer using XKS pairs.
*2th DeepDyn annual meeting*, Rügen.
https://doi.org/10.5281/zenodo.14801004.
- [**_Fröhlich Y., Dillah M. I. F., Dorn F. & Ritter J. R. R. (2024)_**](https://doi.org/10.5281/zenodo.12658821).
Investigation of seismic anisotropy in the D'' layer and at the CMB regarding intense magnetic flux regions.
*18th Symposium of Study of the Earth's Deep Interior*, Great Barrington.
https://doi.org/10.5281/zenodo.12658821.
- [**_Fröhlich Y., Thiyagarajan H., Tölle L. S., Ritter J. R. R. & Thomas C. (2024)_**](https://doi.org/10.5281/zenodo.10927349).
Understanding the influence of seismic mantle structures at the core-mantle boundary on intense magnetic flux regions.
*84th Annual Meeting of the German Geophysical Society*, Jena.
https://doi.org/10.5281/zenodo.10927349.## Requirements
_Please note_: The required versions are given above in the single folders as well as notebooks and scripts.
- [PyGMT](https://www.pygmt.org/latest/)
- [GMT](https://www.generic-mapping-tools.org/)
- [Python](https://www.python.org/)
- [Jupyter notebook](https://jupyter.org/) or [JupyterLab](https://jupyter.org/)
- [NumPy](https://numpy.org/)
- [pandas](https://pandas.pydata.org/)
- [ObsPy](https://docs.obspy.org/)
- [pymagglobal](https://sec23.git-pages.gfz-potsdam.de/korte/pymagglobal/)## Contributing
For bug reports, suggestions, or recommendations feel free to [open an issue](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/issues)
or [submit a pull request](https://github.com/yvonnefroehlich/gmt-pygmt-plotting/pulls) directly here on
[GitHub](https://github.com/yvonnefroehlich/gmt-pygmt-plotting).## References
_Please note_: Specific references are given in the single notebooks and scripts.
- [**_Bird, P. (2003)_**](https://doi.org/10.1029/2001GC000252).
An updated digital model of plate boundaries.
*Geochemistry, Geophysics, Geosystems*, volume 4, issue 3, page 1027.
https://doi.org/10.1029/2001GC000252.
- [**_Crameri, F. (2021)_**](https://doi.org/10.5281/zenodo.1243862).
Scientific colour maps.
*Zenodo*. https://www.fabiocrameri.ch/colourmaps.php. https://doi.org/10.5281/zenodo.1243862.
- [**_Thyng, K. M., Greene, C. A., Hetland, R. D., Zimmerle, H. M. & DiMarco, S. F. (2016)_**](https://dx.doi.org/10.5670/oceanog.2016.66).
True colors of oceanography: Guidelines for effective and accurate colormap selection.
*Oceanography*, volume 29, issue 3, pages 9-13.
https://dx.doi.org/10.5670/oceanog.2016.66.
- [**_Tian, D., Uieda, L., Leong, W. J., Fröhlich, Y., Grund, M., Schlitzer, W., Jones, M., Toney, L., Yao, J., Tong, J-H., Magen, Y., Materna, K., Belem, A., Newton, T., Anant, A., Ziebarth, M., Quinn, J. & Wessel, P. (2024)_**](https://doi.org/10.5281/zenodo.15071586).
PyGMT: A Python interface for the Generic Mapping Tools, version v0.16.0.
*Zenodo*. https://doi.org/10.5281/zenodo.15628725 (v0.16.0), https://doi.org/10.5281/zenodo.3781524 (all versions / latest version).
- [**_Wessel, P., Smith, W. H. F., Scharroo, R., Luis, J. F. & Wobbe. F. (2013)_**](https://doi.org/10.1002/2013EO450001).
Generic mapping tools: improved version released.
*Eos, Transactions American Geophysical Union*, volume 94, issue 45, pages 409-410.
https://doi.org/10.1002/2013EO450001.
- [**_Wessel, P., Luis, J. F., Uieda, L., Scharroo, R., Wobbe, F., Smith, W. H. F. & Tian, D. (2019)_**](https://doi.org/10.1029/2019GC008515).
The Generic Mapping Tools version 6.
*Geochemistry, Geophysics, Geosystems*, volume 20, issue 11, pages 5556-5564.
https://doi.org/10.1029/2019GC008515.
- [**_Wessel, P., Luis, J. F., Uieda, L., Scharroo, R., Wobbe, F., Smith, W. H. F., Tian, D., Jones, M. & Esteban, F. (2024)_**](https://doi.org/10.5281/zenodo.10119499).
The Generic Mapping Tools, version 6.5.0.
*Zenodo*. https://doi.org/10.5281/zenodo.10119499 (6.5.0), https://doi.org/10.5281/zenodo.3407865 (all versions / latest version).## Funding
The presented research and YF received support from various sources:
- [Graduate Funding from the German States](https://www.khys.kit.edu/english/graduate_funding.php) (scholarship)
- [NSF grant EAR-1948602](https://www.nsf.gov/awardsearch/showAward?AWD_ID=1948602) (travel support for AGU24)
- [DFG grant RI1133/14-1](https://gepris.dfg.de/gepris/projekt/521545943?language=en) within the
[DFG Priority Program 2404 DeepDyn](https://www.geo.lmu.de/deepdyn/en/) (research assistant)