Published October 15, 2021 | Version v0.0.3
Software Open

uc-eqgeo/rnc2-earthquakes: synthetic earthquake catalogue utilities

  • 1. Columbia University
  • 2. University of Canterbury/GNS Science

Description

Python code for RNC2 earthquakes theme

Bruce Shaw and Andy Howell, October 2021

(with earlier assistance from Samantha Woon).

If you use this code, please cite: [Shaw, et al, 2021] "An Earthquake Simulator for New Zealand", Bulletin of the Seismological Society of America, 2021. DOI: ???

Repository contents

This repository consists of python tools designed for analysis of synthetic earthquake catalogues derived from the earthquake simulator RSQSim (Richards-Dinger and Dieterich, 2012).

In examples/shaw2021, you can find the script used to create the figures published in [Shaw, et al, 2021] (readCatNZ.py). Note that this script is written for a very specific machine setup; shaw2021figures.py in the same directory allows plotting of some figures in a more widely usable environment, but remains a work in progress.

src/rsqsim_api is a python module that primarily contains code for filtering the NZ catalogue and plotting slip distributions. It is easiest to install this module using Anaconda (see below). Examples of how to use this code, in Jupyter Notebook format, can be found in data/examples/rsqsim_api. Note that at this stage (October 2021), plotting tools are designed to be used primarily with NZ data and use NZTM projection.

DISCLAIMER: These tools are a work in progress (latest code can be found at https://github.com/uc-eqgeo/rnc2-earthquakes) and the authors accept no liability for any bugs in the code. However, if you do find bugs, please get in touch and we will endeavour to fix them.

Files

uc-eqgeo/rnc2-earthquakes-v0.0.3.zip

Files (11.1 MB)

Name Size Download all
md5:51481a3e8c6eeeb3b0957519ddf80ce3
11.1 MB Preview Download

Additional details