pyiem.nws.nwsli module#

National Weather Service Location Idenitifiers (NWSLI)

A class to store metadata associated with a NWSLI entry.

class pyiem.nws.nwsli.NWSLI(identifier, name=None, wfos=None, lon=0, lat=0)[source]#

Bases: object

National Weather Service Location Idenitifiers (NWSLI)

get_name()[source]#

Return the name of this NWSLI, uses self.id if name is unset

Returns:

the name of this site

Return type:

str

__getitem__(key)[source]#

Overload __getitem__ to return the value of the attribute