Skip to main content

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

Project description

pipeline status

coverage report

Generic tool to extend fdsn network code

FDSN (https://fdsn.org) creates seismic network codes.

Those can be in 2 forms : short or extended.

This module uses FDSN network API (http://www.fdsn.org/ws/networks/) to find the extended network code, given a short form and a date.

Installation

pip install fdsnnetextender

Usage

from fdsnnetextender import FdsnNetExtender

extender = FdsnNetExtender()
ext_code = extender.extend('ZO', '2013-01-01')

Returns a string ZO2008 for instance.

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.3.0.tar.gz (15.3 kB view details)

Uploaded Source

File details

Details for the file fdsnnetextender-3.3.0.tar.gz.

File metadata

  • Download URL: fdsnnetextender-3.3.0.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.12 tqdm/4.62.3 importlib-metadata/4.9.0 keyring/23.9.3 rfc3986/1.5.0 colorama/0.4.5 CPython/3.10.7

File hashes

Hashes for fdsnnetextender-3.3.0.tar.gz
Algorithm Hash digest
SHA256 42e3865e5f92b8c4b1f91a86aadc961f3c07943552856f193967394e0b20cada
MD5 9f7fc4e8cb6fbbc5e466c787815f1d29
BLAKE2b-256 30c96c11eb86ce65dd3e3dd95e5ad2d0eca37d04d0a4ec16e5b3cf6aaed53796

See more details on using hashes here.

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