ModelBuilder, but Make It Emotional

This lab had two parts and neither one went down without a fight. Part one was all about using ModelBuilder to get rid of soils that weren’t considered “prime farmland.” I made a model called SoilErase that clipped the soils layer to the basin, selected soils labeled “Not prime farmland,” and erased those from the basin. Sounds simple until something randomly stops showing up or the symbology looks totally wrong. But after some tweaking and yelling at the screen, the final output looked just like the one from the instructions.


Part two moved into the Python Notebook. This section had me add XY coordinates to the hospital shapefile, create a 1000-meter buffer around the points, and dissolve those buffers into one single layer. I got an error at first saying the file didn’t exist even though it was right in the folder. Turns out I had to update the workspace path to the correct folder after unzipping everything again. Once that was fixed, the script worked just fine.


One thing that helped was keeping all my results organized in a separate Results folder. I added each of the shapefiles and PNGs to the Process Summary, so I knew exactly what came out of each step.

In the end, it all came together. Was it smooth? No. But everything ran, and the output was correct. That’s a win in my book.

Comments