metobs_toolkit.dataset.Dataset.get_LCZ#
- Dataset.get_LCZ(update_metadata: bool = True, initialize_gee: bool = True, apply_seamask_fix: bool = True) DataFrame[source]#
Retrieve Local Climate Zone (LCZ) for the stations using Google Earth Engine (GEE).
- Parameters:
update_metadata (bool, optional) – If True, update existing LCZ data if stored in the ´Site´ instances. Default is True.
initialize_gee (bool, optional) – If True, initialize the Google Earth Engine API before fetching data. Default is True.
apply_seamask_fix (bool, optional) – The LCZ map is only defined over land, and thus locations in sea will have a LCZ of Nan. If this argument is set to True, Nan values return by the GEE call are converted to the LCZ-G (water) category.
- Returns:
A DataFrame containing the LCZ data for the stations, with the station names as index.
- Return type:
pandas.DataFrame