Avalanche danger in France

Avalanche danger in France

Visualization of geospatial data in Python using GeoPandas and Bokeh libraries. Which mountain ranges are the most dangerous in France for hikers and alpinists? This was my main question, because I recently moved to Grenoble which is basically french hiking paradise.

Which mountain ranges are the most dangerous in France for hikers and alpinists? This was my main question, because I recently moved to Grenoble which is basically french hiking paradise.

Unfortunately, only regional data I have found about mountain accidents where yearly**avalanche accidents from reports of _[_ANENA](https://www.anena.org/5041-bilan-des-accidents.htm#par42276) (organization for study of snow and avalanches in France) **divided by communes (small administrative units in France). This was the second best thing to mountain accidents grouped by mountain ranges, which I was unable to find, so as in poker or tetris I played the hand I was dealt and searched for shapefile of communes in France(luckily, official sources of french gouvernment did not let me down). These were only two pieces for my visualization “puzzle” I needed to start coding in Jupyter Notebook to create interactive map of avalanche accidents in France in last 10 years.

Don’t talk, just code

All files with source data and code in Jupyter notebook can be found in my GitHub repo Avalanche danger in France.

1) Installation

Assuming you have already standard Python libraries like Pandas and Numpy installed, for handling geospatial data and shapefiles I needed to add GeoPandas and Bokeh.

In my case (Windows with Anaconda) magical words for my command line were; conda install geopandas _and conda install bokeh, _as it is advised in documentation of GeoPandas and Bokeh libraries.

Image for post

Preview of final visualization depicting in colors commune with 1 - 30 avalanches in last 10 years in France and communes with no avalanches in grey

jupyter-notebook python bokeh france avalanche

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Rodrigo Senra - Jupyter Notebooks

Rodrigo Senra - Jupyter Notebooks - Olá pessoal e sejam bem-vindos à mais um episódio do Castálio Podcast! Nosso convidado de hoje é diretor técnico na Work & Co, PhD em Ciências da Computação, já contribuiu com inúmeros projetos open source em Python, ajudou a fundar a Associação Python Brasil e já foi premiado com o Prêmio …

Learn Python with Jupyter Notebook from Scratch

Python and Jupyter Notebooks for beginners: Learn Python with Jupyter Notebook from scratch. In this introductory beginners course we will learn about the basics of Python and Jupyter notebook. You'll learn: How to install Jupyter Notebook, How to run the Jupyter Notebook Server, Common Jupyter Commands, Python Expressions, Python Statements, Python Variables, Python Data Types, Python Operators, Python Loops, Python Functions, Jupyter Components, Notebook Dashboard, Explore Notebook Interface,....

How to Use Jupyter Notebook in 2020: A Beginner’s Tutorial

Use this tutorial to learn how to create your first Jupyter Notebook, important terminology, and how easily notebooks can be shared and published online. The Jupyter Notebook is an incredibly powerful tool for interactively developing and presenting data science projects. This article will walk you through how to use Jupyter Notebooks for data science projects and how to set it up on your local machine

Python Tricks Every Developer Should Know

In this tutorial, you’re going to learn a variety of Python tricks that you can use to write your Python code in a more readable and efficient way like a pro.

How to Remove all Duplicate Files on your Drive via Python

Today you're going to learn how to use Python programming in a way that can ultimately save a lot of space on your drive by removing all the duplicates. We gonna use Python OS remove( ) method to remove the duplicates on our drive. Well, that's simple you just call remove ( ) with a parameter of the name of the file you wanna remove done.