-
Notifications
You must be signed in to change notification settings - Fork 0
Maps
VolcanoMap creates a map and cross sections. It is designed to make square maps around a volcano for the purpose of plotting earthquake location data. Basemaps are currently not working. I am troubleshooting a recent issue with Cartopy and PyGMT. Look at VolcanoMap_Hood_earthquakes.py for full functionality. The method returns a MatPlotLib Figure object so that the user can further customize the plot.
$ cd /home/jwellik/PYTHON
$ mv vdapseisutils-main vdapseisutils
$ cd /home/jwellik/PYTHON/vdapseisutils/gallery
$ conda activate vseis399
$ python
>>> import sys
>>> sys.path.append("/home/jwellik/PYTHON") # Add all codes in the repository to your path
>>> from vdapseisutils.gallery import VolcanoMap_Hood_earthquakes
>>> VolcanoMap_Hood_earthquakes.main() # Make sure your terminal has graphics forwarding

A VolcanoFigure with mostly default settings.
Maps, cross sections, and time series plots can also be created individually. The methods also return MatPlotLib figures. Here are example outputs:

Just a map, with a location map added in the top right corner. (Banua Wuhu, Indonesia)

Five CrossSection figures from US Volcanoes.

TimeSeries figure of earthquakes prior to and after the 1980 eruption of Mount St Helens.
