def find_scenario_number_from_string(scenario):
    """
    Reverse of the above method. Not currently used, but likely to be needed.

    Args:
        scenario: Scenario string
    Returns:
        scenario_number: The scenario number or None for baseline
    """

    # strip of the manual if being used in model_runner
    if 'manual_' in scenario:
        scenario_string = scenario.replace('manual_', '')
    elif 'uncertainty_' in scenario:
        scenario_string = scenario.replace('uncertainty_', '')
    else:
        scenario_string = scenario

    # find number or zero for baseline scenario
    if scenario_string == 'baseline':
        scenario_number = 0
    else:
        scenario_number = int(scenario_string[9:])
    return scenario_number