cellarea¶
Result = cellarea()
- Result
non spatial scalar
Options¶
--unittrue
or --unitcell
:
--unittrue
area is computed in true area; Result is true area of a cell (default)
--unitcell
area is computed in number of cells; Result is 1
Operation¶
Calculates the area represented by one cell and assigns this cell area to Result (non spatial).
Notes¶
Group¶
This operation belongs to the group of Map operators
Examples¶
- • pcrcalc#! –unitcellbindingResult2 = Result2.map;Expr = Expr.map;areamapExpr.map;initialreport Result2 = cellarea();• pythonsetglobaloption(“unitcell”)Expr = readmap(“Expr.map”)setclone(“Expr.map”);Result2 = cellarea()
Result2.map
Expr.map
- • pcrcalc#! –unittruebindingResult1 = Result1.map;Expr = Expr.map;areamapExpr.map;initialreport Result1 = cellarea();• pythonsetglobaloption(“unittrue”)Expr = readmap(“Expr.map”)setclone(“Expr.map”);Result1 = cellarea()
Result1.map
Expr.map