Check the Setup
- Python 3.10 or newer
- An internet connection
- The requests Python package
NOAA's operational high-resolution smoke-concentration forecast for building dated regional exposure context tools.
Report a ProblemFrom Source to Product Signal
NOAA publishes HRRR-Smoke MASSDEN at 8 m above ground in GRIB2 through NOMADS. Start with a one-degree area and one completed cycle. This is modeled smoke mass concentration, not a monitor reading, and the GRIB values need unit conversion.
Install the packages, then run the notebook cell.
python -m pip install requests
from datetime import datetime, timedelta, timezone
import requests
run = datetime.now(timezone.utc) - timedelta(hours=5)
day, hour = run.strftime("%Y%m%d"), run.strftime("%H")
params = {
"file": f"hrrr.t{hour}z.wrfsfcf00.grib2",
"lev_8_m_above_ground": "on", "var_MASSDEN": "on",
"subregion": "", "leftlon": "-106", "rightlon": "-105",
"toplat": "40", "bottomlat": "39", "dir": f"/hrrr.{day}/conus",
}
response = requests.get(
"https://nomads.ncep.noaa.gov/cgi-bin/filter_hrrr_2d.pl",
params=params, timeout=30,
)
response.raise_for_status()
assert response.content.startswith(b"GRIB")
print(day, hour, len(response.content), "GRIB2 bytes")Test a Useful Signal
Inspect one forecast cycle before displaying model smoke context.
National Oceanic and Atmospheric Administration is a government source. Last verified 2026-09-28. Temporal coverage: hourly forecast cycles with dated forecast hours.