metobs_toolkit.dataset.Dataset.get_altitude#

Dataset.get_altitude(update_metadata: bool = True, initialize_gee: bool = True) DataFrame[source]#

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

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

Returns:

A DataFrame containing the altitude data for the stations, with the station names as index.

Return type:

pandas.DataFrame