Crop management based on field observations: case studies in sugarcane and coffee