GitHub-CustomFunctions

所属分类:GIS/地图编程
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2023-11-27 18:59:29
上 传 者sh-1993
说明:  堪萨斯州立大学地理分析GEOG 728编程练习
(Exercise for GEOG 728 Programming for Geographic Analysis at Kansas State University)

文件列表:
CalculateNdwi.py (311, 2023-11-27)
GitHub-CustomFunctions.py (320, 2023-11-27)
LICENSE (7048, 2023-11-27)
PythonAwesome1.py (292, 2023-11-27)
PythonAwesome2.py (323, 2023-11-27)
demo15_1.py (633, 2023-11-27)
demo15_2.py (778, 2023-11-27)
demo15_3.py (562, 2023-11-27)
demo15_4.py (1495, 2023-11-27)
demo15_5.py (1818, 2023-11-27)
demo15_6.py (1379, 2023-11-27)
mytools.py (495, 2023-11-27)
rsTools.py (1747, 2023-11-27)
rs_index.py (1341, 2023-11-27)

# GitHub-CustomFunctions (Optional) Exercise for GEOG 728 Programming for Geographic Analysis at Kansas State University ### Instructions: Accept the GitHub Classroom assignment GitHub-CustomFunctions and clone the new repository as a local personal repository. Once again, we will use the compressed ArcGIS Pro project file from the GitHub-Rasters exercise. It can be found in the Week #13 Canvas module or W:\GEOG\Courses\GEOG728\Exercises, Uncompress the provided ZIP file to access the ArcGIS Pro project file in your local repository workspace. This week, two files must be pushed to origin at the conclusion of the exercise - GitHub-CustomFunctions.py and CalculateNdwi.py. There is no requirement to prepare and submit a script-based tool. Should you encounter difficulties during the week, seek assistance by posting an issue in GitHub. ### Task: Write a create a custom function in a module called CalculateNdwi.py that calculates NDWI for a Landsat 8 image. The function should be able to be called from another script AND run on its own. Use your new module/function in a new script called GitHub-CustomFunctions.py that properly calculates the Normalized Difference Water Index (NDWI) from a Landsat 8 image and saves the result using a custom filename ending with "_NDWI". ## Rubric: Review the assignment rubric available on Canvas for additional details on how your work will be assessed. Double-check that your script includes a complete header section, uses good commenting, incorporates line spaces between blocks of code, and reads input and writes output to current workspace. ## Submission: Commit your code changes for GitHub-CustomFunctions.py and CalculateNdwi.py to your assignment repository on GitHub.

近期下载者

相关文件


收藏者