def bss_score(model_names, ref_col, row_rmse):
    """ Computes the RMSE-based bss score based on model rmse
    and baseline rmse (baseline is either climatology or deb_cfsv2)"""
    baseline_rmse = row_rmse[ref_col]
    return 100. * (1. - row_rmse[model_names] / baseline_rmse)