The following command-line executables perform the main tasks:
makeSTATIONXML: generates StationXML files from a network + instrumentation information files
$ python3 makeStationXML -h
displays all the options of makeStationXML.
To create a StationXML file from a file called <filename>, type:
$ python3 makeStationXML.py [options] filename
obsinfo-validate: validates an information file against its schema
obsinfo-print: prints a summary of an information file
The following command-line executables make scripts to run specific data conversion software:
obsinfo-make_LCHEAPO_scripts: Makes scripts to convert LCHEAPO data to miniSEED
obsinfo-make_SDPCHAIN_scripts: Makes scripts to drift correct miniSEED data and package them for FDSN-compatible data centers
Package and Modules
The package name is
obsinfo.main contains code to initialize the main obsinfo routine, to read and potentially validate main (network) information file and to write StationXML file
obsinfo.instrumentation contain the main code to process the corresponding
obsinfo.OBSMetadata contains code to read and validate information files in either YAML or JSON formats.
obsinfo.misc contains miscellaneous code, currently deprecated and unsupported, which is not used anymore in the application
obspy.addons contains modules specific to proprietary systems:
obspy.addons.LCHEAPOcreates scripts to convert LCHEAPO OBS data to miniSEED using the
obspy.addons.SDPCHAINcreates scripts to convert basic miniSEED data to OBS-aware miniSEED using the
obspy.addons.OCAcreates JSON metadata in a format used by the Observatoire de la Cote d’Azur to create StationXML
data/schema contains JSON Schema for each file type.
Contains example information files and scripts:
_examples/Information_Filescontains a complete set of information files
_examples/Information_Files/networkcontains network files
_examples/Information_Files/instrumentationcontains instrumentation, instrument_components, response and filter files.
_examples/scriptscontains bash scripts to look at and manipulate these files using the executables. Running these scripts is a good way to make sure your installation works, looking at the files they work on is a good way to start making your own information files.
Contains test cases and code using
unittest.py. The tests are performed either on the information files under
test/data or on