The storm is forecast to weaken to a tropical depression on Wednesday.