Skip to content

gaia-hazlab/gaia-data-downloader

v0.1.0BSD-3-Clause

Generate and develop hydroclimatological data download scripts for GAIA geoscience research

GAIA Data Downloader Plugin

Generate and develop hydroclimatological data download scripts for the GAIA project.

Note

Client-specific parts: this plugin's agents are written for Claude Code. Cursor and Antigravity CLI load them too, but GitHub Copilot, Codex and OpenCode don't. Its skills follow the Agent Skills format and work in all of these clients. See Installing the plugins in uw-ssec/savvy for what each client loads.

Overview

Ported from uw-ssec/savvy at commit e1084bb (2026-11-20), where it was listed as unreleased. It keeps its BSD-3-Clause license.

This Claude Code plugin encapsulates knowledge from the gaia-data-downloaders repository — 18 Jupyter notebooks implementing reproducible data download pipelines for 10+ environmental data sources. It provides:

  • Data Downloader Agent — Generates complete download scripts from natural language prompts
  • Download Script Dev Skill — Assists in developing and debugging download scripts

Supported Data Sources

SourceTypeDescription
CONUS404Weather reanalysis4 km daily/hourly historical weather (USGS)
HRRRWeather model3 km hourly rapid refresh forecasts (NOAA)
WRF-CMIP6Climate projectionsDynamically downscaled CMIP6 scenarios
PRISMClimate normals4 km daily/monthly climate data
Stage IVPrecipitationMulti-sensor precipitation analysis
USGSStreamflowReal-time and historical stream gage data
ORNL DAYMETSurface weather1 km daily weather for North America
DEM/SRTMElevation30-90 m global elevation data
SynopticWeather stationsReal-time weather station observations
IRISSeismicSeismic waveform data (FDSN)

Installation

Claude Code (via the gaia-skills marketplace)

claude plugin marketplace add gaia-hazlab/gaia-skills
claude plugin install gaia-data-downloader@gaia-skills

For local development:

claude --plugin-dir ./community-plugins/gaia-data-downloader

GitHub Copilot CLI

# Add marketplace
copilot plugin marketplace add gaia-hazlab/gaia-skills

# Install plugin
copilot plugin install gaia-data-downloader@gaia-skills

Or install directly:

copilot plugin install gaia-hazlab/gaia-skills:community-plugins/gaia-data-downloader

Usage

Agent: Generate a Download Script

The agent uses a three-phase interaction to ensure scientists have full control over parameters:

1. Describe what you need:

Download HRRR temperature and wind data for the Skagit watershed, January 2024

2. Review the proposed configuration:

Source: HRRR
Model: hrrr
Product: sfc
Date Range: 2024-01-01 to 2024-01-31
Parameters:
  TMP:2 m → temperature_2m
  UGRD:10 m → u_wind_10m
  VGRD:10 m → v_wind_10m
AOI: ../data/GIS/SkagitBoundary.json
Output: ../data/weather_data/hrrr_skagit_202401.zarr
Max Workers: 8
Estimated size: ~2.5 GB

Would you like to adjust any parameters?

3. Adjust and generate:

Add precipitation. Change frequency to 6h. Reduce workers to 4.

The agent generates a Python script with all parameters in a CONFIG dict at the top.

Skill: Develop a Script

Invoke the skill when developing or debugging download scripts:

/gaia-data-downloader:download-script-dev

The skill provides templates, configuration validation, and debugging guidance for all supported data sources.

Prerequisites

  • Python 3.9+ with xarray, geopandas, rioxarray
  • Source-specific: herbie-data (HRRR), pyPRISMClimate (PRISM), obspy (IRIS), boto3 (WRF/S3), s3fs (CONUS404)
  • System: wgrib2 for HRRR (install via conda-forge)
  • Credentials: NASA Earthdata .netrc for ORNL, SYNOPTIC_API_TOKEN env var for Synoptic

License

BSD-3-Clause