def identify_scenario_climate(scen_info, target_run):
    """Given a run id, return its climate scenario.
    """
    try:
        c_scen = scen_info[target_run]['climate_scenario']
    except KeyError:
        s_id = "_".join(target_run.split('_')[0:4])
        match = {k: v for k, v in scen_info.items() if k.startswith(s_id)}
        c_scen = match[list(match.keys())[0]]['climate_scenario']
    # End try

    return c_scen