array alerts( zipcode )

Description:

Retrieve information about alerts

Parameters:

zipcode

The zipcode of the alert to be returned.

Return:

Returns an array of associative arrays of alert information. - type - The type of weather alert - start_time_local - The local start time of the alert - end_time_local - The local end time of the alert - county_name - The county name - state - The state abbreviation - headline - The headline of the alert - county_fips - The county's identifier - start_time - The start time in UTC - end_time - The end time in UTC - bulletin - The bulletin describing the event - url - The url to link to for more information from NOAA - category - The category of the alert - urgency - The urgency of the alert - severity - The severity of the alert - certainty - The certainty of the alert - geographicname - The geographic name of the report. Example: Rock Island (Illinois) - state_name - The full name of the state

Example usage:

[% foreach cms.weather.alerts as index, alert %]
[% alert.type %]
issued for [% alert.start_time_local %]
ending at [% alert.end_time_local %]
for [% alert.county_name %], [% alert.state %]
[% alert.headline %]
[% end %]