metobs_toolkit.Dataset.make_gee_plot#

Dataset.make_gee_plot(gee_map, show_stations=True, save=False, outputfile=None)[source]#

Make an interactive plot of a google earth dataset.

The location of the stations can be plotted on top of it.

Parameters:
  • gee_map (str, optional) – The name of the dataset to use. This name should be present in the settings.gee[‘gee_dataset_info’]. If aggregat is True, an aggregation scheme should included as well. The default is ‘worldcover’

  • show_stations (bool, optional) – If True, the stations will be plotted as markers. The default is True.

  • save (bool, optional) – If True, the map will be saved as an html file in the output_folder as defined in the settings if the outputfile is not set. The default is False.

  • outputfile (str, optional) – Specify the path of the html file if save is True. If None, and save is true, the html file will be saved in the output_folder. The default is None.

Returns:

Map – The folium Map instance.

Return type:

geemap.foliumap.Map

Warning

To display the interactive map a graphical backend is required, which is often missing on (free) cloud platforms. Therefore it is better to set save=True, and open the .html in your browser