f.calc_tree_patch: Calculate Patch LAD fpr PALM-4U

View source: R/f_calc_patch_tree.R

f.calc_tree_patchR Documentation

Calculate Patch LAD fpr PALM-4U

Description

Calculate Patch LAD fpr PALM-4U

Usage

f.calc_tree_patch(
  lai = array(),
  canopy_height = array(),
  dz,
  alpha = 5,
  beta = 3,
  fillvalue = -9999.9
)

Arguments

lai

Array. Containts Leaf Area Index for respective patches.

dz

Integer. Grid dimension in y direction

alpha

Numeric. A Parameter for LAD calculation. See source.

beta

Numeric. A Parameter for LAD calculation. See Source.

fillvalue

Numeric. Fillvalue for the array

canopy_heigh

Array. Contains tree height for respective patches.

Value

Array. Filled with LAD for each tree patch.

Examples

lai <- array(2, c(5,5))
canopy <- array(10, c(5,5))
dz <- 2
lad <- f.calc_tree_patch(lai, canopy, dz)

SebaStad/rPALM documentation built on June 4, 2024, noon