GE-RGBA Group, Departement of Earth Science, University of Geneva
During this tutorial, it will be shown how to use python to process and visualize a dataset consisting of geothermal probes availability in the Canton of Geneva. This dataset can be obtained (open access) through the SITG (Système d’Information du Territoire à Genève). We will cover these aspects:
- Load the geothermal probes dataset.
- Convert CRS coordinate system with pyproj
- Extract depth information form attributes
- Visualizing the results with pydeck
Info | |
---|---|
When | Friday, October 1st • 12:30 - 13:00 |
Live stream | Registration mandatory - Under this link |
conda environment | DST-geothermal-visual |
Documentation | deck.gl |
If you want to follow along the tutorial, make sure you've done these steps before the tutorial begin:
Install a Python distribution:
In this tutorial we will be using the Anaconda
Python distribution along with the conda
package manager. If you already have
Anaconda or Miniconda installed, you can skip this step.
If not, please follow the instructions for getting Anaconda up and running in your system: https://docs.anaconda.com/anaconda/install/
Create the DST-geothermal-visual
conda environment:
- Clone this repository;
- Open a terminal (Anaconda Prompt if you are running Windows). The following steps should be done in the terminal;
- Navigate to the folder that has been cloned (if you don't know how to do this, take a moment to read the Software Carpentry lesson on the Unix shell);
- Create the conda environment by running
conda create -n DST-geothermal-visual
(this will download and install all of the packages used in the tutorial); - Windows users: Make sure you set a default browser that is not Internet Explorer;
- Installing
pip
in the new environment:conda install -n DST-geothermal-visual pip
; - Activate the conda environment:
conda activate DST-geothermal-visual
; - Installing packages to run the tutorial:
pip install ipython pandas numpy matplotlib pyproj pydeck jupyterlab
; - Create a new kernel for this environment environment:
ipython kernel install --user --name=DST-geothermal-visual
; - Start the JupyterLab server:
jupyter lab
; - Open the
Visual analyisis of geothermal probes with pydeck.ipynb
to follow the tutorial or a new fresh Notebook if you want to start form scratch. Be sure the kernel is set toDST-geothermal-visual
; - Feel free to open an issue if you have some problem during the installation or during the tutorial.
A blog post about this tutorial can be found here.