Dear users,
we tagged a new release of SeisComP3 Jakarta: 2020.330. Meanwhile we have released patch 2. Binaries for various
operating systems have been built. The full source is available at Github [1]. Please read the changelog [2]. All gempa GmbH customers will find binary packages in their repositories.
This will be the last SeisComP3 version that we will ever release. We will maintain it until mid of 2022, fix bugs and compilation issues for supported systems but all new feature developments will go into SeisComP 4.0.0 and beyond.
The most important change for this release is actually its support for Qt5 and therefore support for CentOS8 and Ubuntu 20.04. Furthermore Python3 support was added. The binary package is compiled for the default Python version shipped with the Linux distribution. For example Ubuntu 20.04 is built against Python 3.8.5 and all SeisComP3 scripts will use this version. The SeisComP3 Python libraries cannot be used with any other version because the C++ wrappers are not binary compatible with other versions and must be recompiled for another Python versions.
Another important change has been implemented into Seedlink: naming buffer directories unambiguously including the network code. If you have two stations with the same code in two different networks then both data were mixed in one buffer directory. So before upgrading Seedlink you should rename the buffer directories accordingly. Example:
sysop@host:~/seiscomp3/var/lib/seedlink/buffer$ ls
PB02
sysop@host:~/seiscomp3/var/lib/seedlink/buffer$ mv PB02 CX.PB02
sysop@host:~/seiscomp3/var/lib/seedlink/buffer$ ls
CX.PB02
The steps to upgrade properly:
- Stop Seedlink
- Upgrade SeisComP3 package
- Rename directories (use attached script)
seiscomp update-config
- Start Seedlink
#!/bin/bash
if [ -z ${SEISCOMP_ROOT+x} ]; then
echo "Environment variable SEISCOMP_ROOT is not set."
echo "Either use 'seiscomp exec [script]' or set SEISCOMP_ROOT to the installation "
echo "path of your SeisComP installation."
exit 1
fi
grep -A 2 ^station $SEISCOMP_ROOT/var/lib/seedlink/seedlink.ini | while read a b c; do
if [ "$a" = station -a "$b" != .dummy ]; then
id=$b
sta=""
net=""
while read a b c; do
case $a in
--) break;;
name) eval sta=$c;;
network) eval net=$c;;
esac
done
if [ -z "$id" -o -z "$sta" -o -z "$net" ]; then
echo "Error parsing seedlink.ini"
break
fi
if [ "$id" != "$net.$sta" ]; then
mv -v "$SEISCOMP_ROOT/var/lib/seedlink/buffer/$id" "$SEISCOMP_ROOT/var/lib/seedlink/buffer/$net.$sta"
else
echo "$id: No renaming required"
fi
fi
done
Run with:
seiscomp exec sh rename-directories.sh
Many thanks to:
- the community for their feedback and code patches
- gempa customers for funding new features and extensions
Have fun,
SeisComP3 team
[1] https://github.com/SeisComP3/seiscomp3/archive/release/jakarta/2020.330.zip
[2] https://github.com/SeisComP3/seiscomp3/blob/release/jakarta/2020.330/CHANGELOG.md