docs: def get_pointings(self):
          """Query for some pointings, given a block name"""
  	import MOPdbaccess,ephem,math
          import tkSimpleDialog
          result = tkSimpleDialog.askstring("Block Load", "Which Block do you want to plot?")
          db = MOPdbaccess.connect('bucket','cfhls',dbSystem='MYSQL')
          SQL = """SELECT object,ra,`dec`,status,ccd FROM blocks b 
  			JOIN cfeps.triple_members m ON m.expnum=b.expnum
  			JOIN cfeps.discovery d ON d.triple=m.triple
  			JOIN exposure e ON e.expnum=b.expnum
                          LEFT JOIN cfeps.processing p ON p.triple=m.triple
  		WHERE p.process='plant' and b.block RLIKE '%s' GROUP BY m.triple,p.ccd """ % (result)
  	points=[]
  	c = db.cursor()
  	r = c.execute(SQL)
  	rows=c.fetchall()
  
          print len(rows)
          geo = camera.geometry['MEGACAM_36']
          main_pointing=''
  	for row in rows:
              if main_pointing != row[0]:
                  # put down the 'full MP FOV' here
                  c=camera(camera='MEGACAM_1')
                  if row[4]!= "NULL":
                      color='pale green'
                  else:
                      color='gray'
                  label={'text': row[0]}
                  c.ra=ephem.hours(math.radians(float(row[1])))
                  c.dec=ephem.degrees(math.radians(float(row[2])))
                  self.pointings.append({"label": label,
                                         "camera": c,
                                         "color": color})
                  main_pointing=row[0]
              if int(row[3]) < 0:
                  # Create a 'red' box for this CCD
                  c=camera(camera='MP_CCD')
                  c.ra = ephem.hours(math.radians(float(row[1])-geo[int(row[4])]["ra"]/math.cos(math.radians(float(row[2])))))
                  c.dec =ephem.degrees(math.radians(float(row[2])-geo[int(row[4])]["dec"]))
                  color='red'
                  label={'text': str(row[4])}
                  self.pointings.append({"label": label, "camera": c,"color":color})
                                         
          self.plot_pointings()
  
          return