Return to API Services

Documentation for /json/vtec_events.py

This provides metadata on VTEC events for a given WFO and year.

Changelog

  • 2025-01-10: Support providing all events for a given year and wfo.
  • 2024-08-08: Migration to pydantic validation

Example Usage

Provide all NWS Des Moines VTEC events for 2024.

https://mesonet.agron.iastate.edu/json/vtec_events.py?wfo=DMX&year=2024

Provide all NWS Des Moines Tornado Warnings for 2024:

https://mesonet.agron.iastate.edu/json/vtec_events.py?wfo=DMX&year=2024&phenomena=TO&significance=W

Provide all SV, TO, FF, MA events for NWS Des Moines in 2024 in csv format:

https://mesonet.agron.iastate.edu/json/vtec_events.py?wfo=DMX&year=2024&combo=1&fmt=csv

Provide all 2024 tornado warnings for NWS Des Moines in xlsx format:

https://mesonet.agron.iastate.edu/json/vtec_events.py?wfo=DMX&year=2024&phenomena=TO&significance=W&fmt=xlsx

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 optional JSONP callback
combo boolean Special one-off to get all SV, TO, FF, MA events
fmt string Output format, json, csv, xlsx
phenomena string 2 character phenomena to limit results to
significance string 1 character significance to limit results to
wfo string 3 character WFO identifier
year integer Year to query