def format_dict(dict_in):
    """
    Format the dictionary to use upper-case keys.

    Parameters
    ----------
    dict_in : dict
        input dictionary
    """
    dict_out = {}
    for key in dict_in:
        new_key = str(key).upper()
        if new_key != key and new_key in dict_in:
            print('Your given OGS-keywords are not unique: ' + new_key)
            print('  --> DATA WILL BE LOST')
        dict_out[new_key] = dict_in[key]
    return dict_out
