Awesome
Relative Elevation Model
Tutorial on creating a relative elevation model in Python using xarray and datashader.
Based on Creating REMs in QGIS with the IDW Method by Dan Coe.
Try it out
<h3 align="center"> 💧 <a href="https://mybinder.org/v2/gh/DahnJ/REM-xarray/HEAD?filepath=rem-in-xarray-tutorial.ipynb">Binder</a> 💧 <a href="https://colab.research.google.com/github/DahnJ/REM-xarray/blob/master/rem-in-xarray-tutorial.ipynb">Colab</a> 💧 <a href="https://nbviewer.org/github/DahnJ/REM-xarray/blob/master/rem-in-xarray-tutorial.ipynb">nbviewer</a> 💧 </h3>Run locally
Conda
conda env create -f environment.yaml
conda activate rem-tutorial
jupyter notebook
venv
python -m venv rem-tutorial
source rem-tutorial/bin/activate
pip install -r requirements.txt
jupyter notebook
Downloading the sample data
If you have git-lfs installed, the sample data gets cloned with this repository automatically.
Alternatively, you can follow the video on downloading the original raster data.
On Debian, Git LFS can be installed by
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
apt-get install git-lfs
git lfs install
Examples
REMs in other languages/tools
- QGIS by Dan Coe
- Google Earth Engine by Kel Markert
- RiverREM, a Python package for producing REMs automatically, by Kenneth Larrieu