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



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

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