damagescanner


Namedamagescanner JSON
Version 0.7 PyPI version JSON
download
home_page
SummaryDirect damage assessments for natural hazards
upload_time2023-12-15 14:50:50
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License
keywords gis natural hazards damage assessment remote sensing raster vector geospatial
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # DamageScanner: direct damage assessments for natural hazards

<img align="right" width="200" alt="Logo" src="https://raw.githubusercontent.com/ElcoK/DamageScanner/master/doc/ds_logo.png">


[![github repo badge](https://img.shields.io/badge/github-repo-000.svg?logo=github&labelColor=gray&color=blue)](https://github.com/ElcoK/DamageScanner)
[![github license badge](https://img.shields.io/github/license/ElcoK/DamageScanner)](https://github.com/ElcoK/DamageScanner)
[![fair-software badge](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow)](https://fair-software.eu)
[![Documentation Status](https://readthedocs.org/projects/damagescanner/badge/?version=latest)](https://damagescanner.readthedocs.io/en/latest/?badge=latest) 
[![PyPI version](https://badge.fury.io/py/damagescanner.svg)](https://badge.fury.io/py/damagescanner) 
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2551015.svg)](https://doi.org/10.5281/zenodo.2551015) 
[![PyPI - Downloads](https://img.shields.io/pypi/dm/damagescanner?color=yellow&label=Downloads)](https://pypistats.org/packages/damagescanner)


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)](https://www.rivm.nl/bibliotheek/digitaaldepot/WL_rapport_Overstromingsrisicos_Nederland.pdf).  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
[![workflow pypi badge](https://img.shields.io/pypi/v/damagescanner.svg?colorB=blue)](https://pypi.python.org/project/damagescanner/)

**Requirements:** [NumPy](http://www.numpy.org/), [pandas](https://pandas.pydata.org/), [geopandas](http://geopandas.org/), [matplotlib](https://matplotlib.org/), [rasterio](https://github.com/mapbox/rasterio), [tqdm](https://github.com/tqdm/tqdm), 
[xarray](https://docs.xarray.dev/en/stable/), [pyproj](https://pyproj4.github.io/pyproj/stable/) 


1. Open the python environment in your command prompt or bash in which you want to install this package.
2. Type ``pip install damagescanner`` and it should install itself into your python environment.
3. Now you can import the package like any other package!

OR:

1. Clone the repository or download the package on your computer and extract the folder.
2. Go to the DamageScanner folder in your command prompt or bash.
3. Type ``python setup.py install`` and it should install itself into your python environment.
4. Now you can import the package like any other package!

## Create testing environment
Recommended option is to use a [miniconda](https://conda.io/miniconda.html)
environment to work in for this project, relying on conda to handle some of the
trickier library dependencies.

```bash

# 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
[![Documentation Status](https://readthedocs.org/projects/damagescanner/badge/?version=latest)](https://damagescanner.readthedocs.io/en/latest/?badge=latest) 

Please refer to the [ReadTheDocs](http://damagescanner.readthedocs.io/) 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](LICENSE).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "damagescanner",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "GIS,natural hazards,damage assessment,remote sensing,raster,vector,geospatial",
    "author": "",
    "author_email": "Elco Koks <elco.koks@vu.nl>",
    "download_url": "https://files.pythonhosted.org/packages/2d/83/bc20b686cf93013005e7d2fe4757a0ee3116f89e369b0a1790370eec65fb/damagescanner-0.7.tar.gz",
    "platform": null,
    "description": "# DamageScanner: direct damage assessments for natural hazards\n\n<img align=\"right\" width=\"200\" alt=\"Logo\" src=\"https://raw.githubusercontent.com/ElcoK/DamageScanner/master/doc/ds_logo.png\">\n\n\n[![github repo badge](https://img.shields.io/badge/github-repo-000.svg?logo=github&labelColor=gray&color=blue)](https://github.com/ElcoK/DamageScanner)\n[![github license badge](https://img.shields.io/github/license/ElcoK/DamageScanner)](https://github.com/ElcoK/DamageScanner)\n[![fair-software badge](https://img.shields.io/badge/fair--software.eu-%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8F%20%20%E2%97%8B-yellow)](https://fair-software.eu)\n[![Documentation Status](https://readthedocs.org/projects/damagescanner/badge/?version=latest)](https://damagescanner.readthedocs.io/en/latest/?badge=latest) \n[![PyPI version](https://badge.fury.io/py/damagescanner.svg)](https://badge.fury.io/py/damagescanner) \n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2551015.svg)](https://doi.org/10.5281/zenodo.2551015) \n[![PyPI - Downloads](https://img.shields.io/pypi/dm/damagescanner?color=yellow&label=Downloads)](https://pypistats.org/packages/damagescanner)\n\n\nA 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). \n\n**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*. \n\n## Background\nThis 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)](https://www.rivm.nl/bibliotheek/digitaaldepot/WL_rapport_Overstromingsrisicos_Nederland.pdf).  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. \n\n## Installation\n[![workflow pypi badge](https://img.shields.io/pypi/v/damagescanner.svg?colorB=blue)](https://pypi.python.org/project/damagescanner/)\n\n**Requirements:** [NumPy](http://www.numpy.org/), [pandas](https://pandas.pydata.org/), [geopandas](http://geopandas.org/), [matplotlib](https://matplotlib.org/), [rasterio](https://github.com/mapbox/rasterio), [tqdm](https://github.com/tqdm/tqdm), \n[xarray](https://docs.xarray.dev/en/stable/), [pyproj](https://pyproj4.github.io/pyproj/stable/) \n\n\n1. Open the python environment in your command prompt or bash in which you want to install this package.\n2. Type ``pip install damagescanner`` and it should install itself into your python environment.\n3. Now you can import the package like any other package!\n\nOR:\n\n1. Clone the repository or download the package on your computer and extract the folder.\n2. Go to the DamageScanner folder in your command prompt or bash.\n3. Type ``python setup.py install`` and it should install itself into your python environment.\n4. Now you can import the package like any other package!\n\n## Create testing environment\nRecommended option is to use a [miniconda](https://conda.io/miniconda.html)\nenvironment to work in for this project, relying on conda to handle some of the\ntrickier library dependencies.\n\n```bash\n\n# Add conda-forge channel for extra packages\nconda config --add channels conda-forge\n\n# Create a conda environment for the project and install packages\nconda env create -f environment.yml\nactivate ds_env\n\n```\n\n## Documentation\n[![Documentation Status](https://readthedocs.org/projects/damagescanner/badge/?version=latest)](https://damagescanner.readthedocs.io/en/latest/?badge=latest) \n\nPlease refer to the [ReadTheDocs](http://damagescanner.readthedocs.io/) of this project for the full documentation of all functions. \n\n## How to cite:\nIf you use the **DamageScanner** in your work, please cite the package directly:\n\n* Koks. E.E. (2022). DamageScanner: Python tool for natural hazard damage assessments. Zenodo. http://doi.org/10.5281/zenodo.2551015\n\nHere's an example BibTeX entry:\n\n        @misc{damagescannerPython,\n              author       = {Koks, E.E.},\n              title        = {DamageScanner: Python tool for natural hazard damage assessments},\n              year         = 2022,\n              doi          = {10.5281/zenodo.2551015},\n              url          = {http://doi.org/10.5281/zenodo.2551015}\n        }\n\n### License\nCopyright (C) 2022 Elco Koks. All versions released under the [MIT license](LICENSE).\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Direct damage assessments for natural hazards",
    "version": "0.7",
    "project_urls": {
        "Documentation": "https://damagescanner.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/ElcoK/DamageScanner"
    },
    "split_keywords": [
        "gis",
        "natural hazards",
        "damage assessment",
        "remote sensing",
        "raster",
        "vector",
        "geospatial"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "409266b115bb64ff1cdb964726a9d4736c2cb61ba9b2899285db5b7c24f221d0",
                "md5": "2370b07489da5cfe68d1dd9768692d02",
                "sha256": "c833b8457256083e12e69113fcf34e8a788121bfa6a01dc56b15d8d0e696df01"
            },
            "downloads": -1,
            "filename": "damagescanner-0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "2370b07489da5cfe68d1dd9768692d02",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 21235,
            "upload_time": "2023-12-15T14:50:49",
            "upload_time_iso_8601": "2023-12-15T14:50:49.863469Z",
            "url": "https://files.pythonhosted.org/packages/40/92/66b115bb64ff1cdb964726a9d4736c2cb61ba9b2899285db5b7c24f221d0/damagescanner-0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d83bc20b686cf93013005e7d2fe4757a0ee3116f89e369b0a1790370eec65fb",
                "md5": "6b447b79e4cc8d787b0e60a01e543432",
                "sha256": "f3abed7167e1c84b1dec3149c2c8bdf1916254ea75905045d4460a2fe78ead7e"
            },
            "downloads": -1,
            "filename": "damagescanner-0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "6b447b79e4cc8d787b0e60a01e543432",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 21211,
            "upload_time": "2023-12-15T14:50:50",
            "upload_time_iso_8601": "2023-12-15T14:50:50.961130Z",
            "url": "https://files.pythonhosted.org/packages/2d/83/bc20b686cf93013005e7d2fe4757a0ee3116f89e369b0a1790370eec65fb/damagescanner-0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-15 14:50:50",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ElcoK",
    "github_project": "DamageScanner",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "damagescanner"
}
        
Elapsed time: 0.35478s