Precision agriculture is helping one of the state’s largest industries confront climate change and labor shortages.