The association of crop production and precipitation; a comparison of two methodologies