pyiem.nws.products.cwa module#

Center Weather Advisories (CWA)

pyiem.nws.products.cwa.go2lonlat(lon0, lat0, direction, displacement)[source]#

http://stackoverflow.com/questions/7222382

pyiem.nws.products.cwa.parse_polygon(prod, line)[source]#

Figure out what the polygon is!

Parameters:
Return type:

Tuple[Polygon, str]

pyiem.nws.products.cwa.parse_product(prod)[source]#

Do the parsing we need for the data model.

Parameters:

prod (TextProduct)

Return type:

CWAModel

class pyiem.nws.products.cwa.CWAProduct(text, utcnow=None, ugc_provider=None, nwsli_provider=None)[source]#

Bases: TextProduct

Represents a Center Weather Advsiory (CWA) product.

sql(txn)[source]#

Do SQL related stuff that is required

get_jabbers(_uri, _uri2=None)[source]#

Return the Jabber for this sigmet

pyiem.nws.products.cwa.parser(text, utcnow=None, ugc_provider=None, nwsli_provider=None)[source]#

Helper function