pywasp.LandCoverTable.from_dict_scadis

classmethod LandCoverTable.from_dict_scadis(dic, alpha=None, beta=3, z0s=0.3)[source]

Use SCADIS 1D model to convert treeheight and LAI

Warning

This function is experimental and its signature may change.

Parameters:
  • dic (dictionary) – dictionary to be converted to landcover table

  • alpha ([type], optional) – shape parameter of canopy profile [-], by default None

  • beta (int, optional) – shape parameter of canopy profile [-], by default 3

  • z0s (float, optional) – background roughness where there is no canopy, by default 0.3

Returns:

LandCoverTable – LandCoverTable class with valid roughness and displacement

Raises:

KeyError – For landcover classes which don’t have the keys to run the SCADIS model (h and lai) nor the WAsP required keys z0 and d * h: tree height [m] * lai: leaf area index [-]