pyiem.models.cwa module#

Data Model for CWA.

class pyiem.models.cwa.CWAModel(*, center, expire, geom, issue, is_corrected, narrative, num)[source]#

Bases: BaseModel

A Center Weather Advisory.

Parameters:
model_config = {'arbitrary_types_allowed': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

center: str#
expire: datetime#
geom: Polygon#
issue: datetime#
is_corrected: bool#
narrative: str#
num: int#