You need to connect the output "anomaly" to a make feature layer tool that becomes the input to the select layer by attribute tool. You need to do this because that tool takes as input a feature layer the output of the iterator is a feature class which is a very different type of object.
Everything flowing into the iterator needs to run once. But as EVERYTHING runs as many times as an iterator loops then EVERYTHING is running...
Not what you want. The iterator and everything downstream of it needs to be in its only model and that sub-model connects to the output of the split by attribute.
You could look at a help file or search this site ...
What have you set the output of the copy features tool to be? You need to make it a unique value on each iteration, otherwise you simply end up overwriting the output.
You typically get the value out of the iterator. So I would expect to see the output featureclass to be something like:
%Name% is coming from the iterator ...
I could be way off here as I cannot offer the complete answer but wouldn't the tool be failing at the select data point because you have just imported the accounts from an excel spreadsheet, there has been no feature geometry created yet to assign XY coordinates to?
Create two lists, one with even and one with odd numbers. Then sort each and combine. I copy-pasted your data into a csv file.
import arcpy, os
testfile = r"C:\GIS\data\testdata\sortme.csv"
outdb = r"C:\GIS\data\testdata\testdatabas.gdb"
outtable = 'sorted2'
Correct. Python is for "Pros" and people who want to advanced themselves. Model Builder is limited, and good for beginners or people who just don't understand how to program. Yep dead end threads are true simply because Model builder is a dead end solution. ;)
Python is really powerful and where its at, and and can be used just about anywhere. Take the ...
you need to parse the path.
Please insert Parse Path in your model through Insert > Models Only Tools > Parse Path, then choose the parse type = NAME. Connect "Value" tool to "Raster to Polygon" as precondition.
For the output, you can write it as %Value%
See attached picture.