Skip to content

Materials to reproduce the paper "Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis"

License

Notifications You must be signed in to change notification settings

martibosch/swiss-urbanization

Repository files navigation

Build Status Binder

Spatiotemporal patterns of urbanization in Switzerland

Materials to reproduce the article:

Bosch M., Jaligot R., Chenal J. 2020. "Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis". Landscape ecology. 10.1007/s10980-020-00985-y

Example figure

Instructions to reproduce

Option 1: via MyBinder

Click the badge below, which will use MyBinder to launch a server with a Jupyter executable environment:

Binder

Option 2: locally

  1. Clone the repository and change directory to the repository's root:
git clone https://github.com/martibosch/swiss-urbanization
cd swiss-urbanization
  1. Create the environment (this requires conda) and activate it:
conda env create --name swiss-urbanization -f environment.yml
# the above command creates a conda environment named `swiss-urbanization`
conda activate swiss-urbanization
  1. Register the IPython kernel of the swiss-urbanization environment
python -m ipykernel install --user --name swiss-urbanization --display-name "Python (swiss-urbanization)"
  1. Now you might use make to generate all the figures in the directory reports/figures as in:
make figures

or instead launch Jupyter as in:

jupyter-notebook

and generate the figures interactively by executing the notebooks of the notebooks directory.

Important note

The landscape_plots.pdf figure cannot be reproduced with the current environment (see the file environment.yml) because of the incompatibility between the basemap installed from conda-forge and pyproj 2.0.


Project based on the cookiecutter data science project template. #cookiecutterdatascience

About

Materials to reproduce the paper "Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis"

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published