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



twccommon.Log.info("SET HEADLINE FOR LMZ542")
areaList = wxdata.getUGCInterestList('LMZ542', 'zone')
headline = "Gale Watch from WED 9:00 AM CST until THU 12:00 PM CST"
phenSig = "GL_A"

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