Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martibosch/swiss-urbanization
Materials to reproduce the paper "Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis"
https://github.com/martibosch/swiss-urbanization
complexity fractal-analysis land-use-and-land-cover-change landscape-metrics spatial-pattern urban-growth-patterns urban-scaling urbanization
Last synced: 4 days ago
JSON representation
Materials to reproduce the paper "Spatiotemporal patterns of urbanization in three Swiss urban agglomerations: insights from landscape metrics, growth modes and fractal analysis"
- Host: GitHub
- URL: https://github.com/martibosch/swiss-urbanization
- Owner: martibosch
- License: gpl-3.0
- Created: 2019-03-19T12:37:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-23T09:48:20.000Z (about 4 years ago)
- Last Synced: 2024-06-11T16:31:31.695Z (7 months ago)
- Topics: complexity, fractal-analysis, land-use-and-land-cover-change, landscape-metrics, spatial-pattern, urban-growth-patterns, urban-scaling, urbanization
- Language: Jupyter Notebook
- Homepage: https://doi.org/10.1007/s10980-020-00985-y
- Size: 6.87 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/martibosch/swiss-urbanization.svg?branch=master)](https://travis-ci.org/martibosch/swiss-urbanization)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martibosch/swiss-urbanization/master?filepath=notebooks)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](https://doi.org/10.1007/s10980-020-00985-y)
![Example figure](figure.png)
## Instructions to reproduce
### Option 1: via MyBinder
Click the badge below, which will use [MyBinder](https://mybinder.org/) to launch a server with a Jupyter executable environment:
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/martibosch/swiss-urbanization/master?filepath=notebooks)
### Option 2: locally
1. Clone the repository and change directory to the repository's root:
```bash
git clone https://github.com/martibosch/swiss-urbanization
cd swiss-urbanization
```2. Create the environment (this requires conda) and activate it:
```bash
conda env create --name swiss-urbanization -f environment.yml
# the above command creates a conda environment named `swiss-urbanization`
conda activate swiss-urbanization
```3. Register the IPython kernel of the `swiss-urbanization` environment
```bash
python -m ipykernel install --user --name swiss-urbanization --display-name "Python (swiss-urbanization)"
```4. Now you might use `make` to generate all the figures in the directory `reports/figures` as in:
```bash
make figures
```or instead launch Jupyter as in:
```bash
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](https://github.com/matplotlib/basemap/pull/454).
------------------------------
Project based on the cookiecutter data science project template. #cookiecutterdatascience