Heat stress costs dairy and beef producers hundreds of millions each year.