It was the second Atlantic named storm of the 2007 Atlantic hurricane season . Barry formed in the Gulf of Mexico . The second named storm of the 2007 Atlantic hurricane season , Barry developed from a trough of low pressure in the southeastern Gulf of Mexico on June 1 .