[ This page is an updated version of SW Codebase 2019]
The following page is a summary of the UC GM team codebase, with the aim of providing an overview of available code to researchers.
Note: Does not cover all available code, only the ones that are deemed functional and relevant for researchers.
Toolbox Packages
These are packages used in multiple workflows and ready to be utilized in researchers custom codes.
Name | URL | Summary | SW Contact | Planned Changes | Comments |
---|---|---|---|---|---|
Empirical Engine | https://github.com/ucgmsim/Empirical-Engine | Allows for easy execution of a large range of empirical GMMs implemented in the OpenQuake package. | Any | ||
IM_Calculation | https://github.com/ucgmsim/IM_calculation | Provides functionality to compute IM values from acceleration time series. | Any | ||
mera | https://github.com/ucgmsim/Ancillary-tools/tree/master/mera | Provides functionality to run mixed effects regression analysis | Claudio, | (SW) Should this be in its own repo? | |
pygmt_helper | https://github.com/ucgmsim/Ancillary-tools/tree/master/pygmt_helper | Provides functionality to simplify generation of common pygmt plots | Claudio | (SW) Should this be in its own repo? | |
Qcore | https://github.com/ucgmsim/qcore | Provides a large range of utility functionality. | Any | (SW) Should tidy this up at some stage. Contains lots of old/unused code? | |
Visualization | https://github.com/ucgmsim/visualization | Provides scripts for generation of common plots (both GMT and matplotlib based) | Sung | ||
sha_calc | https://github.com/ucgmsim/gmhazard/tree/main/calculation/sha_calc | Contains core code for hazard, UHS, disagg and GMS calculation. | Claudio | ||
spatial_hazard | https://github.com/ucgmsim/gmhazard/tree/main/calculation/spatial_hazard | Contains functionality for calculating spatially & cross correlated IM fields | Claudio, |
Workflows/Products
Name | URL | Summary | SW Contact | Planned Changes | Comments |
---|---|---|---|---|---|
Simulation Workflow | |||||
Pre-processing | https://github.com/ucgmsim/Pre-processing | Everything related to producing input for GMSim (NonUniformGrid, SrfGen, geoNet) | Sung, Joel | ||
slurm_gm_workflow | https://github.com/ucgmsim/slurm_gm_workflow | Orchestrates the automated GM simulation and Cybershake workflow using Slurm. | Sung, Joel | ||
EMOD3D | https://github.com/ucgmsim/EMOD3D | EMOD3D and various C/Fortran codes written by Rob Graves. Partially altered to switch to a workflow based on binary file format. | Sung | ||
GMSimViz | https://github.com/ucgmsim/GMSimViz | Automated 3D Visualization of Ground Motion Simulation with Generic Mapping Tools (GMT) | Sung | ||
cybershake_investigation | https://github.com/ucgmsim/cybershake_investigation | An investigation tool to aid cybershake runs and ensure validation of runs | Joel, Sung | ||
cs_dropbox_sync | https://github.com/ucgmsim/cs_dropbox_sync | Functionality for archiving simulation runs, also contains tool for exploring/downloading archived simulation data | Joel, Sung | ||
Vs30 | https://github.com/ucgmsim/Vs30 | Translated from Kevin Foster's R code. Retrieve Vs30/Standard deviation/residual at specified locations | Sung | ||
Velocity-Model (Ethan) | https://github.com/ucgmsim/Velocity-Model | NZ Velocity Model | Sung | ||
Velocity-Model-Viz | https://github.com/ucgmsim/Velocity-Model-Viz | Automated VM plotting tools as a companion to the NZVM. | Sung | ||
nzgmdb | https://github.com/ucgmsim/nzgmdb | Code for the NZGMDB workflow. | Joel, Claudio | Currently being refactored. | |
gmhazard | https://github.com/ucgmsim/gmhazard | Contains code for GM hazard, disagg, UHS and ground motion selection, website & APIs for displaying results Was designed for the old ERF (Stirling 2012), does not work with new NZHM. | Claudio, | No longer under development | |
nshm_hazard | https://github.com/ucgmsim/nshm_hazard | Allows running of the 2023 NSHM using OpenQuake. Difficult to use and slow execution. | Claudio | ||
gm_classifier | https://github.com/ucgmsim/gm_classifier | Machine learning model for quality assessment of GM records | Claudio | ||
GroundFailure | https://github.com/ucgmsim/GroundFailure | Code for landslide and liquefaction | ? |