metobs_toolkit.station.Station.get_altitude#

Station.get_altitude(overwrite: bool = True, initialize_gee: bool = True) float[source]#

Retrieve altitude for the station using Google Earth Engine (GEE).

Parameters:
  • overwrite (bool, optional) – If True, overwrite existing altitude 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.

Returns:

The altitude of the station.

Return type:

float

Notes

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