docs: def create_single_weather(df, rename_dc):
      """Create an oemof weather object for the given geometry"""
      my_weather = weather.FeedinWeather()
      data_height = {}
      name = None
      # Create a pandas.DataFrame with the time series of the weather data set
      weather_df = pd.DataFrame(index=df.time_series.iloc[0].index)
      for row in df.iterrows():
          key = rename_dc[row[1].type]
          weather_df[key] = row[1].time_series
          data_height[key] = row[1].height if not np.isnan(row[1].height) else 0
          name = row[1].gid
      my_weather.data = weather_df
      my_weather.timezone = weather_df.index.tz
      my_weather.longitude = df.geom_point.iloc[0].x
      my_weather.latitude = df.geom_point.iloc[0].y
      my_weather.geometry = df.geom_point.iloc[0]
      my_weather.data_height = data_height
      my_weather.name = name
      return my_weather