Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Data Fusion: M2HATS Wind Profiler vs. ERA5

Authors
Affiliations
NSF NCAR
NSF NCAR
NSF NCAR
GDEX Cookbook logo

Overview

Data fusion — bringing two independent datasets onto a common grid so they can be compared — is a routine but powerful step in geoscience. Here we compare wind observations from a field campaign against ERA5 reanalysis.

The M2HATS (Multi-point Monin–Obukhov Similarity Horizontal Array Turbulence Study) campaign collected 30-minute winds from a 449 MHz radar wind profiler. GDEX hosts both the profiler data and co-located ERA5 (re-gridded onto height levels) as Zarr stores in dataset d121499.

  1. Open the observation and reanalysis Zarr stores from GDEX

  2. Align the profiler onto the ERA5 time grid

  3. Compare wind components with scatter plots and correlation

  4. Attribute the differences by day, hour, and height

Prerequisites

ConceptsImportanceNotes
xarrayNecessaryAlignment and interpolation
zarr ≥ 3NecessaryThe stores are Zarr v3
pandasHelpfulGrouping for the error breakdown
OSDF CookbookHelpfulStreaming over OSDF
  • Time to learn: 30 minutes


Imports

Loading the datasets

Dataset d121499 holds both the 449 MHz profiler winds and ERA5 (re-gridded to the profiler’s height levels) as Zarr stores. We stream both over OSDF.

Loading...

Aligning the datasets

The profiler reports every 30 minutes while ERA5 is hourly. Interpolating the profiler onto the ERA5 time grid puts both on identical time and height coordinates — the step that makes a point-by-point comparison meaningful.

Comparing wind components

We scatter each profiler wind component against ERA5 over the whole campaign. Points near the x = y line indicate agreement; r and R² quantify it.

Fetching long content....
<Figure size 1800x600 with 3 Axes>

The horizontal components (u_wind, v_wind) track the x = y line closely with high R² — ERA5 represents them well. The vertical wind (w_wind) scatters far more, a known limitation of reanalysis for small-scale vertical motion.

Attributing the differences

Where do the two diverge? We break the mean absolute error (MAE) down by day, hour of day, and height — for wind speed, direction, and vertical wind. Wind direction uses a circular difference so the 0°/360° wrap doesn’t inflate the error.

The breakdown localizes the disagreement: wind-speed MAE spikes on 20–21 Aug 2023, coinciding with the passage of Tropical Storm Hilary; there’s a diurnal signal by hour; and error grows with height. This is exactly the payoff of fusing the two datasets — the comparison points to when and where to look closer.


Summary

We fused two GDEX datasets — 449 MHz profiler observations and ERA5 reanalysis — from a single campaign dataset, aligned them onto a common time/height grid, and compared wind components with scatter plots and an MAE breakdown by day, hour, and height. The same recipe (open → align → compare → attribute) generalizes to any obs-vs-model or model-vs-model comparison on GDEX.

What’s next?

This rounds out the workflow series. Feel free to open a pull request and contribute a new workflow!