Grain yield as a function of rainfall, soil moisture and solar radiation in upland rice (Oryza sativa L.)