How can I write a program using python, that calculates some morphometric and drainage indexes using numeric attributes in the attribute table with ArcGIS?
The data I have in my table are area and perimeter of the basin, and channel order of the watercourses (number and km of each order).
For example, I need to calculate the Relationship of bifurcation with this formula: RB=Nu/Nu+1 (Nu - considered channel order; Nu+1 - channel order immediately ) above the considered one).
So, I want to create a program that would be able to get the right value from the attribute table (in ArcGIS) and run with the formula. How can I do that?