Lightning in relation to precipitation