Skip to content

Repository of data and code to accompany Bacon et al., 2022 (DOI: 10.1029/2022GC010564)

License

Notifications You must be signed in to change notification settings

hemmelig/2022GC010564

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Supplementary analysis/visualisation code

Data and code to accompany:

Bacon, C. A., Rawlinson, N., Pilia, S., Gilligan, A., Wehner, D., Cornwell, D. G., & Tongkul, F. (2022). The signature of lithospheric anisotropy at post-subduction continental margins: New insight from XKS splitting analysis in northern Borneo. Geochemistry, Geophysics, Geosystems, 23, e2022GC010564.

Open-access paper: DOI

Supplementary datafiles: DOI

Analysis and visualisation: DOI

Steps to reproduce figures

  1. Clone this repository and navigate to it, e.g.:
git clone https://github.com/hemmelig/2022GC010564
cd 2022GC010564
  1. Install the packages listed in the environment.yml file—either manually, or using (for example) conda—then activate the new environment:
conda env create
conda activate Bacon2022_2022GC010564
  1. Add 2022GC010564.mplstyle (a matplotlib stylesheet) to your mpl_configdir (usually found at ~/.config/matplotlib/stylelib or ~/.matplotlib/stylelib)

  2. Optional: Install Helvetica font for Matplotlib

  3. Move into the figures directory and run download_grd_datafiles.gmt script to download the DEM data used in Figure 1:

cd figures
bash download_grd_datafiles.gmt
  1. Navigate to each figure directory and run the .gmt (as bash <script>.gmt) or .py (as python <script>.py) scripts.

Notes

These figures were prepared using Linux 20.04. A limited number were produced using Affinity Designer for iPad, a licensed piece of software for graphic design. .afdesign files are provided.

For Supplementary Figure S6, you will need AnisotroPy, an open-source package for the analysis of seismic anisotropy. This can be downloaded from GitHub at https://github.com/hemmelig/AnisotroPy, where you will also find instructions on how to install the package.