Operating a generator in wet conditions can be dangerous due to the risk of electrocution and should be avoided. Use a canopy or cover to protect the generator from moisture if necessary.