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



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

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