from_dict

classmethod Station.from_dict(d)[source]

Create a station from a dictionary.

The dictionary has to be in a form returned by the as_dict method.