Measurement of cloud cover

We want to measure the potential rainfall of the area. For this can we measure the cloud cover and what is the relation between cloud cover and precipitation?