Jamalreyhani / pyquakeml

Lightweight QuakeML data parsing for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyQuakeML

Lightweight QuakeML data parsing for Python

Installation

cd ~/src/   # or wherever you keep your source packages
git clone https://gitext.gfz-potsdam.de/nooshiri/pyquakeml.git
cd pyquakeml
sudo python setup.py install

Usage

To load data given in QuakeML format use keyword argument stream=... or filename=... in loader function:

from pyquakeml import QuakeML

data = QuakeML.load_xml(filename='your_event.xml')

About

Lightweight QuakeML data parsing for Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%