Hello,
I have created a model in ArcGIS pro and then I tried to convert it into a python script, but the code of Kriging function (even autogenerated) gives me this error:
Kriging() got an unexpected keyword argument 'semiVariogram_props'
The autogenerated code:
Kriging = Kriging_Extr2
Output_variance_of_prediction_raster = ""
with arcpy.EnvManager(extent=Rectangle):
Kriging_Extr2 = arcpy.sa.Kriging(in_point_features=point_values, z_field="RASTERVALU", semiVariogram_props="Spherical 7.200000 # # #", cell_size="0.25", search_radius="VARIABLE 12", out_variance_prediction_raster=Output_variance_of_prediction_raster)
Kriging_Extr2.save(Kriging)
I have looked into kriging python syntax online, but it also does not work. But maybe I am making some errors myself.
How could I solve this problem?