Text this: Nondestructive investigation of soil moisture level using optical system