urbanlc.analyze.visualizer.get_esa_colormap#
- urbanlc.analyze.visualizer.get_esa_colormap()#
Retrieve the colormap and normalization for ESA (European Space Agency) WorldCover 2021 v200 labels.
This function creates a colormap and normalization for ESA labels based on the ESA2021_LABEL dictionary. The colormap is configured with “black” as the color for values under and over the defined bounds. The bounds are derived from the keys of the ESA2021_LABEL dictionary. The colormap and normalization are then returned.
- Returns:
Tuple[matplotlib.colors.ListedColormap, matplotlib.colors.BoundaryNorm] Colormap for ESA labels. Normalization for the colormap.
- Return type:
Tuple[matplotlib.colors.ListedColormap, matplotlib.colors.BoundaryNorm]