code: def _select_exposures_requiring_dophot_extraction(
              self,
              batch=10):
          
          self.log.info(
              'starting the ``_select_exposures_requiring_dophot_extraction`` method')
  
          sqlQuery = u"""
              select expname, floor(mjd) as mjd from atlas_exposures where local_data = 1 and dophot_match = 0 and orbfit_positions = 1;
          """ % locals()
          rows = readquery(
              log=self.log,
              sqlQuery=sqlQuery,
              dbConn=self.atlasMoversDBConn,
              quiet=False
          )
  
          remaining = len(rows)
  
          expnames = []
          expnames[:] = [(r["expname"], int(r["mjd"])) for r in rows[:batch]]
  
          self.log.info(
              'completed the ``_select_exposures_requiring_dophot_extraction`` method')
          return expnames, remaining
docs: * select exposures requiring dophot extraction*
  
          **Key Arguments:**
              - ``batch`` -- the batch size of dophot file to process
  
          **Return:**
              - ``expnames`` -- the names of the expsoures in the batch
              - ``remaining`` -- the number of exposured remainging that require orbfit/dophot crossmatching