Measurement and modeling of soil moisture for irrigation management