Documentation | https://lwsspy.github.io/lwsspy.gcmt3d |
---|---|
Deployment | |
Build Status | |
License |
This package is created to handle Global 3D Centroid Moment Tensor Inversion using the state-of-the-art global adjoint tomography Earth model GLAD-M25.
Some of the challenges to create this workflow are the computational cost of global 3D earthquake simulations as well as handling High Performance Computing (HPC) infrastructure. For a single earthquake this software may be overkill. The goal however was to recompute a large part of the GCMT catalog, which required an automated workflow
pip install lwsspy.gcmt3d
If you want to further develop this package, I recommend creating an environment
that also installs all dependencies in editable mode. The dependencies are
tightly knit with the gcmt3d
package and chances are you will have to edit
their source code anyways. To make that process seemless, I created a script
that performs the installation from scratch devinstall.sh.
⚠️ You must have Anaconda already installed for this to work!
First navigate to where you want install everything then
curl -Lks https://raw.github.com/lwsspy/lwsspy.gcmt3d/dev/devinstall.sh | /bin/bash
cd <repo>
pytest tests
For some reason the pytest
command fails due to relative import issues when
run without arguments, so please add the directory tests
as a directory input.
It's sort of puzzling because I use pytest
without arguments for
lwsspy.seismo
and have 0
issues.