landcover_to_p452_clutter_zones#
- pycraf.pathprof.landcover_to_p452_clutter_zones(landcover_map, conversion_table)[source]#
Convert a map of landcover class IDs to P.452 clutter types.
Two pre-defined mappings (conversion tables) are provided in
pathprof
, one for the Corine landcover survey (by the Copernicus mission) that is a high-resolution database for Europe, and one for IGBP class IDs, which are used e.g., by the Terra and Aqua combined Moderate Resolution Imaging Spectroradiometer, MODIS, which is available for several years. One version of that data, the “MOD12C1” (Majority_Land_Cover_Type_1) map is a (rather low-resolution) version for the full Earth.Be careful, some data files seem to contain zero-indexed IGBP IDs! One may need to increase the input map values by One in such cases.
- Parameters:
- landcover_map2D
ndarray
(usually
integer
type) Map of land cover types (e.g. from Corine land cover survey). Data type will usually be some Integer type and must contain land cover class IDs (see e.g. Notes below).
- conversion_table
dict
A dictionary with a mapping (conversion) from the land cover ID to the P.452 clutter zone type. Two mappings are pre-defined in
pathprof
, theCORINE_TO_P452_CLASSES
and theIGBP_TO_P452_CLASSES
.
- landcover_map2D
- Returns:
- p452_clutter_zones_map2D
ndarray
ofint8
Map of P.452 clutter zone types derived from the provided dictionary with the landcover class IDs.
- p452_clutter_zones_map2D
Notes
Corine land cover classes:
111 Continuous urban fabric112 Discontinuous urban fabric121 Industrial or commercial units122 Road and rail networks and associated land123 Port areas124 Airports131 Mineral extraction sites132 Dump sites133 Construction sites141 Green urban areas142 Sport and leisure facilities211 Non-irrigated arable land212 Permanently irrigated land213 Rice fields221 Vineyards222 Fruit trees and berry plantations223 Olive groves231 Pastures241 Annual crops associated with permanent crops242 Complex cultivation patterns243 Agricultural land with significant areas of natural vegetation244 Agro-forestry areas311 Broad-leaved forest312 Coniferous forest313 Mixed forest321 Natural grasslands322 Moors and heathland323 Sclerophyllous vegetation324 Transitional woodland-shrub331 Beaches dunes sands332 Bare rocks333 Sparsely vegetated areas334 Burnt areas335 Glaciers and perpetual snow411 Inland marshes412 Peat bogs421 Salt marshes422 Salines423 Intertidal flats511 Water courses512 Water bodies521 Coastal lagoons522 Estuaries523 Sea and ocean999 NODATAIGBP land cover classes:
1 Evergreen needleleaf forests2 Evergreen broadleaf forests3 Deciduous needleleaf forests4 Deciduous broadleaf forests5 Mixed forests6 Closed shrublands7 Open shrublands8 Woody savannas9 Savannas10 Grasslands11 Permanent wetlands12 Croplands13 Urban and built-up lands14 Cropland/natural vegetation mosaics15 Snow and ice16 Barren17 Water bodies