The National Oceanic and Atmospheric Administration says the contiguous United States set a record for its hottest month ever in July.