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



twccommon.Log.info("SET HEADLINE FOR TNZ087")
areaList = wxdata.getUGCInterestList('TNZ087', 'zone')
headline = "Wind Advisory from TUE 12:00 AM EST until TUE 4:00 PM EST"
phenSig = "WI_Y"

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