def METHOD_NAME():
    """
    Assign weather data to the weather dependant generators (wind and solar)
    Parameters
    ----------
    *No parameters required
    """
    # Connect to the data base
    con = db.engine()
    cfg = egon.data.config.datasets()["weather_BusID"]
    # Import table with power plants
    sql = f"""
    SELECT * FROM
    {cfg['sources']['power_plants']['schema']}.
    {cfg['sources']['power_plants']['table']}
    """
    power_plants = gpd.GeoDataFrame.from_postgis(
        sql, con, crs="EPSG:4326", geom_col="geom"
    )
    # select the power_plants that are weather dependant (wind offshore is
    # not included here, because it alredy has weather_id assigned)
    power_plants = power_plants[
        (power_plants["carrier"] == "solar")
        | (power_plants["carrier"] == "wind_onshore")
    ]
    power_plants.set_index("id", inplace=True)
    # Import table with weather data for each technology
    sql = f"""
    SELECT * FROM
    {cfg['sources']['renewable_feedin']['schema']}.
    {cfg['sources']['renewable_feedin']['table']}
    """
    weather_data = pd.read_sql_query(sql, con)
    weather_data.set_index("w_id", inplace=True)
    # Import weather cells with Id to match with the weather data
    sql = f"""
    SELECT * FROM
    {cfg['sources']['weather_cells']['schema']}.
    {cfg['sources']['weather_cells']['table']}
    """
    weather_cells = gpd.GeoDataFrame.from_postgis(
        sql, con, crs="EPSG:4326", geom_col="geom"
    )
    # import Germany borders to speed up the matching process
    sql = "SELECT * FROM boundaries.vg250_sta"
    sql = f"""
    SELECT * FROM
    {cfg['sources']['boundaries']['schema']}.
    {cfg['sources']['boundaries']['table']}
    """
    boundaries = gpd.GeoDataFrame.from_postgis(
        sql, con, crs="EPSG:4326", geom_col="geometry"
    )
    # Clip weater data cells using the German boundaries
    weather_cells = gpd.clip(weather_cells, boundaries)
    for weather_id in weather_cells["w_id"]:
        df = gpd.clip(
            power_plants, weather_cells[weather_cells["w_id"] == weather_id]
        )
        power_plant_list = df.index.to_list()
        power_plants.loc[power_plant_list, "weather_cell_id"] = weather_id
    return (power_plants, cfg, con)