A crop-weather analysis model applied to field bean