BANGOR, Maine — The National Weather Service has confirmed what residents of the Queen City have been saying for weeks — 2015 is the coldest on record for the city.

Between Jan. 1 and July 31, the average temperature in Bangor was 38.9 degrees, the station in Caribou announced Sunday. It was the sixth-coldest year on record in Caribou for the same time period.

Portland was not as cold, according to the weather service in Gray. For the same time period, the temperatures were the 20th-coldest on record in the past 75 years. Maine’s largest city had its coldest February and the warmest May on record in 2015.

The month of July was the eighth-driest in Bangor, with just 1.16 inches of rain recorded, the weather service in Caribou said Sunday.

Thunderstorms late Monday night into Tuesday morning in western, northern and Down East Maine are expected, according to the forecast. Small hail, gusty winds and strong downpours are possible, the weather service said. Seas along the coast may build to 5 or 6 feet as any storms approach.

The storms are expected to affect Aroostook, Washington, Hancock, Penobscot, Piscataquis, Somerset, Franklin and Oxford counties.