added crop rotation code and new climate retrieval code