Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/norwegianseismicarray/tphasenet
https://github.com/norwegianseismicarray/tphasenet
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/norwegianseismicarray/tphasenet
- Owner: NorwegianSeismicArray
- Created: 2024-03-05T14:24:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T12:36:42.000Z (8 months ago)
- Last Synced: 2024-05-22T12:55:40.360Z (8 months ago)
- Language: Python
- Size: 30.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TPhaseNet: Phase picking for regional seismic data
Code related to the submitted paper **Deep learning models for regional phase detection on seismic stations in Northern Europe and the European Arctic**.
Tested setup for installation of required packages :
```
conda create -n test python=3.10.12
conda activate test
pip install -r requirements.txt
```To train a model for phase detection run :
```
python train.py
```All training and model parameters can be changed in config.yaml.
This is a simply training example on a cpu. It is recommend to train on gpu.
To train on gpu you have to adapt the call of train.py for example using docker.Due to limited space on GitHub, this example uses a dummy training data set with only a few events (tf/data).
Currently, to train you own model, you must generate your own data. The data structure can be explored by loading
the dummy training data files.We have uploaded parts of the full data (events in the NORSAR catalogue recorded at station ARA0 in years 2001--2022) to Zenodo. The models used in the paper are also too large for GitHub and are uploaded to Zenodo as well.
Data and model are available here:
[Zenodo repository](https://www.doi.org/10.5281/zenodo.11231543)
To pick arrivals in continuous data of station ARA0 first download the models, store them in tf/output/models,
adjust pred_config.yaml, and then run:```
python predict.py
```## Contact
Andreas Köhler - [email protected] - [ORCID](https://orcid.org/0000-0002-1060-7637)
Erik B. Myklebust - [ORCID](https://orcid.org/0000-0002-3056-2544)
Project Link: [https://github.com/NorwegianSeismicArray/tphasenet](https://github.com/NorwegianSeismicArray/tphasenet)
## Acknowledgments
* Models are built with [TensorFLow](https://www.tensorflow.org/)
* ARCES waveform data are available via the [Norwegian EIDA node](https://eida.geo.uib.no/webdc3/)
* Reviewed seismic event bulletins from which the input data labels were obtained are available from the [Finish National Seismic Network](https://www.seismo.helsinki.fi/bulletin/list/norBull.html
) and [NORSAR](http://www.norsardata.no/NDC/bulletins/regional/)