Skip to main content

CLIMADA in Python

Project description

DOI Build Status Documentation build status

CLIMADA

CLIMADA stands for CLIMate ADAptation and is a probabilistic natural catastrophe impact model, that also calculates averted damage (benefit) thanks to adaptation measures of any kind (from grey to green infrastructure, behavioural, etc.).

As of today, CLIMADA provides global coverage of major climate-related extreme-weather hazards at high resolution via a data API, namely (i) tropical cyclones, (ii) river flood, (iii) agro drought and (iv) European winter storms, all at 4km spatial resolution - wildfire to be added soon. For all hazards, historic and probabilistic event sets exist, for some also under select climate forcing scenarios (RCPs) at distinct time horizons (e.g. 2040). See also papers for details.

CLIMADA is divided into two parts (two repositories):

  1. the core climada_python contains all the modules necessary for the probabilistic impact, the averted damage, uncertainty and forecast calculations. Data for hazard, exposures and impact functions can be obtained from the data API. Litpop is included as demo Exposures module, and Tropical cyclones is included as a demo Hazard module.
  2. the petals climada_petals contains all the modules for generating data (e.g., TC_Surge, WildFire, OpenStreeMap, ...). Most development is done here. The petals builds-upon the core and does not work as a stand-alone.

It is recommend for new users to begin with the core (1) and the tutorials therein.

This is the Python (3.8+) version of CLIMADA - please see https://github.com/davidnbresch/climada for backward compatibility (MATLAB).

Getting started

CLIMADA runs on Windows, macOS and Linux. It can be installed from sources or - in case of climada_python - directly with pip. See the installation guide for instructions.

Follow the tutorial climada_python-x.y.z/doc/tutorial/1_main_climada.ipynb in a Jupyter Notebook to see what can be done with CLIMADA and how.

Documentation

Documentation is available on Read the Docs:

Note that all the documentations has two versions,'latest' and 'stable', and explicit version numbers, such as 'v3.1.1', in the url path. 'latest' is created from the 'develop' branch and has the latest changes by developers, 'stable' from the latest release. For more details about documentation versions, please have a look at here.

CLIMADA python:

CLIMADA petals:

Citing CLIMADA

If you use CLIMADA please cite (in general, in particular for academic work) :

The used version

and/or the following published articles:

Aznar-Siguan, G. and Bresch, D. N., 2019: CLIMADA v1: a global weather and climate risk assessment platform, Geosci. Model Dev., 12, 3085–3097, https://doi.org/10.5194/gmd-12-3085-2019

Bresch, D. N. and Aznar-Siguan, G., 2021: CLIMADA v1.4.1: towards a globally consistent adaptation options appraisal tool, Geosci. Model Dev., 14, 351-363, https://doi.org/10.5194/gmd-14-351-2021

Please see all CLIMADA-related scientific publications in our repository of scientific publications and cite according to your use of select features, be it hazard set(s), exposure(s) ...

In presentations or other graphical material, as well as in reports etc., where applicable, please add the logo as follows:

As key link, please use https://wcr.ethz.ch/research/climada.html, as it will last and provides a bit of an intro, especially for those not familiar with GitHub - plus a nice CLIMADA infographic towards the bottom of the page

Contributing

To contribute follow these steps:

  1. Fork the project on GitHub.
  2. Create a local clone of the develop branch (git clone https://github.com/YOUR-USERNAME/climada_python.git -b develop)
  3. Install the packages in climada_python/requirements/env_climada.yml and climada_python/requirements/env_developer.yml.
  4. Make well commented and clean commits to your repository.
  5. Make unit and integration tests on your code, preferably during development.
  6. Perform a static code analysis of your code with CLIMADA's configuration .pylintrc.
  7. Add your name to the AUTHORS file.
  8. Push the changes to GitHub (git push origin develop).
  9. On GitHub, create a new pull request onto the develop branch of CLIMADA-project/climada_python.

See our developer guide for more information.

Versioning

We use SemVer for versioning. For the versions available, see the releases on this repository.

License

Copyright (C) 2017 ETH Zurich, CLIMADA contributors listed in AUTHORS.

CLIMADA is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3, 29 June 2007 as published by the Free Software Foundation, https://www.gnu.org/licenses/gpl-3.0.html

CLIMADA 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 General Public License for more details: https://www.gnu.org/licenses/gpl-3.0.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

climada-3.2.0.tar.gz (8.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

climada-3.2.0-py3-none-any.whl (9.0 MB view details)

Uploaded Python 3

File details

Details for the file climada-3.2.0.tar.gz.

File metadata

  • Download URL: climada-3.2.0.tar.gz
  • Upload date:
  • Size: 8.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for climada-3.2.0.tar.gz
Algorithm Hash digest
SHA256 0025abe1a5c911561558a70c2906a3962ed29d86a5ff7454b8cc09dee5458270
MD5 0e0aabf97c9ade3987f83acef71e93de
BLAKE2b-256 24b81efa5c8d5681acd146fb1c5a6920efa1d7e5e3f90f2c6cf8664e948a9978

See more details on using hashes here.

File details

Details for the file climada-3.2.0-py3-none-any.whl.

File metadata

  • Download URL: climada-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 9.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for climada-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4349cd867891b1ff61d5fad72cd0f18832e1c3af7fae55ec29d885e34cfcd83c
MD5 6fce066eef655ad5bc25cb1f50c57505
BLAKE2b-256 16b28fc2fef0f2dff7e07ce17a4a8a9d8e2e461acef5a4e30c5a207d598f46bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page