California's wet weather has some believing the drought is over The state has experienced record rain in recent weeks.

 -- A statewide downpour brought chaos to Californians this week, but it also provided some welcome relief to the state's 20 million residents who have suffered from drought conditions for more than four years.

The record precipitation now has some experts declaring the drought over.

The beginning

The drought began in 2012, but California Gov. Jerry Brown did not declare a drought state of emergency until January 2014. A response team was later established, and state lawmakers have allocated over $3 billion for drought relief and water management improvements.

The U.S. Geological Survey said 2014 was the warmest year on record for California.

According to Park Williams, a climate scientist and an assistant professor at Columbia University's Lamont-Doherty Earth Observatory, the drought was exacerbated by high temperatures.

"These last five years in California were much warmer than you'd expect just based on the drought alone, and the reason is because the globe's overall temperature has been warming," he told ABC News. "California's relationship with water is one where they either have too much or too little. So California goes through swings very rapidly. That's what made this drought in California so rare ... [it's] very rare to get five dry years in a row."

He added, "Global warming did not cause this drought but nevertheless had a measuring amplifying effect."

Record rain this week

Flooding warnings were in effect Tuesday in Northern and Central California after storms wreaked havoc on the Golden State last weekend.

In Modesto, police went door to door evacuating residents as floodwaters rose. In San Jose, firefighters jumped on inflatable rafts to rescue two people trapped by a roaring river.

More than 2 inches of rain were recorded at the San Francisco International Airport on Monday. Since October, San Francisco has seen 25.6 inches of rain — nearly 2 inches more than the city usually gets in an entire year.

This extreme weather in Northern California came after powerful rain moved its way up the California coast; the rain first pounded San Diego and Los Angeles, stranding drivers in their cars and contributing to the deaths of least five people.

The latest drought outlook from the National Weather Service Climate Prediction Center "shows drought in Southern California likely to resolve and drought in the Central Coast region of California as persistent but improving."

After this incredibly wet winter, Williams said, he considers the drought over; trees that survived the drought will likely begin recovering, and lakes are near capacity, he explained.

Michael Dettinger, a U.S. Geological Survey hydrologist and a researcher at the University of California at San Diego's Scripps Institution of Oceanography, agrees with Williams' assessment.

"I believe that the drought is over at this point," he told ABC News. "If groundwater levels were lower than they should be because of the drought, then we wouldn't need to say it's over. But groundwater levels are down because of overpumping that's been going on ... for 50 to 70 years. To me, that's not drought — that's just a long-term imbalance of how we use water."

David Feldman, a UC Irvine professor of planning, policy and design, said he won't know if the drought is over until May, when the state's rainy season ends.

"If I were regulator working for the state water board, I'd probably lean on the conservative side," he said.

He added, "Things can dry out quickly. You can have a warm spell. You can have a warm period that melts snowpack in the [Sierra Nevada]. I think in May they'll have a good sense of if we can declare this thing over."

The impact

Williams considers groundwater pumping — pulling water out of the ground, much of it by farmers so their crops can grow in dry conditions — a major issue in droughts.

Groundwater is "essentially taking away from future water reserves to survive this current drought," he said.

"If we take groundwater out of the ground and we don't put water back in to replace it, then that is an unsustainable approach to the use of a very valuable resource," Williams said. "As we continue to reduce drought effects by pulling water out of the ground, we're stealing from the future. And so without prescribing any recommendation, I will say that the California government is beginning to try to regulate groundwater use ... The point of doing that is to try to find a more sustainable approach to using that valuable resource."

Dettinger said groundwater was originally treated as a local issue. Now state lawmakers are enacting laws to improve how groundwater is monitored and managed.

"That's I think one of the biggest things that came out of the drought, and it's a good thing. The other big thing that came out of the drought is water use restrictions and efficiency requirements were instituted," he said. "If we use less water, there will be more flexibility to carry us through droughts."

Sobering statistics

California's water comes from three main sources: snowpack, reservoirs and aquifers, according to the Environmental Protection Agency. Californians use an estimated 108 gallons of water per person on average every day, the EPA said.

Since 2012, the Golden State has endured not only record high temperatures but also record low levels of snowpack and precipitation, according to CaliforniaDrought.org, a project of the Pacific Institute, a nonprofit that researches solutions to freshwater issues, in Oakland.

The drought has hit rural communities harder than urban and suburban communities, which are better able to diversify their water sources, according to the Public Policy Institute of California.

Most farming relies on irrigation, which accounts for approximately 80 percent of California’s human water use, according to the Public Policy Institute of California. In 2015 farmers had about 50 percent less surface water because of the drought; they pumped more groundwater to make up the difference but still had 10 percent less water than usual, and farm sector losses reached nearly $2 billion, according to the institute.

Drought can be noxious to the environment. Wildfires could become more prevalent, and as many as 18 fish species could become extinct if the current drought continues, the Public Policy Institute of California said.

What the future holds

Brown has issued a series of executive orders to help the state cope with the drought, the most recent mandating "continued, long-term water savings as drought persists."

Nancy Vogel of the California Natural Resources Agency told ABC News that the governor will consider many factors when he revisits the emergency statewide drought declaration in coming weeks — including groundwater, snow pack and reservoir levels.

This winter's rain "doesn't come all the time," Dettinger said. "The worst thing we can do is forget about droughts just because it's wet right now."

He added, "Going forward, we definitely want to get a handle on the groundwater use because that is the piece that a winter like this can't even fix. We're going to have to fix it on our end by monitoring how much water we take. I would like to see them stop being called drought restrictions and call them sustainability restrictions."

Feldman said it's important to prepare for a drought before one is declared. He recommends that the U.S. follow Australia's example by harvesting rainwater and recycling wastewater.

Most of all, he urged Americans not to take the nation's water for granted.

"Droughts are not just limited to California and the Southwest," Feldman said. "Other areas of the U.S. have been through periods of water stress and drought from time to time. We want to do everything we can ... to protect our water, to conserve it ... to recycle it if we can, just to treat it more wisely than we have in the past."

ABC News' Morgan Korn, Jeff Costello, Lindsey Jacobson, Max Golembo and Melissa Griffin contributed to this report.