Access to Inventory Information

The Goal

Illustrate the usefulness of simple Python scripts to retrieve inventory information

Python scripts

The scripts in this chapter all deal with inventory access. All need to be invoked with the -d command line option to specify the SeisComP3 database to read the information from.

E.g.

python configured-streams.py -d mysql://sysop:sysop@localhost/seiscomp3

configured-streams.py

Print a list of all streams configured on a SC3 system.

station-coordinates.py

Print the station coordinated of all stations configured on a SC3 system.

channel-gains.py

Print channel gains for all streams configured on a SC3 system.

Attachments