Thursday and Friday will offer abundant sunshine with highs in the mid-80s, the National Weather Service said.
But the holiday weekend looks problematic, with a chance of rain Friday night, Saturday, Sunday morning and Monday night, Independence Day, the weather service predicted.
Thursday will also bring an unwanted ingredient to the air: an excess of ozone.
The state departments of health department and environmental conservation has issued an air quality advisory, saying: "People, especially young children, those who exercise outdoors, those involved in vigorous outdoor work and those who have respiratory disease (such as asthma) should consider limiting strenuous outdoor physical activity when ozone levels are the highest (generally afternoon to early evening). When outdoor levels of ozone are elevated, going indoors will usually reduce your exposure," the advisory warned.
The state encouraged residents to reduce such pollution by using mass transit instead of driving and taking steps to limit energy use in the home.
Friday will be sunny and very warm, with a high of about 87 before the prospect of storms at night.
Showers are considered likely Saturday morning and Saturday night, with as mostly cloudy day in the middle. There is a 40% chance of rain Sunday morning.
Then, Independence Day, Monday, looks sunny and warm in the afternoon but there is a 40% chance of showers and storms in the evening, the weather service said.