aboutsummaryrefslogtreecommitdiff
path: root/Readme.md
blob: 034b61cfe9a4f50475c7eaea8f1a3cce390eeff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# meteo toolbox

This projects aims to provide a declarative frontend to create weather charts from a variety of sources.
It mainly builds upon [MetPy](https://unidata.github.io/MetPy/latest/index.html),
[Xarray](https://docs.xarray.dev) and [cfgrib](https://github.com/ecmwf/cfgrib).

## Requirements

This project depends on the [ecCodes](https://confluence.ecmwf.int/display/ECC/ecCodes+Home) tools,
as well as some Python libraries.

The former can be installed with `pip install -r requirements.txt`.

*ecCodes* is available in the [Arch User Repository](https://aur.archlinux.org/packages/eccodes).

## Usage

A configuration file is needed to run.
It defines datasources, as well as plots to create.

See the included `config.yaml` for an example configuration.

To trigger chart generation, execute `run.py`.

## Data Sources

Currently, only the *DWD* models *ICON*, *ICON-EU* and *ICON-D2* are supported via the [DWD OpenData site](https://opendata.dwd.de/weather/nwp/).
I plan to extend that to at least [ECMWF OpenData](https://www.ecmwf.int/en/forecasts/datasets/open-data)
and the *University of Wyoming* [Atmospheric Science Radiosonde Archive](http://weather.uwyo.edu/upperair/bufrraob.shtml).

It is my goal to make every plotter work with as many data sources as possible,
to enable the parallel usage of as many datasources as possible.

## notes

https://matplotlib.org/3.1.1/gallery/color/colormap_reference.html
https://unidata.github.io/MetPy/v1.0/api/generated/metpy.plots.ctables.html