Next / Previous / Contents / Shipman's homepage

8.2. BaseStationSet.stationNoLookup()

Finds a station number, or raises KeyError.

baseclasses.py
# - - -   B a s e S t a t i o n S e t . s t a t i o n N o L o o k u p   - - -

    def stationNoLookup(self, staNo):
        '''Look up a station number.
        '''
        return self.staNoMap[staNo]