The Cumulative hypsometric curve script crosses a merged catchments map with your DEM. The script will ask for the ID of a single catchment that you wish to use in the Cross. In the resulting cross table, cumulative values are calculated for the Area of subsequent height values in pixels and percentages. The output is stored in columns: cum_area and cum_percent.
With the output cross table and its newly calculated columns, you can create graphs:
This will give you a so-called cumulative hypsometric curve.
Dialog box options:
Merged catchment map: |
Select a raster map that is the result of a previous Catchment Merge operation. |
Selected catchment ID: |
Type the ID of a catchment with which you wish to perform the cross. |
DEM: |
Select a raster map with height values, i.e. your DEM. |
Output table: |
Type a name for the output cross table that will contain the cumulative values. |
Short explanation of the calculations by the script:
output column cum_area = ColumnCumulative(NPix)
The script calculates with NPix, so that even if you use a map with geographic LatLon coordinates, answers will be obtained.
temp_col = (NPix/(SUM(NPix)))*100
output column cum_percent = ColumnCumulative(temp_col)
Example:
Below you find two graphs that are created from the output cross table of this script:
See also:
Table window : Cumulative column
Map and Table calculation : CUM function