This repository contains the workflow used to generate the Swiss drought monitoring blog and its associated figures.
Run:
analysis/download_meteoswiss_data.RThis script downloads and updates the meteorological datasets used throughout the analysis.
Run:
R/01_calc_pcwd.RThis script computes the precipitation minus potential evapotranspiration metrics and updates the corresponding figures.
Run:
R/02_swissEOVHI.RThis script downloads the latest available swissEO Vegetation Health Index (VHI) data, processes the data for the Bern region, and generates updated vegetation stress figures.
Open:
vignettes/drought_2026.qmd
The newly generated figures are automatically referenced in the document. Review all updated plots and adjust the text and interpretation where necessary to reflect current drought conditions.
Render the Quarto document:
quarto render vignettes/drought_2026.qmdor from R:
quarto::quarto_render("vignettes/drought_2026.qmd")The rendered blog will be written to the vignettes/ folder.
For a regular drought update:
- Run
analysis/download_meteoswiss_data.R - Run
R/01_calc_pcwd.R - Run
R/02_swissEOVHI.R - Review figures in
vignettes/drought_2026.qmd - Update the written interpretation
- Render the Quarto document
- Commit and push the updated figures and blog post