The National Weather Service warns of dangerous swimming conditions at ocean beaches as a heat wave approaches the state.