aqs_sample_data_by_site
Retrieve raw air quality measurements from a specific monitoring site, including time, values, units, and quality flags for parameters like ozone or PM2.5. Limit date ranges to manage data size effectively.
Instructions
Get raw sample data for a specific monitoring site. WARNING: Sample data can be very large. Strongly recommend limiting date ranges to one week or one month. Returns individual sample measurements including time, value, units, and quality flags.
Input 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. | |
| state | Yes | Two-digit FIPS state code (e.g., "06" for California, "36" for New York). | |
| county | Yes | Three-digit FIPS county code (e.g., "037" for Los Angeles County). | |
| site | Yes | Four-digit site code identifying the specific monitoring location. |