Skip to content

PBoissier/fdsn2nodes

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fdsn2nodes

fdsn2nodes connects to a FDSN webservice, gets channel inventory and creates a WebObs node architecture. It creates CLB and CNF files for all nodes.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisities

The program was developped using python2.7.

The only dependency is obspy

Installing and running

Copy the file on your computer and run it as follows :

python fdsn2nodes.py [-h] [-v] [-u BASE_URL] [-n NETWORK_CODE]
                     [-C COUNTRY_CODE] [-P NODE_PREFIX] [-s STATION_CODES]
                     [-c CHANNEL_CODES] [-o OUTPUT_DIR] [-e OUTPUT_ENCODING]
                     [-V]

Invoke help :

python fdsn2nodes.py -h

Example for PF network, french country code, 'XX' as node name prefix, stations names starting with letter M, HH? channels, output nodes in TEST3 directory, files written in latin-1 encoding :

python fdsn2nodes.py -u http://eida.ipgp.fr -n PF -C FR -P XX -s M* -c HH? \
                     -o TEST3 -e ISO-8859-1

Example for IM network, US country code, PP as node prefix, Infrasound stations names starting with I0, output nodes in IMS directory :

python fdsn2nodes.py -u IRIS -n IM -C US -P PP -s I0* -o IMS

Contributing

Feel free to contact us for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU General Pyblic License v3.0 - see License file for details.

About

Converts FDSN inventory to WebObs Nodes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%