Nearly two dozen Connecticut farms and producers are getting state funds this year to brace against extreme weather conditions that are tied to climate change.