Return to API Services
Documentation for /json/spc_bysize.py
This service emits unofficial IEM accounting of SPC outlooks sorted by size. This service is great at finding problems in the IEM archive :( Attempts are made to generate links to the SPC website, to confirm the entries listed.
Changelog
- 2025-04-07: Added sort={asc|desc} to control sort order.
- 2024-08-14: Documentation Update
Example Requests
Get the largest day 3 slight risks since 2020
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 |
|---|---|---|
| callback | string or null | Legacy JSON-P style callback. It is likely best to not depend on this usage. The IEM website has a permissive CORS. |
| category | string | SPC outlook category |
| day | integer (required) | SPC outlook day to query |
| sort | string | how to sort the results, |
| syear | integer | Inclusive start year to query |
| threshold | string (required) | SPC outlook threshold to query |