Next / Previous / Contents / NM Tech homepage

8.7. MyCBC.genStnds(): Generate all the circle-years for a given circle

mycbc.py
# - - -   M y C B C . g e n S t n d s

    def genStnds(self, lat_lon):
        '''Generate all stnd rows for a given lat-lon.
        '''
        q = self.s.query(self.Stnd).filter_by(lat_lon=lat_lon)
        for row in q:
            yield row