cellarea

cellarea

Area of one cell

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

  1. • pcrcalc
    #! –unitcell
    binding
    Result2 = Result2.map;
    Expr = Expr.map;
    areamap
    Expr.map;
    initial
    report Result2 = cellarea();

    • python
    setglobaloption(“unitcell”)
    Expr = readmap(“Expr.map”)
    setclone(“Expr.map”);
    Result2 = cellarea()

    Result2.map

    Expr.map

    _images/cellarea_Result2.png _images/cellarea_Expr.png

  2. • pcrcalc
    #! –unittrue
    binding
    Result1 = Result1.map;
    Expr = Expr.map;
    areamap
    Expr.map;
    initial
    report Result1 = cellarea();

    • python
    setglobaloption(“unittrue”)
    Expr = readmap(“Expr.map”)
    setclone(“Expr.map”);
    Result1 = cellarea()

    Result1.map

    Expr.map

    _images/cellarea_Result1.png _images/cellarea_Expr.png

Table Of Contents

Previous topic

catchmenttotal

Next topic

celllength