Description
Calculate areaWeighted=sum(results[i]*areas[i])/sum(areas), requiring aligned arrays, nonnegative areas, and positive total area.
A farm or garden budget depends on a common area, quantity, observation period, and system boundary. Recovery, exclusions, overlap, and allocation change how a share is calculated. Supplied accounting or geometry terms remain separate from measured crop performance and verified environmental outcomes.
Calculate areaWeighted=sum(results[i]*areas[i])/sum(areas), requiring aligned arrays, nonnegative areas, and positive total area.
When to use this tool
Use Urban Soil Test Sample Area Weight Term when you need a clearly bounded area, material, resource, energy, or allocation term for supplied garden or farm records.
How to use the tool and how it works
- Enter results, areas. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read areaWeighted. Use the output convention below.
Calculate areaWeighted=sum(results[i]*areas[i])/sum(areas), requiring aligned arrays, nonnegative areas, and positive total area.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| results | Results | Required. Array of finite number; maximum items 256. |
| areas | Areas | Required. Array of finite number; maximum items 256. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| areaWeighted | Area Weighted | Required. Finite number. |
{
"input": {
"results": [
2,
6
],
"areas": [
10,
30
]
},
"output": {
"areaWeighted": 5
}
} Limitations and assumptions
- Results need a common measurement and assay basis; areas must represent the intended sampling weights. No soil interpolation, contaminant assessment, sample quality, or growing-safety decision is inferred.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Verify the system boundary, units, and source records before combining this term into a resource or environmental report. Physical design and crop-performance questions require appropriate measurements and a broader model.
References
Similar or alternative tools
- Rooftop BED Soil Load Area Term
Actual supplied planter mass accounting without a structural load rating.
- Urban Plot Path Net Growing Area
Calculate netArea=grossArea-paths-structures+overlap.