metobs_toolkit.station.Station.get_landcover_fractions#
- Station.get_landcover_fractions(buffers: list = [100], aggregate: bool = False, overwrite: bool = True) dict[source]#
Get landcover fractions for a circular buffer at the station using GEE.
Wrapper method for get_static_gee_buffer_fraction_data to retrieve land cover fractions based on the ESA worldcoverV200 dataset.
- Parameters:
buffers (list of int, optional) – List of buffer sizes (in meters) to calculate land cover fractions for. Default is [100].
aggregate (bool, optional) – If True, aggregates the data over the buffers. Default is False.
overwrite (bool, optional) – If True, overwrites existing data. Default is True.
- Returns:
A nested dictionary where the keys are buffer radii and the values are the corresponding (aggregated) landcover classes.
- Return type:
dict
Warning
This method makes use of the GEE API. Make sure that you have access and user rights to use the GEE API.