
1.1 Overview and Checklist
Lesson 1 is two weeks in length. The goal is to get back into Python programming with arcpy, in particular doing so under ArcGIS Pro, and learn about the concepts of parallel programming and multiprocessing and how they can be used in Python to speed up time-consumptive computations. In addition, we will discuss some important general topics related to programming such as debugging code complemented by a discussion of profiling code to detect bottlenecks, version control system software like GitHub, and different integrated development environments (IDEs) available for Python.
Some sections in this lesson related to 64-bit processing for ArcGIS Desktop and code profiling are optional so that you can decide for yourself how deep you want to dive into the respective topic. The lessons in this course contain quite a lot of content, so feel absolutely free to skip these optional sections; you can always come back to check them out later or after the end of the class.
Please refer to the Calendar for specific time frames and due dates. To finish this lesson, you must complete the activities listed below. You may find it useful to print this page out first so that you can follow along with the directions.
Step | Activity | Access/Directions |
---|---|---|
1 | Engage with Lesson 1 Content | Begin with 1.2 The Integrated Developer Environment |
2 | Programming Assignment and Reflection | Submit your modified code versions and ArcGIS Pro toolbox along with a short report (400 words) reflecting on what you learned and/or what you found challenging. |
3 | Quiz 1 | Complete the Lesson 1 Quiz. |
4 | Questions/Comments | Remember to visit the Lesson 1 Discussion Forum to post/answer any questions or comments pertaining to Lesson 1 |
List of Lesson 1 Downloads
All downloads and full instructions are available and included in the Lesson 1 course material. The list below is for those who want to frontload downloading items.
Data
- USA.gdb.zip
- In section 1.6, you will also use some DEM raster data that you can download with a script we provide there. You can wait with obtaining that data until you reach that section in the lesson materials.
Optional Python modules
These modules are also only needed for optional materials in this lesson. So the same as said above holds here: We recommend that you do not install these now, but wait until you are sure that you want to test them out.
To install pyprof2call tree (Section 1.7.2.2)- open Python command prompt in Administrator mode and type in:
scripts\pip install pyprof2calltree
If received, ignore the message about upgrading pip.
To install line_profiler (Section 1.7.2.4)- open Python command prompt in Administrator mode and type in:
scripts\pip install line_profiler
If you receive an error that "Microsoft Visual C++ 14.0 is required", visit Microsoft's Visual Studio Downloads page and download the package for "Visual Studio Community 2017" which will download Visual Studio Installer. Run Visual Studio Installer, and under the "Workloads" tab, you will select two components to install. Under Windows, check the box in the upper right-hand corner of "Desktop Development with C++," and under Web & Cloud, check the box for "Python development". After checking the boxes, click "Install" in the lower right-hand corner. After installing those, open the Python command prompt again and enter:
scripts\pip install misaka
If that works, then install the line_profiler with...
scripts\pip install line_profiler
You should see a message saying "Successfully installed line-profiler-2.1.2" although your version number may be different and that’s okay.