hazardlib¶
hazardlib (the Openquake Hazard Library) is open-source software for performing seismic hazard analysis.
What is hazardlib?¶
hazardlib includes modules for modeling seismic sources (point, area and fault), earthquake ruptures, temporal (e.g. Poissonian) and magnitude occurrence models (e.g. Gutenberg-Richter), magnitude/area scaling relationships, ground motion and intensity prediction equations (i.e. GMPEs and IPEs). Eventually it will offer a number of calculators for hazard curves, stochastic event sets, ground motion fields and disaggregation histograms.
hazardlib aims at becoming an open and comprehensive tool for seismic hazard analysis. The GEM Foundation (http://www.globalquakemodel.org/) supports the development of the library by adding the most recent methodologies adopted by the seismological/seismic hazard communities. Comments, suggestions and criticisms from the community are always very welcome.
Requirements¶
hazardlib depends on numpy and scipy for fast numerical calculations and on shapely for geometric primitives routines.
Development and support¶
hazardlib is being actively developed by GEM foundation as a part of OpenQuake project (though it doesn’t mean hazardlib depends on openquake). The OpenQuake development infrastructure is used for developing hazardlib: the public repository is available on github: http://github.com/gem/oq-hazardlib. Bugs can be reported on launchpad: https://bugs.launchpad.net/openquake/. Mailing list is available as well: http://groups.google.com/group/openquake-dev. You can also ask for support on IRC channel #openquake on freenode.
Running Tests (in a development environment)¶
Install dependencies:
# Ubuntu 12.04 LTS: apt-get install python-numpy python-scipy python-shapely # Other platforms, or if you are using a virtualenv: pip install numpy scipy shapely
Install test dependencies:
# Ubuntu 12.04 LTS: apt-get install python-nose python-coverage python-mock # Other platforms, or if you are using a virtualenv: pip install nose coverage mock
Run tests:
nosetests --with-doctest --with-coverage --cover-package=openquake.hazardlib
License¶
hazardlib is licensed under terms of GNU Affero General Public License 3.0, see LICENSE for more details.
Internal structure¶
- Seismic sources and ruptures
- Area-magnitude scaling relationships
- Magnitude-frequency distributions
- Ground-shaking intensity models
- Built-in GSIMs
- Abrahamson and Silva 1997
- Abrahamson and Silva 2008
- Abrahamson et al. 2014
- Abrahamson et al. 2015
- Akkar et al. 2013
- Akkar et al. 2014
- Akkar and Bommer 2010
- Akkar and Cagnan 2010
- Allen 2012
- Atkinson and Boore 1995
- Atkinson and Boore 2003
- Atkinson and Boore 2006
- Atkinson & Macias 2009
- Atkinson 2015
- Berge-Thierry et al. 2003
- Bindi et al. 2011
- Bindi et al. 2014
- Boore, Joyner and Fumal 1993
- Boore, Joyner and Fumal 1997
- Boore, Stewart, Seyhan & Atkinson 2014
- Boore and Atkinson 2008
- Boore and Atkinson 2011
- Bradley 2013
- Campbell 2003
- Campbell and Bozorgnia 2003
- Campbell and Bozorgnia 2008
- Campbell & Bozorgnia 2014
- Cauzzi, Faccioli, Vanini and Bianchini 2014
- Cauzzi and Faccioli 2008
- Cauzzi and Faccioli 2008 - Switzerland
- Chiou and Youngs 2008
- Chiou and Youngs 2008 - Switzerland
- Chiou and Youngs 2014
- Climent et al. 1994
- Convertito et al. 2012
- Dost, van Eck and Haak (2004)
- Douglas et al., 2013
- Edwards and Fah 2013 Alpine
- Edwards and Fah 2013 Foreland
- Faccioli et al. 2010
- Frankel et al. 1996
- Fukushima and Tanaka 1990
- Garcia et al. 2005
- Geomatrix 1993
- Ghofrani and Atkinson (2014)
- GMPE Tables
- Idriss 2014
- Lin and Lee 2008
- Lin 2009
- McVerry et al. 2006
- Megawati & Pan 2010
- Montalva et al. 2015
- US National Seismic Hazard Map (Western US) 2014
- Pezeshk et al. 2011
- Rietbrock, Strasser and Edwards (2013)
- Sadigh et. al. 1997
- Silva et al. 2002
- Si and Midorikawa 1999
- Somerville et al. 2001
- Somerville et al. 2009
- Tavakoli and Pezeshk 2005
- Toro et al. 1997
- Toro et al. 2003
- Youngs et al. 1997
- Zhao et al. 2006
- Zhao et al. 2006 - Switzerland
- Base GSIM classes and functionality
- Built-in GSIMs
- Temporal occurrence models
- Calculators
- Site object
- Other utility and private classes and module