Tuesday, June 19, 2018

GIS5103 - GIS Programming - Module 5



This weeks module focused on geoprocessing, specifically geoprocessing using tools available in ArcMap. We created a model, which utilized three different tools: clip, select and erase. Then, we exported the model in the form of a python script and modified it so that it ran via PythonWin. The above screenshot shows the successful final product of the assignment.

Friday, June 15, 2018

GIS5103 - GIS Programming - Peer Review of Bakker et al 2016

Peer review of Bakker et al 2016

The Bakker et al 2016 paper focuses on a Python-based tool called FloPy, which is meant specifically for creating predictive models of groundwater flow. The uses of FloPy are presented as an alternative for commonly used GUIs (Graphic User Interface) to predict the spread of ground water, taking into account many different environmental factors that may impact it. The paper takes time to explain all mechanisms within the code, step-by-step, and thoroughly explains the logic of each line contained within the code. It uses specific examples from the script, as well as several graphs and charts to highlight the potential advantage of using the seemingly old fashioned scripting method. I myself have zero training in hydrology, and my peer review of this paper can only be done from the perspective of a novice Python user. My personal interest lies in the fact that the scripting mechanisms used in creating a predictive model for groundwater flow in FloPy could be used for predictive modeling across various other disciplines.

In the introduction, Bakker et al 2016 describe in short the mechanisms behind a typical GUI. The process is presented clearly, and understandable even without much prior knowledge about hydrology or predictive modeling. This helps quite a bit in being able to really understand the advantages of FloPy over the currently more popular GUIs. The paper also explains that the Python language was chosen specifically, because it has a very powerful syntax, and many tools at the programmers disposal (thus earning its popularity in scientific circles.)

The next portion of the study discusses a specific example of a FloPy use. The authors do a great job explaining the function of the tool step-by-step, which allows for a thorough understanding of its functions. As with every script, there are a set of attributes to be defined at the very beginning, including but not limited to; geographical boundaries, water level depth, and periodical water fluctuation. Specific instructions are provided for how varying metrics ought to be filled out in order for the model to run appropriately. The next part of the paper focuses on more advanced applications of FloPy, and describes how individual scripters can go about adding unique metrics that would need to be considered in specialized settings that would apply to more complicated study areas. Several specific studies that used the FloPy tactic are cited and highlighted, which in its own way serves as the testing of the papers initial hypothesis.

In conclusion, the advantages of using FloPy over current GUI methods are several. First, the time of processing the model tends to be twice as fast. Second, a script automatically provides a record of each specific run, which can itself be peer reviewed, modified and re-tested. Third, the capabilities of Python allow for a more specialized predictive model than currently available with the more popular GUIs. The Bakker et al 2016 paper presented a hypothesis clearly, demonstrated that it had been tested on several occasions, and drew logical conclusions based on the results of said tests.


Link: https://hostsited2l.uwf.edu/content/enforced/1024185-51499GIS5103201805/SupplementalReadings/PotentialsForPeerReview/Bakker_et_al-2016-Groundwater.pdf?_&d2lSessionVal=OhmXFvyMsrT2qJz3PCvegYrVo&ou=1024185


GIS5265 - GIS Applications for Archaeology - Module 5




This weeks exercise focused primarily on two things. The first, locating historical maps that can be used to interpret the landscape and archaeological resources in a given year. Specifically; we downloaded Captain James Cooks map of Macau from the David Rumsey website, to be used for this project. Second, we georeferenced the historic map document over modern aerials in order to gain insight into the change of landscape and population spread.

Wednesday, June 13, 2018

GIS5103 - GIS Programming - Module 4




This weeks module focused on debugging scripts. There were three separate exercises involved.

















1) The first exercise required a single correction to be done to an already provided script in order to make it run. The mistake had to be located and fixed.



2) The second script contained 8 errors in total, making the task more challenging. Many of these were simple syntax errors, and I was able to locate them by running the script and using the error messages as guides.
















3.) The third script required us to leave the error uncorrected, and re-write the script using the try-except method in order to acieve the result pictured above.

Friday, June 8, 2018

GIS5265 - GIS Applications for Archaeology - Module 4


This weeks assignment focused on associating hyperlinked images, and URL links to specific points/features within a ArcMap-made project. The map above shows the location of the Paul Revere house on a historic map of Boston, along with his portrait, and a picture of a 1790 census with his name included.

Wednesday, June 6, 2018

GIS5103 - GIS Programming - Module 3


This weeks Module required us to find errors that were created in a hypothetical dice game in the script provided above.

The following assignment required us to create a code that would generate a list of 20 integers from the scale of 0-10, and the next one after that would remove all instances of a given number from the list.

The exercise was focused on the fundamentals of python and provided a good exercise for troubleshooting.

Friday, June 1, 2018

GIS5265 - GIS Applications for Archaeology - Module 3


This weeks exercise required a creation of a point database, marking various locations of known archaeological sites in Jordan. Most of the information provided for us was give in an Excel file format, and our lab exercise took us through the steps to convert the data into an ArcGiS friendly geodatabase. After entering coordinates for each of the selected site locations, ArcMap was easily able to read geographic location about each of the archaeological sites and display them correctly within the right coordinate system.

The geographic coordinates themselves were obtained from an interactive site: www.megajordan.com, which offers public information about known and recorded archaeological sites with intent to share this information with the public and help assess the monetary damage done by regular looting.