upar: Define a set of urban parameters

Description Usage Arguments Value Examples

Description

Function to define a set of urban parameters. This includes building and street properties as well as the urban grid. Some consistency checks are done.

Usage

1
upar(grid, fr_urb, fr_uclass, fr_udir, fr_roof, w_street, w_build)

Arguments

grid

Object of class ugrid.

fr_urb

Fraction of urban surfaces in a grid cell and, thus, defines urban grid cells.

fr_uclass

Fraction of each urban class in each urban grid cell. The sum for each urban grid cell is 1.

fr_udir

Fraction of each urban class and street direction in each grid cell. The sum for each urban grid cell is 1.

fr_roof

Height distribution of each urban class and street direction in each grid cell.

w_street

Street width of each urban class and street direction in each grid cell.

w_build

Building width of each urban class and street direction in each grid cell.

Value

An object of class upar.

Examples

1
2
3
4
5
# use Berlin data included in dcepucp
ucps <- upar(berlin_grid, fr_urb = berlin_fr_urb,
             fr_uclass = berlin_fr_uclass, fr_udir = berlin_fr_udir,
             fr_roof = berlin_fr_roof, w_street = berlin_w_street,
             w_build = berlin_w_build)

sebschub/dcepucp documentation built on May 20, 2019, 2:23 p.m.