Tuesday, May 31, 2022

Module 2 Debug & Error Handling


 





In this lab I learned the basics of debugging code. The concepts we learned included how to recognize errors, how to use the python debugger tool, and how to use "try" and "except" in a script. I practiced these skills on three separate scripts, their outcomes and the general idea of the way these scripts work can be seen above in the images and flow charts. In order to determine if there were any errors in the script you can run it and the message box will either produce the intended result or an error. Or you can use the debugger tool to go line by line to identify if there is an error in each line. I chose to do both to hone my skills and determine if there were more errors beyond the ones I could identify and corrected them as they appeared. In addition I used try and except to skip over errors and name them.

No comments:

Post a Comment

LAB 6 Scale Effect and Spatial Data Aggregation

In regards to the effects of scale on vector data I learned that as the larger the scale the larger the units that are measured come out to ...