regional_liquefaction

Python code to run regional liquefaction analysis

https://github.com/emongold/regional_liquefaction

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary
Last synced: 6 months ago · JSON representation

Repository

Python code to run regional liquefaction analysis

Basic Info
  • Host: GitHub
  • Owner: emongold
  • License: mit
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 178 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 4
  • Open Issues: 0
  • Releases: 1
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

regional_liquefaction

DOI

This project contains python functions to run cpt-based liquefaction calculations on a regional scale. Recreates figures and calculations from the following paper:

Mongold, E. and Baker, J.W. (2024) "Probabilistic Regional Liquefaction Hazard and Risk Analysis: A Case Study of Residential Buildings in Alameda, CA" Natural Hazards Review, 25(4), 04024039, https://doi.org/10.1061/NHREFO.NHENG-2078.

This package is broken down to multiple steps. 'liquefaction' can be imported as a package with a local download of the folder, and running setup.py. The following python files are within liquefaction, defining various functions: 1. preprocess.py 2. mosscalcs.py 3. boulangeridrisscalcs.py 4. simulations.py 5. postprocess.py

It is able to run liquefaction calculations on a regional-scale grid, using either Boulanger & Idriss (2014) or Moss et al. (2006) model.

The dependencies are all included in base.py, where module imports are performed.

This function has been applied with the following inputs:

  1. CPT data from the USGS (including water depth) [https://www.usgs.gov/tools/cone-penetration-testing-cpt-data]
  2. Simulated soil data using SGeMS [https://sourceforge.net/projects/sgems/]
  3. Ground motions using R2D [https://simcenter.designsafe-ci.org/research-tools/r2dtool/]
  4. Ground motions using pypsha [https://pypi.org/project/pypsha/]

The directory example contains jupyter notebooks that run, post-process, and create figures based on an example run of the data.

paper_figures.ipynb can be run on its own using full outputs to re-create figures

To set up a new simulation, the files should be set up and run in the following order: 1. makeinputs.py 2. liqsetup.py 3. liqrun.py 4. runloss.py

Owner

  • Name: Emily Mongold
  • Login: emongold
  • Kind: user

GitHub Events

Total
  • Watch event: 2
  • Push event: 1
  • Pull request review event: 2
  • Pull request event: 2
  • Fork event: 2
Last Year
  • Watch event: 2
  • Push event: 1
  • Pull request review event: 2
  • Pull request event: 2
  • Fork event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 hour
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • bakerjw (1)
Top Labels
Issue Labels
Pull Request Labels