rezw4n / Drought-Monitor

A repository containing all the file and notebooks I used to visualize the spread of Drought across the U.S.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drought-Monitor

This repository includes all my notebooks and data from U.S. Drought Monitor that I used to visualize Spread of Drought in U.S.

Drought Severity in USA

To get started, clone this repository with git clone https://github.com/rezw4n/Drought-Monitor.git

cd Drought-Monitor

Requirements

Geopandas, Pandas and Matplotlib library is required to run the notebook.

Setting up

I would suggest to use a new conda environment and install the libraries as Geopandas comes with a lot of dependencies that throws error if you try to install with pip. To do this, first open your anaconda prompt and then:

Create a new environment:
conda create --name "Name of your environment"

Activate your environment:
conda activate "Name of your environment"

Install the packages:
conda install --channel conda-forge geopandas //This should install all the required packages including gdal, matplotlib, pandas etc.
conda install -c conda-forge jupyterlab // For installing Jupyter Lab

Now just open a Jupyter Lab instance with jupyter lab in the anaconda prompt and play around with the notebook.

Later I combined all the plots into a gif file with the Pillow library, added title and legend.

About

A repository containing all the file and notebooks I used to visualize the spread of Drought across the U.S.


Languages

Language:Jupyter Notebook 100.0%