but for some reason I get the error below. I have tried everything I just cannot seem to figure it out. PLEASE SOMEONE HELP!!! I'm sure its simple but I can't seem to find it.
ERROR 000539: Error running expression: rcexec() <class 'arcgisscripting.ExecuteError'>: ERROR 010414: Error in creating a Raster from a geodataset. Failed to execute (Lookup).
Do you think the error could be due to the Lookup("roadpct","Count") trying to work on a raster that has Null values in it?
What if you first cleared out the nulls using Con(IsNull(("roadpct")), 0,("roadpct")) and then performed ("roadpct" / 100) / Float(Lookup("roadpct", "Count")).
Do you think the error could be due to the Lookup("roadpct","Count") trying to work on a raster that has Null values in it?
What if you first cleared out the nulls using Con(IsNull(("roadpct")), 0,("roadpct")) and then performed ("roadpct" / 100) / Float(Lookup("roadpct", "Count")).
Thank you very much for your help!!! I was able to figure it out. For some reason the model was not reading one of my shapefiles although I don't know why. Thanks again