A hard rain is going to fall on the Bay State, prompting the National Weather Service to put out flood warnings. 

Starting Wednesday at 2 a.m., the National Weather Service is issuing flood warnings for Hampden, Hampshire, Franklin, Worcester, Middlesex and Essex Counties. 

Related: Back Bay meets Venice in new Boston flood control report

The threat of downpours with up to six inches of water will remain in effect until Thursday, October 1. NOAA issued a warning that wind speeds might reach up to 40 mph on Wednesday. 

The Supermoon is also a factor, causing large tidal shifts. This has the potential to cause minor to moderate coastal flooding. 

They also warn of Tropical Storm Joaquin, which could make for a rainy weekend.