Setting up
The following are basic steps to install and confirm that everything is working
Installation
Note: DOES NOT (YET) WORK IN WINDOWS: use a Mac or Linux computer
Install obspy using their Conda Installation instructions
In your obspy environment, install obsinfo by typing
pip install obsinfotype
pip listto confirm that your version is up-to-date (at least 1.0.beta)
More detailed instructions are in the Installation
Copy an example database into your own folder
Create a working directory
Go in there and run
obsinfo setup -d DATABASE
A subfolder named DATABASE will be created. Inside is a directory named
instrumentation_files and under that are lots of subdirectories with obsinfo
information files.
Create a StationXML file
Copy one of the network files from the DATABASE/ directory into your working
directory:
cp DATABASE/instrumentation_files/subnetworks/EXAMPLE_essential.subnetwork.yaml .
Then run obsinfo xml on it:
obsinfo xm EXAMPLE_essential.subnetwork.yaml .
A file named “EXAMPLE_essential.station.xml” should be created
Test the other command-line codes
Try the following two lines, to make sure that the other command-line codes work:
obsinfo validate EXAMPLE_essential.subnetwork.yaml
obsinfo print EXAMPLE_essential.subnetwork.yaml