New answers tagged

0

You are complicating things with range and indexing. Use ListFeatureClasses like this: import arcpy, os arcpy.env.workspace = "E:/gis/Pychram_tabu/26try2/List_of_wells" fieldname = "EC" for well in arcpy.ListFeatureClasses(): #well will be a shapefile name for each iteration, for example 'net0.shp' krig = Kriging(in_point_features=...


2

You are looping over all values of j for all values of i: for(i in 1:length(stack_list)) { #stack image i img <- stack(stack_list[i]) #Loop over every file in stack_list3 for(j in 1:length(stack_list3)) { #stack image j img3 <- stack(stack_list3[j]) which means you'll go on to compute calc for all 9 possible pairs of stacks. What you want (I ...


Top 50 recent answers are included