/haselREC

Open-source integrated hazard and ground motion record selection

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

haselREC Logo

haselREC - HAzard-based SELection of RECords

The code is described in: Zuccolo E, Poggi V, O'Reilly G, Monteiro R (2021). haselREC: an open-source ground motion record selection tool bridging seismic hazard and structural analyses. Submitted to SDEE

Contributors:

Dependencies

haselREC has the following dependencies:

  • numpy
  • pandas
  • scipy
  • obspy
  • matplotlib
  • openquake.hazardlib
  • shakelib.conversions.imc.boore_kishida_2017 (Optional. Only of the input intensity measure component is the larger between the two horizontal components).

Installation

Add the lib folder to PYTHONPATH. For Linux open the file ~/.bashrc in your text editor and add the following line at the end:

export PYTHONPATH=/path/to/haselREC

Documentation

The documentation of the code can be generated using Sphinx (v1.8.5). To run the documentation type:

make html

The documentation will be generated in the build folder

Demos

Some demos can be found in the demo folder. See the README file in the demo folder

License

Copyright (C) 2020-2021 Elisa Zuccolo, Eucentre Foundation haselREC is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with haselREC. If not, see http://www.gnu.org/licenses/.

Disclaimer

haselREC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. The authors of the software assume no liability for use of the software.

Potential Improvements

A list of things that could be improved:

  • Use of original names for recordings from the NGA-West2 database
  • Computation of exact CS