I want to get the area from the DEM which is below 5000 and 3000. Actually I need those two areas for my Regression Model to calculate the discharge. In that case, how can I find out using python. I need to calculate in each cell of the stream segment. I have tried with Surface Volume tool but it is taking too long time as i need to calculate for all the cells along the stream segments. Is there any easy and fast way to get this information.
To extract cells below 5000 meters/any unit, you should use Con.
Write the SQL expression like "Value < 5000" (or change value to what you need).
This function can also be used in Python scripts.