Skip to content

INGV/hyp2000

Repository files navigation

TeamDigitale-publiccode TeamDigitale-reuse

License

DockerHub DockerHub Image Size DockerHub Pulls

GitHub Static Badge GitHub Issues

Dynamic YAML Badge

hyp2000 Version | GitHub Actions Workflow Status

Docker used to run HYP2000: determines earthquake locations and magnitudes from seismic network data like first-arrival P and S arrival times, amplitudes and coda durations.

More info here:

Quickstart

Clone the repository

First, clone the git repositry:

$ git clone https://github.com/INGV/hyp2000.git
$ cd hyp2000

Docker image

To obtain hyp2000 docker image, you have two options:

1) Get built image from DockerHub (preferred)

Get the last built image from DockerHub repository:

$ docker pull ingv/hyp2000:latest

2) Build by yourself

$ docker build --tag ingv/hyp2000 . 

in case of errors, try:

$ docker build --no-cache --pull --tag ingv/hyp2000 . 

Run docker

Run:

$ docker run -v $(pwd)/example:/opt/data ingv/hyp2000 italy2000.hyp 

Docker CLI

To override the ENTRYPOINT directive and enter into the Docker images, run:

$ docker run -it --entrypoint=bash ingv/hyp2000

To test hyp2000 by hand:

$ docker run -it --entrypoint=bash -v $(pwd)/example:/opt/data ingv/hyp2000
bash-4.4# cd /opt/data/input/
bash-4.4# cat italy2000.hyp | hyp2000

Contribute

Thanks to your contributions!

Here is a list of users who already contributed to this repository:

Author

(c) 2024 Valentino Lauciani valentino.lauciani[at]ingv.it
(c) 2024 Matteo Quintiliani matteo.quintiliani[at]ingv.it

Istituto Nazionale di Geofisica e Vulcanologia, Italia

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages