Digital tools to optimize water use in agriculture