pycbc: A Python interface
to the Christmas Bird Count database
6.17. CBCData.genRegions()
pycbc.py
# - - - C B C D a t a . g e n R e g i o n s
def genRegions ( self ):
'''Generate the physiographic strata in self, ascending by code.
'''
#-- 1 --
for row in self.s.query(self.Region):
yield row