Debugging and Error Handeling
For this week's assignment, we were to fix various errors in code for a map in ArcGIS Pro. I had trouble with the second script and could only get it to work using notebooks in ArcGIS Pro. The last one was more difficult. It took me the longest to figure out where the try/except statements should be within the script. Below are the results and some of the mended code.
Figure 1. Script 1 results after fixing errors.
Figure 2. Script 2 code and results after fixing errors in ArcGIS Pro.
Figure 3. First half of script 3 code and results after fixing errors in ArcGIS Pro.
Figure 4. The second half of script 3 code and results after fixing errors in ArcGIS Pro.
Comments