Extreme Weather Bench

Builds on the successful work of WeatherBench and introduces a set of high-impact weather events, spanning across multiple spatial and temporal scales and different parts of the weather spectrum.
https://github.com/brightbandtech/extremeweatherbench

Category: Atmosphere
Sub Category: Meteorological Observation and Forecast

Keywords

benchmarking meteorology

Last synced: about 11 hours ago
JSON representation

Repository metadata

Benchmarking of machine learning and numerical weather prediction (MLWP & NWP) models, with a focus on extreme events.

README.md

Extreme Weather Bench (EWB)

Documentation Status
DOI

Read our blog post here | Documentation

As AI weather models are growing in popularity, we need a standardized set of community driven tests that evaluate the models across a wide variety of high-impact hazards. Extreme Weather Bench (EWB) builds on the successful work of WeatherBench and introduces a set of high-impact weather events, spanning across multiple spatial and temporal scales and different parts of the weather spectrum. We provide data to use for testing, standard metrics for evaluation by forecasters worldwide for each of the phenomena, as well as impact-based metrics. EWB is a community system and will be adding additional phenomena, test cases and metrics in collaboration with the worldwide weather and forecast verification community.

Events

EWB has cases broken down by multiple event types within src/extremeweatherbench/data/events.yaml between 2020 and 2024. EWB case studies are documented here.

Available:

Event Type Number of Cases
🌇 Heat Waves 46
🧊 Freezes 14
🌀 Tropical Cyclones 98
☔️ Atmospheric Rivers 56
🌪️ Severe Convection 115
Total Cases 329

EWB paper and talks

  • AMS 2025 talk: 1
  • AMS 2026 talks: 1, 2
  • EWB paper is in preparation to be released soon

How do I suggest new data, metrics, or otherwise get involved?

We welcome your involvement! The success of a benchmark suite rests on community involvement and feedback. There are several ways to get involved:

  • Get involved in community discussion using the discussion board
  • Submit new code requests using the issues
  • Send us email at hello@brightband.com

Installing EWB

Currently, the easiest way to install EWB is using pip or uv:

$ pip install extremeweatherbench

# Or, add to an existing uv virtual environment
$ uv add extremeweatherbench

If you'd like to install the most recent updates to EWB:

$ pip install git+https://github.com/brightbandtech/ExtremeWeatherBench.git 

For extra installation options:

# For running the data prep modules:
$ pip install "extremeweatherbench[data-prep]"
$ uv add "extremeweatherbench[data-prep]"

How to Run EWB

Running EWB on sample data (included) is straightforward.

Using Jupyter Notebook or a Script:

import extremeweatherbench as ewb

# Load in a forecast; here, we load in GFS initialized FCNv2 from the CIRA MLWP archive with a default variable built-in for convenience
fcnv2_heatwave_forecast = ewb.defaults.cira_fcnv2_heatwave_forecast

# Load in ERA5 with another default convenience variable 
era5_heatwave_target = ewb.defaults.era5_heatwave_target

# EvaluationObjects are used to evaluate a single forecast source against a single target source with a defined event type. Event types are declared with each case. One or more metrics can be evaluated with each EvaluationObject.
heatwave_evaluation_list = [
    ewb.inputs.EvaluationObject(
        event_type="heat_wave",
        metric_list=[
            ewb.metrics.MaximumMeanAbsoluteError(),
            ewb.metrics.RootMeanSquaredError(),
            ewb.metrics.MaximumLowestMeanAbsoluteError(),
        ],
        target=era5_heatwave_target,
        forecast=fcnv2_heatwave_forecast,
    ),
]
# Load in the EWB default list of event cases
case_metadata = ewb.cases.load_ewb_events_yaml_into_case_list()

# Create the evaluation class, with cases and evaluation objects declared
ewb_instance = ewb.evaluation(
    case_metadata=case_metadata,
    evaluation_objects=heatwave_evaluation_list,
)

# Execute a parallel run and return the evaluation results as a pandas DataFrame
heatwave_outputs = ewb_instance.run_evaluation(
    parallel_config={'n_jobs':16} # Uses 16 jobs with the loky backend as default
)

# Save the results
heatwave_outputs.to_csv('heatwave_evaluation_results.csv')

Using command line initialization:

$ ewb --default

Note: this will run every event type, case, target source, and metric for the individual event type as they become available for GFS initialized FourCastNetv2. It is expected a full evaluation will take some time, even on a large VM.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 596
Total Committers: 4
Avg Commits per committer: 149.0
Development Distribution Score (DDS): 0.03

Commits in past year: 120
Committers in past year: 3
Avg Commits per committer in past year: 40.0
Development Distribution Score (DDS) in past year: 0.042

Name Email Commits
aaTman m****r@g****m 578
Amy McGovern a****n@o****u 12
Daniel Rothenberg d****l@d****m 4
Ummara Ali Syeda 8****2 2

Committer domains:


Issue and Pull Request metadata

Last synced: 6 days ago

Total issues: 69
Total pull requests: 207
Average time to close issues: about 2 months
Average time to close pull requests: 4 days
Total issue authors: 5
Total pull request authors: 7
Average comments per issue: 1.09
Average comments per pull request: 0.5
Merged pull request: 144
Bot issues: 0
Bot pull requests: 0

Past year issues: 30
Past year pull requests: 124
Past year average time to close issues: 3 months
Past year average time to close pull requests: 3 days
Past year issue authors: 3
Past year pull request authors: 6
Past year average comments per issue: 1.17
Past year average comments per pull request: 0.29
Past year merged pull request: 77
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/brightbandtech/extremeweatherbench

Top Issue Authors

  • aaTman (51)
  • amymcgovern (9)
  • darothen (5)
  • hansmohrmann (2)
  • alxmrs (2)

Top Pull Request Authors

  • aaTman (188)
  • amymcgovern (8)
  • darothen (5)
  • ummaraali2 (3)
  • ehargitt (1)
  • gideonite (1)
  • rodrigoalmeida94 (1)

Top Issue Labels

  • Improvement (7)
  • bug (3)
  • documentation (3)
  • enhancement (3)
  • Feature (2)
  • good first issue (2)
  • v1 (1)

Top Pull Request Labels


Package metadata

proxy.golang.org: github.com/brightbandtech/extremeweatherbench

proxy.golang.org: github.com/brightbandtech/ExtremeWeatherBench

pypi.org: extremeweatherbench

Benchmarking weather and weather AI models using extreme events

  • Homepage:
  • Documentation: https://extremeweatherbench.readthedocs.io/
  • Licenses: MIT License
  • Latest release: 1.0.2 (published about 1 month ago)
  • Last Synced: 2026-06-07T12:11:33.750Z (3 days ago)
  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 211 Last month
  • Rankings:
    • Dependent packages count: 7.872%
    • Average: 26.189%
    • Dependent repos count: 44.505%
  • Maintainers (1)

Dependencies

.github/workflows/ci.yaml actions
  • actions/checkout v4 composite
  • actions/checkout v3 composite
  • actions/setup-python v5 composite
  • actions/setup-python v3 composite
  • astral-sh/setup-uv v4 composite
  • pre-commit/action v3.0.1 composite
pyproject.toml pypi
  • cartopy >=0.24.1
  • cftime >=1.6.4.post1
  • dacite >=1.8.1
  • dask [complete]>=2024.12.1
  • fastparquet >=2024.11.0
  • gcsfs >=2024.12.0
  • geopandas >=1.0.1
  • h5py >=3.12.1
  • ipywidgets >=8.1.5
  • kerchunk >=0.2.7
  • numpy >=2.2.0
  • pandas >=2.2.3
  • pyyaml >=6.0.2
  • regionmask >=0.13.0
  • rioxarray >=0.18.1
  • s3fs >=2024.12.0
  • scikit-learn >=1.6.0
  • scores >=2.0.0
  • seaborn >=0.13.2
  • shapely >=2.0.6
  • tqdm >=4.67.1
  • ujson >=5.10.0
  • virtualizarr >=1.2.0
  • xarray >=2024.11.0
  • zarr >=2.18.4
uv.lock pypi
  • 157 dependencies

Score: 11.719614378212476