Return to API Services </api/#json>.

Documentation for /json/state_ugc.json

This service returns a simple listing of NWS UGC codes associated with the given state code. Presently, this only returns those codes that are presently valid.

Changelog

  • 2024-08-12: Initial documentation update

Example Requests

Return any zone codes associated with Lake Michigan (LM).

https://mesonet.agron.iastate.edu/json/state_ugc.py?state=LM

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 JSONP callback function name
state string state indentifier