Skip to main content

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

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

  • SQLAlchemy

  • Click

  • C compiler

Install from PyPI:

pip install pisces-db

Install current master from GitHub:

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

Recent History

(full change log)

0.2.2

Changes

  • pisces.util.get_tables, pisces.util.make_tables, and pisces.util.get_or_create_tables are deprecated and will raise a warning.

  • pisces.request.get_waveforms now has a tol keyword that will raise an exception if any returned waveform is not within tol seconds from the requested starttime/endtime.

  • Added --bbfk flag to pisces sac2db, which uses the broadband f-k (BBFK) convention of reading x, y array offset distances in the USER 7, 8 SAC header variables and storing them Site.dnorth and Site.deast.

  • Windows support! Thanks to @mitchburnett! e1 and convert C libraries now build (using MSVC).

  • Automated testing on Mac OSX, Linux, and Windows 7, for Python 2.7 and 3.4, thanks to Travis CI and Appveyor.

  • Require ObsPy > 1.0

Bug fixes

  • Fixed sac2db wfdisc.foff (issue #12) and wfdisc.dir (issue #11) handling.

Analytics

Release files for pisces-db 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pisces-db 0.2.3
File Size Uploaded
pisces-db-0.2.3.tar.gz 68.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pisces-db 0.2.3
File Interpreter ABI Platform
pisces_db-0.2.3-cp27-cp27m-macosx_10_5_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.5+ x86-64 Details

Total release size:140.3 kB

Release files / pisces-db-0.2.3.tar.gz

Download URL pisces-db-0.2.3.tar.gz
Size 68.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7cc98ceb16c6c5ac84bacf02aaaf25791a1cb9400767653c54b8b994e19e5b09
BLAKE2b-256 checksum
How to use checksums
74ab2f20fded6659a62be467a4611a67e048863f33af2b1179c8712f9c98bef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pisces_db-0.2.3-cp27-cp27m-macosx_10_5_x86_64.whl

Download URL pisces_db-0.2.3-cp27-cp27m-macosx_10_5_x86_64.whl
Size 72.1 kB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.5+ x86-64
SHA-256 checksum
How to use checksums
9f6028d0fbd0a8e375ff5df82ba4d5e93b2438fac6687e1f8f730cdb194ee50c
BLAKE2b-256 checksum
How to use checksums
8e1842985ca482bb12c73bdffa1d45b9ae3183b8c97f25d8124f731d6c87269f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

0.2.1

1 release file

0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page