Factors affecting soil moisture