Drainage Area Summation Upstream Cells Calculator
Sum unique caller already delineated upstream cells; does not infer drainage graph, flow direction or watershed connectivity.
Description
Drainage Area Summation Upstream Cells Calculator: return total upstream area m2.
An upstream drainage area is a sum over an identified contributing set. Counting a cell twice would overstate that total.
This tool returns total upstream area m2. Use the stated units and model convention when interpreting these fields.
When to use this tool
Use this tool when the supplied inputs match the specific operation described above and you need a repeatable result under its stated convention.
- Check the supported input and output contract against an existing calculation or observation.
- Use the complete example to confirm units, selector spelling and result interpretation.
How to use the tool and how it works
- Enter every field in the input table using the stated units and the exact supported selector spelling where applicable.
- Run the tool. Correct input errors before interpreting an output.
- Read the result fields below; use accompanying flags and the stated sign, boundary or model convention when interpreting a number.
Require unique cell IDs, matched areas and positive area values. Sum the supplied areas.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| cellIds | Cell ids. | List of text values |
| cellAreasM2 | Cell areas m2. Square meters. | List of finite numbers |
| Output field | Interpretation |
|---|---|
| result | Object containing the following named result fields. |
| result.totalUpstreamAreaM2 | Total upstream area m2; use the stated units and sign convention. |
{
"input": {
"cellIds": [
"a",
"b"
],
"cellAreasM2": [
100,
200
]
},
"output": {
"result": {
"totalUpstreamAreaM2": 300
}
}
} Limitations and assumptions
- The tool does not discover upstream connectivity or verify that the cell set covers a catchment.
- Every declared field is required and unexpected fields are rejected. Numeric inputs must be finite; input errors are distinct from a valid false result or an explicitly qualified output.
- Extremely large inputs and nonfinite or excessively large outputs are rejected. List positions reported by the tool use zero-based indices unless stated otherwise.
Alternative or Complementary methods
Check the underlying observations, units and conventions independently before using the result in a larger workflow. The tools listed below address nearby tasks; compare their inputs and scope before substituting one for this operation.
References
Similar or alternative tools
- paper a series area mm2
ISO A-series nominal sheet area in square millimetres from the conventional rounded dimensions A0–A10.
- plan area to real area
Ground area in square metres represented by a plan area in square centimetres at scale 1:N.