pyiem.nws.lsr module
The Atomic Local Storm Report … Report
-
class pyiem.nws.lsr.LSR[source]
Bases: object
Represents a single Local Storm Report within the LSRProduct
-
__str__()[source]
String Representation.
-
get_lat()[source]
Return the LSR latitude.
-
get_lon()[source]
Return the LSR longitude.
-
consume_magnitude(text)[source]
Convert LSR magnitude text into something atomic
-
get_dbtype()[source]
Return the typecode used in the database for this event type
-
sql(txn)[source]
Provided a database transaction object, persist this LSR
-
get_jabbers(uri)[source]
Return a Jabber formatted message tuple.
-
assign_timezone(tz, z)[source]
retroactive assignment of timezone, so to improve attrs
-
mag_string()[source]
Return a string representing the magnitude and units