Using remotely sensed data for leaf wetness duration measurement