hypo_fault_imaging
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 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 (15.8%) to scientific vocabulary
Repository
Basic Info
Statistics
- Stars: 14
- Watchers: 1
- Forks: 2
- Open Issues: 0
- Releases: 2
Metadata Files
README.md
Hypocenter-based 3D Imaging of Active Faults
The code in this repository allows to image active faults in 3D based on relatively relocated hypocenter datasets after the method presented in Truttmann et al. (2023) (https://doi.org/10.1029/2023JB026352).
Scientific publication
If you use the code in this repository please cite the following scientific publication: - Truttmann, S., Diehl, T., Herwegh, M. (2023). Hypocenter-based 3D Imaging of Active Faults: Method and Applications in the Southwestern Swiss Alps. Journal of Geophysical Research: Solid Earth, https://doi.org/10.1029/2023JB026352.
Installation
To make this code work on your machine you can simply clone this repository.
Requirements
The following dependencies need to be installed by the user (we recommend using conda): - numpy (version 1.23.5) - pandas - numba - obspy - plotly - scikit-learn (version 0.23.2) - FB8 (https://github.com/tianluyuan/sphere) - mplstereonet (https://github.com/joferkington/mplstereonet) - spherecluster (https://github.com/jasonlaska/spherecluster) - IMPORTANT: replace the files "sphericalkmeans.py" and "vonmisesfishermixture.py" with the updated versions thereof, provided in the folder Misc in this repository - mycolorpy (https://github.com/binodbhttr/mycolorpy) (only needed for the sensitivity analysis script "parameter_sensitivity.py")
The currently supported version of Python is 3.8
Modules
The five main modules are stored in the "src" folder: - Fault network reconstruction: faultnetwork.py - Model validation: modelvalidation.py - Automatic classification: autoclass.py - Fault stress analysis: stressanalysis.py - Visualisation: visualisation.py The scripts "utilities.py" and "utilities_plot.py" provide generic functions for some of the calculations in the main modules.
Usage
The file "runfile.py" in the "samples" folder provides an example of how to run a fault network analysis as presented in Truttmann et al. (2023), conducting the full analysis with all available tools.
Please note: - The input parameters have to be defined in a dictionary with pre-defined keys (see runfile.py for a template). - The hypocenter input file follows the hypoDD standard (.reloc file) in terms of header namings. The file specified with "hypo_file" thus needs the following columns and exact names: ID, LAT, LON, DEPTH, X, Y, Z, EX, EY, EZ, YR, MO, DY, HR, MI, SC, MAG, NCCP, NCCS, NCTP, NCTS, RCC, RCT, CID - Relocation errors should be given as one standard deviation (σ) - The focal mechanisms input file needs to be structured according to the following header naming convention: Yr, Mo, Dy, Hr:Mi, Lat, Lon, Z, Mag, A, Strike1, Dip1, Rake1, Strike2, Dip2, Rake2, Pazim, Pdip, Tazim, Tdip, Q, Type, Loc
Since the choice of the input parameters rnn and dtnn is critical, an example for the sensitivity analysis of these parameters is provided in the file "inputparams_sensitivity.py" (for details see Truttmann et al. (2023)).
Owner
- Name: Sandro Truttmann
- Login: sandrotruttmann
- Kind: user
- Location: Bern, Switzerland
- Repositories: 1
- Profile: https://github.com/sandrotruttmann
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Truttmann" given-names: "Sandro" orcid: "https://orcid.org/0000-0002-0866-5942" title: "hypo_fault_imaging" version: 1.0.0 doi: date-released: 2023-01-02 url: "https://github.com/sandrotruttmann/hypo_fault_imaging"
GitHub Events
Total
- Watch event: 6
- Push event: 18
- Create event: 3
Last Year
- Watch event: 6
- Push event: 18
- Create event: 3