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



twccommon.Log.info("SET HEADLINE FOR PZZ455")
areaList = wxdata.getUGCInterestList('PZZ455', 'zone')
headline = "Small Craft Advisory until TUE 2:00 AM PST"
phenSig = "SC_Y"

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