coincident.plot.plot_esa_worldcover#
- coincident.plot.plot_esa_worldcover(da, ax=None, cax=None, add_colorbar=True, add_labels=True)[source]#
Map view of ESA WorldCover data.
This function visualizes the ESA WorldCover dataset by mapping the class values to their recommended colors and descriptions.
- Parameters:
da (xr.DataArray) – An xarray DataArray containing the ESA WorldCover data.
ax (plt.Axes | None) – The Matplotlib Axes on which the plot will be drawn.
cax (plt.Axes | None) – The Matplotlib Axes used for the colorbar.
add_colorbar (bool) – Whether to include a colorbar in the plot.
add_labels (bool) – Whether to add labels to the plot.
- Return type:
plt.Axes
- Returns:
The Matplotlib Axes object with the plot.
Notes
https://planetarycomputer.microsoft.com/dataset/esa-worldcover#Example-Notebook