Learning-based agricultural management in partially observable environments subject to climate variability