Compute extended network names from the fdsn network codes and a year using fdsn network webserice
Project description
RESIF Tool to extend fdsn network code
Prerequisite
SELECT privileges in the networks
and station
tables from resifInv
database
Installation
pip install fdsnextender
Usage
from fdsnextender import fdsnextender
myextender = fdsnextender.FdsnExtender(dburi="postgresql://...")
myextender.extend(network_code='ZO', year=2013)
Returns a string ZO2008
for instance.
Specification
- Have an internal structure allowing to compute the extended network code from a given FDSN network code and a year
- Expose a function to make the computation
The internal structure can be initialized with a request to the station webservice. Baseurl should be configurable
The overall programm is a class.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fdsnnetextender-3.0.0.tar.gz
(15.0 kB
view hashes)