Skip to content

Pisces: A practical seismological database library in Python.

License

Notifications You must be signed in to change notification settings

byoung4/pisces

 
 

Repository files navigation

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: https://lanl-seismoacoustics.github.io/pisces

Repository: https://github.com/lanl-seismoacoustics/pisces/

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.

About

Pisces: A practical seismological database library in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 89.6%
  • C 10.4%