Return to API Services.

Documentation for /json/spcoutlook.py

This service provides access to the Storm Prediction Center's Convective Outlook products. The service is designed to be called with a latitude and longitude point.

Changelog

  • 2024-07-09: Add csv and excel output formats
  • 2024-07-17: Fix problems with CSV and Excel output, sigh.

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
fmt string The format to return data in, either json, excel, or csv
callback string JSONP Callback Name
lat number Latitude of point in decimal degrees
lon number Longitude of point in decimal degrees
last integer Limit to last N outlooks, 0 for all
day integer Day to query for, 1-8
time string Optional specification for a valid timestamp to query outlooks for. This is either a ISO8601 timestamp or 'current' for now.
cat string Categorical or probabilistic