windkit.landcover.LandCoverTable.get_table

classmethod LandCoverTable.get_table(dataset, table='default')[source]

Get landcover table from dataset and table name.

Parameters:
  • dataset (str) –

    Name of dataset to get landcover table from. Available datasets are:

    [“CGLS-LC100”, “CORINE”, “GlobCover”, “MODIS”, “WorldCover”, “ESA_CCI”]

  • table (str) –

    Name of landcover table to get. Available tables are:

    ”CGLS-LC100”: [“default”], “CORINE”: [“default”], “GlobCover”: [“default”], “MODIS”: [“default”], “WorldCover”: [“default”], “ESA_CCI”: [“default”]

Returns:

Landcover table from dataset and table name.

Return type:

LandCoverTable

Raises:

ValueError – If dataset or table is not available.

Examples

>>> from windkit import LandCoverTable
>>> lct = LandCoverTable.get_table("CGLS-LC100")
>>> lct
id = LandCoverID
z0 = Roughness length (m)
d = Displacement height (m)
desc = Description
id      z0          d    desc
1       0.0000  0.0      No data
2       0.01    0.0      Moss and lichen
3       1.2     0.0      Closed forest, needleleaved, evergreen
...