Coder Social home page Coder Social logo

cbworden / oq-hazardlib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gem/oq-hazardlib

0.0 2.0 0.0 39.96 MB

Openquake Hazard Library

Home Page: http://www.globalquakemodel.org/openquake/

License: GNU Affero General Public License v3.0

Python 98.77% Shell 0.66% C++ 0.07% C 0.50%

oq-hazardlib's Introduction

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.

Installation

To install type as usual:

python setup.py install

Running Tests (in a development environment)

  1. 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
    
  2. 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
    
  3. 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.

oq-hazardlib's People

Contributors

angri avatar micheles avatar g-weatherill avatar nastasi-oq avatar larsbutler avatar mmpagani avatar monellid avatar daniviga avatar nackerley avatar vup1120 avatar danciul avatar acerisara avatar matley avatar julgp avatar gvallarelli avatar rcgee avatar nickhorspool avatar luisera avatar silviacanessa avatar francescoingv avatar cbworden avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.