Metadata-Version: 2.1
Name: quakeio
Version: 0.1.20
Summary: quakeio
Home-page: https://github.com/claudioperez/quakeio
Author: Claudio M. Perez
Author-email: claudio_perez@berkeley.edu
Keywords: seismic,earthquake,parser
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: numpy<1.20.0; python_version < "3.8"
Requires-Dist: numpy<1.25.0; python_version == "3.8"
Requires-Dist: numpy; python_version >= "3.9"
Requires-Dist: scipy<1.6.0; python_version == "3.6"
Requires-Dist: scipy<1.8; python_version == "3.7"
Requires-Dist: scipy>1.6.0; python_version > "3.7"
Requires-Dist: pyyaml
Provides-Extra: testing
Requires-Dist: pytest>=4.6; extra == "testing"
Requires-Dist: pytest-checkdocs>=2.4; extra == "testing"
Requires-Dist: pytest-flake8; extra == "testing"
Requires-Dist: pytest-black>=0.3.7; (platform_python_implementation != "PyPy" and python_version < "3.10") and extra == "testing"
Requires-Dist: pytest-cov; extra == "testing"
Requires-Dist: pytest-mypy; (platform_python_implementation != "PyPy" and python_version < "3.10") and extra == "testing"
Requires-Dist: pytest-enabler>=1.0.1; extra == "testing"
Requires-Dist: pandas; extra == "testing"
Provides-Extra: docs
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: jaraco.packaging>=8.2; extra == "docs"
Requires-Dist: rst.linker>=1.9; extra == "docs"
Provides-Extra: plots
Requires-Dist: matplotlib; extra == "plots"

# quake-io

[![PyPI Downloads][pypi-v-image]][pypi-v-link]
[![PyPI Version][pypi-d-image]][pypi-d-link]
![][cov-img]
<!-- ![Build][build-img] -->
[![Commits since latest release][gh-image]][gh-link]

QuakeIO is a library of utilities for parsing ground motion files. Interfaces are provided for Python, Matlab, and the command line.

- [Install](#install)
- [Formats](#formats)
- [Python API](#Python-API)


## Formats

| Format          | Read      | Write   |  Reference              |
|-----------------|-----------|---------|-------------------------|
|`[quakeio.]json` | &#9745;   | &#9745; | [schema][record-schema] |
|`csmip`          | &#9744;   | &#9744; |                         |
|`csmip.v2`       | &#9745;   | &#9744; | [CSMIP][CSMIP]          |
|`eqsig`          | &#9745;   | &#9745; | [eqsig][EQSIG]          |
|`PEER.NGA`       | &#9745;   | &#9744; |                         |
|`plain.tsv`      | &#9744;   | &#9744; |                         |
|`opensees`       | &#9744;   | &#9745; |                         |
|`plain.csv`      | &#9744;   | &#9744; |                         |
|`mdof`           | &#9744;   | &#9744; |                         |
| SimCenter.Event | &#9744;   | &#9744; |                         |

## Install

Run the following command:

```shell
pip install quakeio
```



<!-- Reference links -->
[EQSIG]: https://github.com/eng-tools/eqsig
[CSMIP]: https://www.conservation.ca.gov/cgs/Documents/Program-SMIP/Reports/Other/OSMS_85-03.pdf
[record-schema]: https://raw.githubusercontent.com/claudioperez/quakeio/master/etc/schemas/record.schema.json

<!-- Badge links -->
[pypi-d-image]: https://img.shields.io/pypi/dm/quakeio.svg
[license-badge]: https://img.shields.io/pypi/l/quakeio.svg
[pypi-d-link]: https://pypi.org/project/quakeio
[pypi-v-image]: https://img.shields.io/pypi/v/quakeio.svg
[pypi-v-link]: https://pypi.org/project/quakeio
[build-img]: https://github.com/claudioperez/quakeio/actions/workflows/base.yml/badge.svg
[cov-img]: https://raw.githubusercontent.com/claudioperez/quakeio/master/etc/coverage/cov.svg
[gh-link]: https://github.com/claudioperez/quakeio/compare/v0.1.14...master
[gh-image]: https://img.shields.io/github/commits-since/claudioperez/quakeio/v0.1.14?style=social


