A study of SCO OB1 and NGC 6231.