Temperatures in western Massachusetts are expected to hit the nineties later this week, but will cool off by the weekend, according to the National Weather Service.