metobs_toolkit.station.Station.get_static_gee_point_data#

Station.get_static_gee_point_data(gee_manager: GEEStaticDatasetManager, update_metadata: bool = True, initialize_gee: bool = True)[source]#

Extract static data from GEE dataset at Station locations.

Retrieve Google Earth Engine (GEE) point data of a static dataset, for the station. The retrieved data is stored if overwrite is True.

Parameters:
  • gee_manager (GEEStaticDatasetManager) – An instance of GEEStaticDatasetManager representing the static GEE dataset to query.

  • update_metadata (bool, optional) – If True, the retrieved data will update existing data in the Station’s metadata. Default is True.

  • initialize_gee (bool, optional) – If True, initializes the GEE API before fetching the data. Default is True.

Returns:

The retrieved metadata from the specified GEE dataset.

Return type:

str or float

Notes

This method interacts with the GEE API to fetch metadata for the station’s location. Ensure that the GEE API is properly authenticated and initialized before using this method.