metobs_toolkit.geedatasetmanagers.GEEStaticDatasetManager.make_gee_plot#

GEEStaticDatasetManager.make_gee_plot(metadf: DataFrame, save: bool = False, outputfolder: str = None, filename: str = None, vmin: float | int | None = None, vmax: float | int | None = None, overwrite: bool = False)[source]#

Make an interactive spatial plot of the GEE dataset and the stations.

This method will create an interactive plot of the GEE dataset. If metadata is present, it will be displayed as markers on the map.

The interactive map can be saved as an HTML file, by specifying the target path.

Parameters:
  • metadf (pandas.DataFrame) – Metadata dataframe with station locations.

  • save (bool, optional) – If True, saves the map as an HTML file. Default is False.

  • outputfolder (str or None, optional) – Path to the folder to save the HTML file. Default is None.

  • filename (str or None, optional) – The filename for the HTML file. Default is None.

  • vmin (numeric or None, optional) – Minimum value for colormap. Default is None.

  • vmax (numeric or None, optional) – Maximum value for colormap. Default is None.

  • overwrite (bool, optional) – If True, overwrites existing file. Default is False.

Returns:

The interactive map of the GeeStaticDataset.

Return type:

geemap.foliumap.Map