Query dataset
query_datasetRaw time series from a specific dataset for specific variables at a point. Power-user access to any gridded product (NBM, HRRR, RRFS, GFS, RTMA, MRMS, air quality, ...). Time modes: hours (next N hours, default 24), time_start+time_end (explicit ISO-8601 window), or latest=true (single most-recent value). reference_time pins a specific model run, and each returned series reports the run that served it (reference_time, or reference_times when a series mixes runs) — check it before comparing two runs, since a run older than about 48 hours may no longer be available. For blended forecasts use get_forecast instead. Examples: {"location": "Denver", "dataset_id": "rrfs_surface", "variables": ["temperature_2m"], "hours": 18} or {"lat": 41.4, "lon": -92.9, "dataset_id": "rtma_conus", "variables": ["temperature_2m"], "latest": true}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in decimal degrees (-90 to 90). Most tools also accept a `location` place-name string instead of lat/lon. | |
| lon | No | Longitude in decimal degrees (-180 to 180). For continental US use negative values (west of the prime meridian). | |
| hours | No | Forecast/lookahead hours from now (1-264). Default 24 when no other time mode set. | |
| latest | No | Return only the most recent value (analysis datasets like RTMA/MRMS). | |
| location | No | Free-text place: city ("Denver"), city+state ("Portland, OR"), US ZIP ("50219"), or "lat,lon" ("39.74,-104.99"). Provide either this OR explicit lat+lon, not both. | |
| time_end | No | ISO 8601 window end (with time_start). | |
| variables | Yes | Standard variable names (e.g. temperature_2m, precipitation). Discover with describe_dataset. | |
| dataset_id | No | Dataset to query. Default: the NBM dataset for the location domain (nbm_conus/nbm_alaska/nbm_hawaii). Discover options with list_datasets. | |
| time_start | No | ISO 8601 window start (with time_end). | |
| reference_time | No | Pin a specific model run (ISO 8601). Default: latest run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| series | Yes | ||
| location | Yes |