metobs_toolkit.station.Station.get_LCZ#

Station.get_LCZ(update_metadata: bool = True, initialize_gee: bool = True, apply_seamask_fix: bool = True) str[source]#

Retrieve Local Climate Zone (LCZ) for the station using Google Earth Engine (GEE).

Parameters:
  • update_metadata (bool, optional) – If True, update existing LCZ data if stored in the Site attribute. 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:

The LCZ of the station.

Return type:

str

Notes

This method relies on the get_static_gee_point_data function and the default_gee_datasets dictionary to fetch the LCZ data.