Skip to main content

Compute extended network names from the fdsn network codes and a year using fdsnws-station webserice

Project description

pipeline status

coverage report

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

  1. Have an internal structure allowing to compute the extended network code from a given FDSN network code and a year
  2. 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-2.0.0.tar.gz (14.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page