Direct damage assessments for natural hazards
Project description
DamageScanner: direct damage assessments for natural hazards
A python toolkit for direct damage assessments for natural hazards. Even though the method is initially developed for flood damage assessments, it can calculate damages for any hazard for which you just require a vulnerability curve (i.e. a one-dimensional relation).
Please note: This package is still in development phase. In case of any problems, or if you have any suggestions for improvements, please raise an issue.
Background
This package is (loosely) based on the original DamageScanner, which calculated potential flood damages based on inundation depth and land use using depth-damage curves in the Netherlands. The DamageScanner was originally developed for the 'Netherlands Later' project (Klijn et al., 2007). The original land-use classes were based on the Land-Use Scanner in order to evaluate the effect of future land-use change on flood damages.
Installation
Requirements: NumPy, pandas, geopandas, matplotlib, rasterio, tqdm, xarray, pyproj
- Open the python environment in your command prompt or bash in which you want to install this package.
- Type
pip install damagescanner
and it should install itself into your python environment. - Now you can import the package like any other package!
OR:
- Clone the repository or download the package on your computer and extract the folder.
- Go to the DamageScanner folder in your command prompt or bash.
- Type
python setup.py install
and it should install itself into your python environment. - Now you can import the package like any other package!
Create testing environment
Recommended option is to use a miniconda environment to work in for this project, relying on conda to handle some of the trickier library dependencies.
# Add conda-forge channel for extra packages
conda config --add channels conda-forge
# Create a conda environment for the project and install packages
conda env create -f environment.yml
activate ds_env
Documentation
Please refer to the ReadTheDocs of this project for the full documentation of all functions.
How to cite:
If you use the DamageScanner in your work, please cite the package directly:
- Koks. E.E. (2022). DamageScanner: Python tool for natural hazard damage assessments. Zenodo. http://doi.org/10.5281/zenodo.2551015
Here's an example BibTeX entry:
@misc{damagescannerPython,
author = {Koks, E.E.},
title = {DamageScanner: Python tool for natural hazard damage assessments},
year = 2022,
doi = {10.5281/zenodo.2551015},
url = {http://doi.org/10.5281/zenodo.2551015}
}
License
Copyright (C) 2022 Elco Koks. All versions released under the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file damagescanner-0.7.tar.gz
.
File metadata
- Download URL: damagescanner-0.7.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3abed7167e1c84b1dec3149c2c8bdf1916254ea75905045d4460a2fe78ead7e |
|
MD5 | 6b447b79e4cc8d787b0e60a01e543432 |
|
BLAKE2b-256 | 2d83bc20b686cf93013005e7d2fe4757a0ee3116f89e369b0a1790370eec65fb |
File details
Details for the file damagescanner-0.7-py3-none-any.whl
.
File metadata
- Download URL: damagescanner-0.7-py3-none-any.whl
- Upload date:
- Size: 21.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c833b8457256083e12e69113fcf34e8a788121bfa6a01dc56b15d8d0e696df01 |
|
MD5 | 2370b07489da5cfe68d1dd9768692d02 |
|
BLAKE2b-256 | 409266b115bb64ff1cdb964726a9d4736c2cb61ba9b2899285db5b7c24f221d0 |