Add Topographic Attributes High ------------------------------- This tool add a number of topographic attributes to the input bathymetric high feature class. The following attributes are calculated from the bathymetry and slope-gradient rasters to describe the topographic properties of each bathymetric high feature. 1. *minDepth*: the minimum water depth within the feature polygon 2. *maxDepth*: the maximum water depth within the feature polygon 3. *depthRange*: the difference in water depth within the feature polygon, which is calculated by equation :eq:`depth-range-high` .. math:: :label: depth-range-high (maxDepth - minDepth) 4. *meanDepth*: the mean water depth within the feature polygon 5. *stdDepth*: the standard deviation of the water depths within the feature polygon 6. *minGradient*: the minimum slope-gradient within the feature polygon 7. *maxGradient*: the maximum slope-gradient within the feature polygon 8. *gradientRange*: the difference in slope-gradient within the feature polygon, which is calculated by equation :eq:`gradient-range-high` .. math:: :label: gradient-range-high (maxGradient - minGradient) 9. *meanGradient*: the mean slope-gradient within the feature polygon 10. *stdGradient*: the standard deviation of the slope-gradients within the feature polygon .. image:: images/topographic_attributes1.png :align: center .. code-block:: python :linenos: import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension("Spatial") # import the python toolbox arcpy.ImportToolbox("C:/semi_automation_tools/User_Guide/Tools/AddAttributes.pyt") env.workspace = 'C:/semi_automation_tools/testSampleCode/Gifford.gdb' env.overwriteOutput = True # specify input and output parameters of the tool inFeat = 'test_BH' inBathy = 'gifford_bathy' inSlope = 'gifford_slope' # execute the tool arcpy.AddAttributes.Add_Topographic_Attributes_High_Tool(inFeat,inBathy,inSlope)