Skip to main content

A Practical Seismological Database Library in Python.

Project description

Pisces

Pisces is a Python library that connects your geophysical analysis environment to a SQL database that uses the Center for Seismic Studies (CSS) 3.0 or NNSA KB Core table schema.

Documentation: http://jkmacc-lanl.github.io/pisces

Repository: https://github.com/jkmacc-LANL/pisces

Build Status Build status

Features

  • Import/export waveforms directly to/from your database.
  • Build database queries using Python objects and methods (SQLAlchemy), not by concatenating SQL strings.
  • Integration with ObsPy.
  • Geographic filtering of results.

Installation

Requires:

  • ObsPy
  • Click
  • C compiler (for optional e1 dependency)

Install from PyPI:

pip install pisces

If you use "e1" format data, you also need to install the e1 package:

pip install e1

You can install them both at the same time with:

pip install pisces[e1]

Install current master from GitHub:

pip install git+https://github.com/LANL-Seismoacoustics/pisces

Recent History

(full change log)

0.3.2

  • Correct links in setup.py

0.3.1

  • Pisces no longer requires compiling and installing C extension modules.
  • Remove libconvert C library, and replace it's only exposed function (s3tos4) with a NumPy-only version.
  • Remove libecompression C library, and move it to a separate "e1" package on PyPI. It will be installed as an optional dependency by installing with pip install pisces[e1].

0.3.0

  • Python 3 support!
  • No more Python 2 support
  • Add the ability to target a database and tables in a config file (see util.load_config).

0.2.4

  • Change package name to "pisces" instead of "pisces-db"
  • Add Antelope Datascope schema/tables.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pisces, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size pisces-0.3.2-py3-none-any.whl (65.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pisces-0.3.2.tar.gz (66.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page