aqs_sample_data_by_box
Retrieve air quality sample measurements from EPA monitoring sites within a specified geographic bounding box and date range for analysis.
Instructions
Get raw sample data for all monitoring sites within a geographic bounding box. WARNING: Sample data can be very large depending on box size. Strongly recommend limiting date ranges to one week or one month. Returns individual sample measurements from all sites within the specified coordinates.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address for API authentication. Optional if AQS_EMAIL environment variable is set. | ||
| key | No | API key for authentication. Optional if AQS_API_KEY environment variable is set. | |
| param | Yes | Parameter code (e.g., 44201 for Ozone, 88101 for PM2.5, 42401 for SO2, 42101 for CO, 42602 for NO2, 81102 for PM10). | |
| bdate | Yes | Begin date in YYYYMMDD format. Must be in the same calendar year as edate. | |
| edate | Yes | End date in YYYYMMDD format. Must be in the same calendar year as bdate. | |
| minlat | Yes | Minimum latitude of bounding box (decimal degrees, e.g., "33.0"). | |
| maxlat | Yes | Maximum latitude of bounding box (decimal degrees, e.g., "34.5"). | |
| minlon | Yes | Minimum longitude of bounding box (decimal degrees, e.g., "-118.5"). | |
| maxlon | Yes | Maximum longitude of bounding box (decimal degrees, e.g., "-117.0"). |