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
To use DamageScanner in your project:
Using uv (Recommended)
uv add damagescanner
Using pip
pip install damagescanner
Development & Testing
To set up a local environment for development or to run tests:
Using uv (ecommended)
uv is an extremely fast Python package manager and is the preferred way to set up the development environment.
# Clone the repository
git clone https://github.com/VU-IVM/DamageScanner.git
cd DamageScanner
# Create a virtual environment and install all optional dependencies
uv sync --all-groups
Using Miniconda
If you prefer Miniconda, use the provided environment.yml file:
# Add conda-forge channel for extra packages
conda config --add channels conda-forge
# Create environment and activate
conda env create -f environment.yml
conda activate ds-test
Documentation
Please refer to the documentation 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file damagescanner-1.0.0b1.tar.gz.
File metadata
- Download URL: damagescanner-1.0.0b1.tar.gz
- Upload date:
- Size: 28.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bd7ee96438b08f4f3e390b2c9a4334bc169b7be69c3d98b38a07fd590ccfa73
|
|
| MD5 |
2f62cc7a6b30ead78f6a59279c914aa8
|
|
| BLAKE2b-256 |
ed5f6e2647a469075cd038217224d3da020cc1c01340fa428d2fc12e1d6edce8
|
Provenance
The following attestation bundles were made for damagescanner-1.0.0b1.tar.gz:
Publisher:
publish.yml on VU-IVM/DamageScanner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
damagescanner-1.0.0b1.tar.gz -
Subject digest:
5bd7ee96438b08f4f3e390b2c9a4334bc169b7be69c3d98b38a07fd590ccfa73 - Sigstore transparency entry: 956274016
- Sigstore integration time:
-
Permalink:
VU-IVM/DamageScanner@585842a09969c9be24d4f02dff3932f3f118478d -
Branch / Tag:
refs/tags/v1.0.0b1 - Owner: https://github.com/VU-IVM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@585842a09969c9be24d4f02dff3932f3f118478d -
Trigger Event:
release
-
Statement type:
File details
Details for the file damagescanner-1.0.0b1-py3-none-any.whl.
File metadata
- Download URL: damagescanner-1.0.0b1-py3-none-any.whl
- Upload date:
- Size: 31.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.3 {"installer":{"name":"uv","version":"0.10.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc301cbff2940a1a91333ad827dc63de5249ec6db3b0393f130b2ec369463f49
|
|
| MD5 |
c448f59a9ed7d32fe81718d7442c9f1f
|
|
| BLAKE2b-256 |
c3ff1e4ee788afd80a4c5341216135285bb1acb192a33b6592f631613fee90f6
|
Provenance
The following attestation bundles were made for damagescanner-1.0.0b1-py3-none-any.whl:
Publisher:
publish.yml on VU-IVM/DamageScanner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
damagescanner-1.0.0b1-py3-none-any.whl -
Subject digest:
dc301cbff2940a1a91333ad827dc63de5249ec6db3b0393f130b2ec369463f49 - Sigstore transparency entry: 956274013
- Sigstore integration time:
-
Permalink:
VU-IVM/DamageScanner@585842a09969c9be24d4f02dff3932f3f118478d -
Branch / Tag:
refs/tags/v1.0.0b1 - Owner: https://github.com/VU-IVM
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@585842a09969c9be24d4f02dff3932f3f118478d -
Trigger Event:
release
-
Statement type: