Weather and technology in the production of corn and soybeans