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.

This notebook demonstrates how to download and work with GRIB2 forecast files from the Spire Weather API.

List Available Files

Parse File Names

Understanding the file naming convention:

Filter Files

Download a Single File

Download Multiple Files

Read GRIB2 with xarray

Requires: cfgrib and eccodes

Explore Dataset Variables

Get Latest Files

Cleanup

Next Steps