Skip to content

ewoken/electricity-analysis

Repository files navigation

Weather Analysis

Requirements

You can install the two last ones on MacOS and rest of dependancies by running ./scripts/install_mac.sh

You must have 10Gb available on your disk, big files of data are required later.

Get started

# create and activate virtual environment
virtualenv venv 
source venv/bin/activate

pip install -r requirements.txt

jupyter labextension install jupyterlab-plotly plotlywidget

# optional
./scripts/install_jupyterlab_extensions.sh

mkdir data

Now you can download data from Copernicus by registring and install your api key on your computer as described here and then running

python download.py

⚠️ Warning: it can be really long (more than 1 hour depending of your connection). You can also modify dowload.py to shorter requested data.

Last step, convert your downloaded .grib file into a Netcdf file quicker to open later by python convert.py

python convert.py

Finally you can run jupyterlab:

jupyter lab

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages