IFS forecast maps for the North Atlantic, rebuilt twice a day by GitHub Actions and published on GitHub Pages.
Scripts/
Retrieve_ECMWF_OpenData.py download only the IFS fields the maps need (+ meteogram)
Retrieve_Forecast.bash runs the above, then fetches the DWD charts
build_site.py renders all maps in parallel and writes ../site/
site_template.html page layout and viewer (the build fills in the data)
Synoptic_Overview.ipynb notebook for trying out new maps
Data/ downloads (not committed)
site/ generated website (not committed)
requirements.txt packages for the GitHub build
.github/workflows/pages.yml schedule: download -> build -> publish
A quick check runs every 15 min.
It compares the newest IFS run that is complete to +168 h with img/run.txt on
the live site, and only rebuilds when they differ.
cd Scripts
CONDA_ENV=<your-env> bash Retrieve_Forecast.bash # or activate the env yourself first
python build_site.py # or: --products ReTop --workers 4
python -m http.server -d ../site # open http://localhost:8000While working on the page or one map, skip re-rendering what's already there:
python build_site.py --local # reuse existing maps, render only missing ones
python build_site.py --local --redo ReTop # ...and re-render ReTop after changing itMaps are only reused if they come from the same IFS run as Data/; after a new
download everything is rendered again.
- Write
render_MyMap(frame, stamp, fc_step)inbuild_site.py(try it in the notebook first). - Add an entry to
PRODUCTSinbuild_site.py. - If it needs new fields or levels, add them to
PL_FIELDS/SFC_FIELDSinRetrieve_ECMWF_OpenData.py.