Programming languages are learnt in MGIST to structure and automate the processing of geospatial data and information. There are many common geospatial analyses that come standard in most GIS software packages, custom tools are a useful addition to geospatial toolbox. The following example showcase my ability to create custom script tools for incorporating in ArcMap interface and programming languages to create and disseminate data.
The course provided an opportunity to learn about the principles, syntax, and language elements associated with creating and running computer programming scripts. Python language was used to run ArcGIS tools, read text files of data and ArcGIS attribute tables, interact with map elements, manipulate batches of GIS data, and create basic user interfaces to streamline GIS workflows and build reusable applications.
Convert CSV Weather Data into Raster Data and perform geospatial analysis
Weather data can be a useful source of supplemental information that farmers can use to help make production decisions. The Florida Automated Weather Network also known as FAWN website provides data for download in CSV file format. The data cannot be used in its raw form due to missing values and other data issues. The CSVToRaster tool (Figure 1) presented automates data download, cleanup, interpolates and finally creates a HTML report based on user input.
One of the best sources of up-to-date weather information in Florida is the FAWN weather network. FAWN (Florida Automated Weather Network) provides weather information from a series of 36 weather stations spread throughout the state of Florida that collect various types of weather data such as temperature. FAWN website provides data in the form of a zip file containing comma separated value (csv) files. The csv contains weather data attributes including temperature and rainfall. The csv file cannot be automatically uploaded into ArcGIS and visualized as weather data due to missing values and other data issues. The csv file has to be modified and joined with a spatial dataset to perform geoprocessing. This project involves automating the process of downloading, unzipping data, preprocessing the csv files, joining with spatial data, and finally, performs geospatial analysis on the data. This project will create an HTML report for the input file. The HTML report will, show the name of the attribute of interest, the date range, and an image of the resulting map.
While ArcGIS primarily utilizes Python programming, a conceptual understanding of object-oriented programming allows a GIS user to better incorporate a variety of languages. In the FAWN Data Processing and Display project, for example, HTML code was easily integrating into the Python code.