Here are a few things I want to point out:
To assign variables you should use the = operator instead of the == operator (which is a comparison operator).
There is no need to specify int nor str.
You can refactor your code as you are assigning 0 and 40 multiple times.
Your code could look something like:
if previousCrop == "Alfalfa: >5 plants/square ...
Taking a look at the Kriging tool's documentation I see that "ORDINARY" is not an option for the semi-variogram type in the KrigingModelOrdinary class.
SPHERICAL — Spherical semivariogram model. This is the default.
CIRCULAR — Circular semivariogram model.
EXPONENTIAL — Exponential semivariogram model.
GAUSSIAN — Gaussian (or normal distribution) ...
I'm not sure I fully understand your data, so this might be off the mark. While it is unusual for a variogram to continue to decrease at successively higher lags, it is not impossible.
Consider for example a situation where most of the highest batting averages are concentrated in one area, for example in or around the centre of the city. Lag distances up ...