Creating a custom toolbox and python script to analyze fire data

المشرف العام

Administrator
طاقم الإدارة
My goal is to create both an ArcGIS toolbox and an independent python script to do the analysis of fire occurence in the Southwest (by season) through ArcMap as well as independently with python. I want to have the script deliver the information on-screen as well as in a .txt file containing the below parameters:1) Season Year2) Beginning date of fire season3) End date of season4) Peak (day with max number of fires).

Can someone help me see what I have to do to make this script? Kinda new to python...

This is how I think I should be defining parameters. Am I wrong here?

fireyear = arcpy.GetParameterAsText(0)begseason = arcpy.GetParameterAsText(1)endseason = arcpy.GetParameterAsText(2)firepeak = arcpy.GetParameterAsText(3)Or do I need to create them in a list? After this, I probably need to create a for loop to iterate through the data I have, but no idea what exactly to do here. Any help is appreciated.



أكثر...
 
أعلى