The factors affecting crop production are:
Soil fertility
Availability of water
Diseases
pests
Climate