StationLookup#
- class metpy.io.StationLookup[source]#
Look up station information from multiple sources.
This class follows the Mapping protocol with station ID as the key. This makes it possible to e.g. iterate over all locations and get all of a certain criteria:
>>> import metpy.io >>> conus_stations = [s for s in metpy.io.station_info if s.startswith('K')] >>> conus_stations[:3] ['KEET', 'K8A0', 'KALX']
Attributes Summary
Return an iterable mapping combining all the tables.
Methods Summary
__init__
()get
(k[,d])items
()keys
()values
()Attributes Documentation
- tables#
Return an iterable mapping combining all the tables.
Methods Documentation
- __init__()#