coincident.plot.plot_esa_worldcover#

coincident.plot.plot_esa_worldcover(ds, ax=None, cax=None, add_colorbar=True, add_labels=True)#

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:
  • ds (xr.Dataset) – An xarray Dataset containing the ESA WorldCover data.

  • ax (plt.Axes) – The Matplotlib Axes on which the plot will be drawn.

  • cax (plt.Axes) – The Matplotlib Axes used for the colorbar.

  • add_colorbar (bool, optional) – Whether to include a colorbar in the plot, by default True.

  • add_labels (bool, optional) – Whether to add labels to the plot, by default True.

Returns:

The Matplotlib Axes object with the plot.

Return type:

plt.Axes

Notes

https://planetarycomputer.microsoft.com/dataset/esa-worldcover#Example-Notebook