
import time
import twccommon
areaList = wxdata.getBulletinInterestList('TXC397')
if ('KFWD' == 'KWNS'):
    abortMsg()
if (not areaList):
    abortMsg()



twccommon.Log.info("SET BULLETIN FOR TXC397")
areaList = wxdata.getBulletinInterestList('TXC397')
group = """"""
txt = """...FLOOD WARNING IN EFFECT UNTIL EARLY TOMORROW AFTERNOON...

* WHAT...Minor flooding is forecast.

* WHERE...South Fork Sabine River near Quinlan.

* WHEN...Until early tomorrow afternoon.

* IMPACTS...At 15.0 feet, Minor out of bank flooding will occur.

* ADDITIONAL DETAILS...
- At 3:45 PM CST Monday the stage was 14.6 feet.
- Bankfull stage is 15.0 feet.
- Flood stage is 15.0 feet.
- Forecast...The river is expected to rise above flood stage
late this afternoon to a crest of 15.2 feet this evening. It
will then fall below flood stage just after midnight tonight.


&&



"""
for area in areaList:
    b = twc.Data()
    b.pil = 'FLW'
    b.pilExt = '001'
    b.issueTime = 1764025920
#
    b.dispExpiration = 1764093600
    b.group = group
    b.text = txt
    exp = 1764093600
    wxdata.setBulletin(area, b, exp)
    