docs: def get_astrom(official='%',provisional='%'):
      """Query the measure table for all measurements of a particular object.
      Default is to return all the astrometry in the measure table,
      sorted by mjdate"""
  
      sql= "SELECT m.* FROM measure m "
      sql+="LEFT JOIN object o ON m.provisional LIKE o.provisional "
      if not official:
          sql+="WHERE  o.official IS NULL"
      else:
          sql+="WHERE o.official LIKE '%s' " % ( official, ) 
      sql+=" AND m.provisional LIKE '%s' " % ( provisional, )
  
      cfeps.execute(sql)
      return mk_dict(cfeps.fetchall(), cfeps.description)