Giter Club home page Giter Club logo

lausanne-greening-scenarios's Introduction

GitHub license DOI

Lausanne greening scenarios

Spatially-explicit simulation of urban heat mitigation by increasing the tree canopy cover in Lausanne

Citation: Bosch, M., Locatelli, M., Hamel, P., Jaligot, R., Chenal, J., and Joost, S. 2020. "Evaluating urban greening scenarios for urban heat mitigation: a spatially-explicit approach". Royal Society Open Science 8(12): 202174. 10.1098/rsos.202174

LULC change maps Temperature maps Heat mitigation maps

Instructions to reproduce

The computational workflow to reproduce the results makes use of a Makefile which orchestrates the execution of all the steps to transform the raw data into tables and figures1. To reproduce the computational workflow in your computer, you can follow the steps below:

  1. Clone the repository and change the working directory to the repository's root:
git clone https://github.com/martibosch/lausanne-greening-scenarios
cd lausanne-greening-scenarios
  1. Create the environment (this requires conda) and activate it:
conda env create -f environment.yml
# the above command creates a conda environment named `lausanne-greening-scenarios`
conda activate lausanne-greening-scenarios
  1. Register the IPython kernel of the lausanne-greening-scenarios environment:
python -m ipykernel install --user --name lausanne-greening-scenarios --display-name \
    "Python (lausanne-greening-scenarios)"
  1. You can use make to download the data data required to reproduce the results (which is available at a dedicated Zenodo repository) as in:
make download_zenodo_data
  1. Finally, you can launch a Jupyter Notebook server and generate the tables and figures interactively by executing the notebooks of the notebooks directory. The first cell of each notebook features a call to a target of the Makefile, which will download and process all the data required to execute the subsequent cells. The following notebooks are provided:

Notes

  1. Many of the datasets used here are open and therefore all the processing steps can be reproduced by anyone. However, some other datasets are proprietary and thus cannot be shared openly. In the latter case, in order to allow the maximum reproducibility of our results, the following interim files are provided:

    • station-t.csv: temperature measurements at the monitoring stations for the reference date (i.e., 27/07/2018)
    • ref-et.tif: reference evapotranspiration raster for the reference date (i.e., 27/07/2018)
    • bldg-cover.tif: raster with the percentage of building cover in each pixel of the Lausanne agglomeration

    The sources for the first two files are detailed at the Zenodo repository for this paper, whereas the source of bldg-cover.tif is detailed at 10.5281/zenodo.4314832. If you use these files, their sources must be properly acknowledged.

See also

Acknowledgments

lausanne-greening-scenarios's People

Contributors

martibosch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.