
import time
import twccommon
areaList = wxdata.getUGCInterestList('SDZ002', 'zone')
if ('KUNR' == 'KWNS'):
    abortMsg()
if (not areaList):
    abortMsg()



twccommon.Log.info("SET HEADLINE FOR SDZ002")
areaList = wxdata.getUGCInterestList('SDZ002', 'zone')
headline = "Wind Advisory from MON 8:00 PM MST until TUE 5:00 PM MST"
phenSig = "WI_Y"

twccommon.Log.info("%s, %s, %s" % (areaList, phenSig, headline))
hdlnExp = 1764115200
for area in areaList:
    d = twc.Data()
    d.headline = headline
    d.phenSig = phenSig
    d.expiration = hdlnExp
    wxdata.setHeadline(area, d, hdlnExp)
    