In bad weather, your panel production won’t be 100%, but your panels will still be producing power. On a cloudy day, your panels might produce 60% to 70% of what they normally would.
Only exception is if it snows enough for there to be a significant accumulation on your panels, your panels will not produce electricity.
Also Solar Panels from Tier 1 manufacturers are tested for Snow loads & Hail Storms , So your panels will not crack the glass even on heavy hail storms or snow storms .
Panels get cleaned best by rainwater , as rainwater is distilled water .