I was using model builder for extraction by mask. The directory I am working from has 20 years worth of monthly temperature rasters, in .bil format, and is about 860 MB, so it's kind of big, at least to me. Now, when I open the model builder window, every time that I link the directory to the "Rasters" iterator object, ArcMap (10.2.1) crashes and I have no error message to tell me what happened. The thing is, I already ran multiple extractions successfully on 3 similar directories in the same way with no problems. Now, I've tried several times since the first crash. I've restarted my computer several times. I tried just one extraction with one of the files and it worked. I don't know what is causing model builder's uncooperative behavior all of sudden. Is there some kind of cache I need to clear out or are there any other guesses?
I am having problems again with ArcGIS for Desktop crashing when I run Model Builder. I am linking to work spaces that only have about 200 MB of files. I've shortened all the file names to as short as they can be and still be distinguishable, about 11 characters. Are there any ideas why I can't get Model Builder to work?
Chris Donohue, GISP
Chris, I didn't know about the combined length being a problem. The whole directory is about 85 characters with another 15 or so for the files. There are no special characters in the directory.
I run the models from the editing window.
Here is a screenshot. Because each raster is for the lower 48, I extract to a much smaller area first. Then I reproject to UTM 15N, while also setting a cell size of 100 m x 100 m. Then extract to the actual coverage I need.
Hello Chris - I am having the problem you mentioned - models crash if run as a tool but works if run from the Edit window. Is there a fix to this bug? I am running 10.2.2, I hope there is a solution for this version.
Thanks in advance for any information!
What processes are you trying to do with Modelbuilder? I ask as there have been several bugs in the past and many are linked to specific processes.
One general fix that sometimes works is to turn off "Background Processing". In ArcGIS, at the top, Geoprocessing, Geoprocessing Options..., then uncheck the Background Processing box.
Chris Donohue, GISP
Thank you for your quick response. Above is a screen shot of the tool and a shot of the variables in the Select portion of the model. I just tried disabling background processing, but as I suspected, the tool didn't work correctly (but it didn't crash out). If this tool doesn't process in the background it doesn't iterate and write all the field values to a new feature. It works great in edit mode with or without the background processing enabled.
I'm fairly new at building tools (a year or two) - so maybe there's something I could do to get the tool to work correctly without processing in the background?
Thank you Chris.
It's nice to know it's a bug and I'm not overlooking something and causing my own problem, though if it were a problem with my tool design we could fix it - lol