Goals
Exercise seven is the last phase of generating data for landslide susceptibility in Oregon. In this last section, a risk model for landslides in Oregon will be built. The risk model will be based multiplying risk values and raster values to come up with an overall risk model.
Methods
This script starts out the same as the previous scripts. The data was already provided from exercise five and six so The first step is to ensure the script is working, and to import all of the necessary modules. The necessary modules were the same as they were in exercise six. They are os, shutil, time, datetime, and arcpy. As usual, outputs were told to overwrite existing files. After that, variables were created to represent both paths that will be used during the script and feature classes that will be used. The next step was to set up field names for each of the new fields that would be created during the script. The next step in the script was to create a fishnet that would be used as the unit of analysis in combination with the roadway buffer. The first step to creating a fishnet is getting a processing boundary. In order to do this, the domain form the slope data and is taken and the arcpy.Describe function is used. Once the boundary is created and the fishnet is created, the next step is to buffer the roadways because we are interested in areas near roads. Next, the roadway buffer and the fishnet need to be intersected. This will create a layer that will be the unit of analysis. The next step is to set up the reclass values for slope and land cover. The reclass values were given so all that needed to be down was set up a variable to hold the list of reclass values and run the reclassify tool. The next thing is multiplying the reclassed rasters together to obtain the risk raster. Once the risk raster is finished, running a zonal statistics tool will summarize the median value for the unit of analysis. The last step was to join the zonal statistics as a table back to the unit of analysis layer.
Results
The results of the exercise seven script are represented by the risk model map. Figure one is the script that was created in this exercise. Figure two is the resulting map and the risk model that was created when the script was run.


