Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

fabiosalvati/era5-east-africa

Domain:

climategeospatial

Record type:

datasetproject
Creator:
fab
Host:
# ERA5 East Africa Weekly Temperature-Anomaly Benchmark This repository contains a small benchmark project built from ERA5 reanalysis data over East Africa. The project starts from raw hourly GRIB files and builds a full preprocessing and evaluation pipeline. The benchmark task is simple: predict the class of the next week's temperature anomaly for each subregion from recent past anomalies in the same subregion. The point of the project is not to claim strong forecast skill. The point is to show that I can work with real geophysical data, build a clean preprocessing workflow, define a prediction task carefully, and evaluate simple models without leaking test information into the pipeline. ## Current state of the project The repository currently includes: - ERA5 data download - weekly gridded dataset construction - area-weighted weekly subregion temperature series - training-only weekly anomaly construction - supervised dataset construction for next-week prediction - a persistence baseline - a multinomial logistic-regression classifier - a ridge-regression model on the continuous anomaly target The persistence baseline remains the main reference benchmark. The two learned models are included as direct comparisons on the same held-out test year. ## Data Source: - ERA5 reanalysis, single levels Variable: - `2m_temperature` (`t2m`) Spatial domain: - East Africa - latitude: `15.0` to `-12.0` - longitude: `28.0` to `52.0` Time coverage: - `2019` to `2025` Native temporal resolution: - hourly Raw format: - GRIB ## What the pipeline does The workflow has seven main steps. ### 1. Download ERA5 data The script `download_data.py` downloads yearly ERA5 hourly `t2m` files for the East Africa domain and stores them in `data/raw/`. Output pattern: - `data/raw/era5_t2m_east_africa_hourly_YYYY-01_to_YYYY-12.grib` This step requires local CDS API access. ### 2. Build the weekly gridded dataset The script `build_weekly_gridded_dataset.py` loads the yearly GRIB fil …

Visit

github.com

Similar

Uchenna2000/ERA5-reanalysisERA5-Land selected indicators daily aggregates for Africa, 2016ERA5-Land selected indicators daily aggregates for Africa, 2017ERA5-Land selected indicators daily aggregates for Africa, 2019ERA5-Land selected indicators daily aggregates for Africa, 1983ERA5-Land selected indicators daily aggregates for Africa, 1978

Uchenna2000/ERA5-reanalysis

This code fetches era5 monthly averaged reanalysis temperature data from cds from 1994 till 2024 for

ERA5-Land selected indicators daily aggregates for Africa, 2016

This deposit contains NetCDF files with daily aggregates from Copernicus Era5-Land for eigh

ERA5-Land selected indicators daily aggregates for Africa, 2017

This deposit contains NetCDF files with daily aggregates from Copernicus Era5-Land for eigh

ERA5-Land selected indicators daily aggregates for Africa, 2019

This deposit contains NetCDF files with daily aggregates from Copernicus Era5-Land for eigh

ERA5-Land selected indicators daily aggregates for Africa, 1983

This deposit contains NetCDF files with daily aggregates from Copernicus Era5-Land for eigh

ERA5-Land selected indicators daily aggregates for Africa, 1978

This deposit contains NetCDF files with daily aggregates from Copernicus Era5-Land for eigh