nelsonga100,
Sorry, but California taxes all income earned while you are a CA resident so that includes the IA farmland. If, as I suspect, you are also on the hook to IA on that same income, you get to claim a credit against your CA tax bill for the income tax you pay to IA.