Tuesday, December 16, 2014

Exercise 8: Raster Modeling Part 2 - Raster Analysis Python

The final blog post of the year had the goal of: writing a python script to generate a weighted index model.  This was a simple python script to write, as not a lot went into to the script.  The task was generate a model which identified areas of the county that are high of risk.  I choose to use the residential raster because I thought keeping a sand mine away from high population areas is the most important when considering the different elements.

Figure 1: Python Script

Figure 2: Risk Model
The areas in white are considered to be most at "risk" compared to the areas least at risk in black.  I found the python script very easy to run and the results were clean.  Much of the county is at risk except for the sliver or room in the central extending out towards the Mississippi River.

No comments:

Post a Comment