def get_scale_factor(cmip6_model):
    """
    Gives the scale factor for creating filesets for the specified model.
    Some model inputs will give a default value specified below.

    :param cmip6_model:
    :return: scale factor
    """
    if "UKESM" in cmip6_model or "HadGEM3" in cmip6_model:
        SCALE_FACTOR = 2.0
    else:
        SCALE_FACTOR = 1.0

    return SCALE_FACTOR