Skip to content

Pisces: A practical seismological database library in Python.

License

Notifications You must be signed in to change notification settings

spirospiliopoulos/pisces

 
 

Repository files navigation

Pisces

A practical seismological database library in Python.

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

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


Overview

Pisces connects your Python analysis environment to a seismological database.

Manage and analyze data in the same language

Don't use separate data-management language, like SQL or shell scripts. Just use Python, and connect to SciPy, ObsPy, AIMBAT, pyTDMT, StreamPick, and the rest of the scientific Python ecosystem.

Use common open-source technologies and standards

SQL relational databases, Python, SQLAlchemy, and the SciPy stack are widely-used, free, and open-source technologies. Because of this, you can leverage knowledge from sites, like StackOverflow, and other disciplines, like web development, for database examples, troubleshooting, or tricks.

Write portable, extensible, and scalable code

Python is multi-platform, SQLAlchemy is database-agnostic, and the whole stack is free and open-source. Write code that will not eventually have to be abandoned due to project size, system architecture, or budgetary or licensing concerns.

Features

  • Import/export waveforms directly to/from your database.
  • Easy importing/exporting of text "flat-file" data tables.
  • Build database queries using Python objects and methods (SQLAlchemy), not by concatenating SQL strings.
  • Integration with ObsPy.
  • Geographic filtering of results.

Installation

Requires:

  • NumPy
  • ObsPy
  • SQLAlchemy>0.7
  • C, Fortran compiler

Install from PyPI:

pip install pisces-db

Install current master from GitHub:

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

Analytics

About

Pisces: A practical seismological database library in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published