[ 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.

NameURLSummarySW ContactPlanned ChangesComments
Empirical Enginehttps://github.com/ucgmsim/Empirical-EngineAllows for easy execution of a large range of empirical GMMs implemented in the OpenQuake package.Any

IM_Calculationhttps://github.com/ucgmsim/IM_calculation

Provides functionality to compute IM values from acceleration time series.
Also supports distance calculation, i.e. Rrup, Rjb, Rx, Ry
Examples: https://github.com/ucgmsim/IM_calculation/tree/master/IM_calculation/examples

Any



merahttps://github.com/ucgmsim/Ancillary-tools/tree/master/mera

Provides functionality to run mixed effects regression analysis
Examples: https://github.com/ucgmsim/Ancillary-tools/tree/master/mera/mera/example

Claudio,
Joel


(SW) Should this be in its own repo?
pygmt_helperhttps://github.com/ucgmsim/Ancillary-tools/tree/master/pygmt_helper

Provides functionality to simplify generation of common pygmt plots
Examples: https://github.com/ucgmsim/Ancillary-tools/tree/master/pygmt_helper/pygmt_helper/examples

Claudio


(SW) Should this be in its own repo?
Qcorehttps://github.com/ucgmsim/qcoreProvides a large range of utility functionality.Any
(SW) Should tidy this up at some stage. Contains lots of old/unused code?
Visualizationhttps://github.com/ucgmsim/visualizationProvides scripts for generation of common plots (both GMT and matplotlib based)Sung

sha_calchttps://github.com/ucgmsim/gmhazard/tree/main/calculation/sha_calc

Contains core code for hazard, UHS, disagg and GMS calculation.
No examples, discuss with Claudio

Claudio



spatial_hazardhttps://github.com/ucgmsim/gmhazard/tree/main/calculation/spatial_hazard

Contains functionality for calculating spatially & cross correlated IM fields
No examples, discuss with Claudio or Joel

Claudio,
Joel



Workflows/Products

NameURLSummarySW ContactPlanned ChangesComments
Simulation Workflow
Pre-processinghttps://github.com/ucgmsim/Pre-processingEverything related to producing input for GMSim (NonUniformGrid, SrfGen, geoNet)Sung, Joel

slurm_gm_workflowhttps://github.com/ucgmsim/slurm_gm_workflowOrchestrates the automated GM simulation and Cybershake workflow using Slurm.Sung, Joel

EMOD3Dhttps://github.com/ucgmsim/EMOD3DEMOD3D and various C/Fortran codes written by Rob Graves. Partially altered to switch to a workflow based on binary file format.Sung

GMSimVizhttps://github.com/ucgmsim/GMSimVizAutomated 3D Visualization of Ground Motion Simulation with Generic Mapping Tools (GMT)Sung

cybershake_investigationhttps://github.com/ucgmsim/cybershake_investigationAn investigation tool to aid cybershake runs and ensure validation of runsJoel, Sung

cs_dropbox_synchttps://github.com/ucgmsim/cs_dropbox_syncFunctionality for archiving simulation runs, also contains tool for exploring/downloading archived simulation dataJoel, Sung


Vs30https://github.com/ucgmsim/Vs30Translated from Kevin Foster's R code. Retrieve Vs30/Standard deviation/residual at specified locationsSung

Velocity-Model (Ethan)https://github.com/ucgmsim/Velocity-ModelNZ Velocity ModelSung

Velocity-Model-Vizhttps://github.com/ucgmsim/Velocity-Model-Viz

Automated VM plotting tools as a companion to the NZVM.

Sung



nzgmdbhttps://github.com/ucgmsim/nzgmdbCode for the NZGMDB workflow.Joel, ClaudioCurrently being refactored.
gmhazardhttps://github.com/ucgmsim/gmhazardContains 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,
Joel

No longer under development
nshm_hazardhttps://github.com/ucgmsim/nshm_hazardAllows running of the 2023 NSHM using OpenQuake. Difficult to use and slow execution.Claudio

gm_classifierhttps://github.com/ucgmsim/gm_classifierMachine learning model for quality assessment of GM recordsClaudio

GroundFailurehttps://github.com/ucgmsim/GroundFailureCode for landslide and liquefaction?

  • No labels