Return to API Services. This service is the backend for the COOP Obs Download frontend.
Documentation for /cgi-bin/request/coopobs.py
This service emits the raw COOP observations without much IEM processing. If you request _ALL stations for a state or more than 10 stations, you are limited to one calendar year of data.
Changelog
- 2025-02-22: Initial implementation
Example Usage
Fetch the COOP observations for Iowa on 22 October 2024 in CSV format:
Same request, but view the data instead of downloading it:
Download the COOP observations for Ames, IA on 22 October 2024 in CSV format:
CGI Arguments
The following table lists the CGI arguments that are accepted by this service. A HTTP GET request is required. Fields of type Multi-Params or CSV value can accept either a comma separated list or multiple parameter and value combinations. For example, ?foo=1&foo=2 is equivalent to ?foo=1,2.
| Field | Type | Description |
|---|---|---|
| delim | string | The delimiter to use in the output file. Options: comma, tab, space |
| network | string (required) | IEM network identifier. Typically a combination of a US state abbreviation and a network classification, ie IA_ASOS. |
| stations | Multi-Params or CSV value (required) | Either provide a single value, multiple parameters each with a single value, or a comma-separated list of values. The context here is a list of station identifiers. All lowercase letters are converted to uppercase. |
| what | string | The type of output to generate. |
| sts | string | The starting date for the data request. |
| ets | string | The ending date for the data request. |
| year1 | integer | The starting year for the data request. |
| month1 | integer | The starting month for the data request. |
| day1 | integer or null | Day of the month |
| year2 | integer | The ending year for the data request. |
| month2 | integer | The ending month for the data request. |
| day2 | integer or null | Day of the month |