Skip to content

IPGP/seiscomp-gui-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seiscomp-gui-docker

SeisComP GUI utilities in a docker container

Mac install

XQuartz install

Install the latest version of XQuartz from : https://www.xquartz.org/

Homebrew install

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Docker install

brew install docker --cask
brew install docker-buildx

Start Docker Desktop (Applications folder) : it will start the docker daemon.

Building and running Docker container

Build image and create container

Update configuration

The file compose.yaml contains instructions to mount host directories on the container. Typically, when using SeiSComP GUI, you would need :

  • a directory containing .cfg personal configuration files for each application
  • a directory containing map tiles
  • directories containing travel time files for locators

By default, configuration files are expected on $HOME/seiscomp-gui/cfg on the host computer. They are mounted on $HOME/.seiscomp in the container. By default, map tiles directory is expected on $HOME/seiscomp-gui/maps on the host computer. It is mounted on /opt/seiscomp/share/maps in the container. By default, NonLinLoc configuration and time travel files are expected on $HOME/seiscomp-gui/nll on the host computer. It is mounted on /opt/seiscomp/share/nll in the container. By default, Hypo71PC configuration files and velocity models are expected to be found on $HOME/seiscomp-gui/hypo71 on the host computer. It is mounted on /opt/seiscomp/share/hypo71 in the container.

You can update the host path for each volume or comment the unused ones in the compose.yaml file, section volumes.

Create image and container

docker compose create

Run the container

docker compose start

Stop the container

docker compose stop

Running SeisComP GUI app

Connect to container with SSH

ssh -Y -p 2222 sysop@localhost

Start scolv (same applies for any other SeisComP GUI)

Without option and with the default container configutation, scolv will use $HOME/seiscomp-gui/cfg/scolv.cfg file from the host.

scolv

Scolv can be launched to point to a specific configuration file from $HOME/seiscomp-gui/cfg/ directory on the host.

scolv --config-file $HOME/.seiscomp/my_scolv_config_file.cfg

List of SeisComP GUI

  • scolv : locator interface
  • scrttv : waveform display interface
  • scmv : station map interface
  • scesv : event interface
  • scqcv : station quality check interface

Credits

This project was inspired by Fred Massin. Many thanks!!

About

SeisComP scolv GUI utility in a docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published