esmvaltool/_config.py
def replace_mip_fx(fx_file):
    """Replace MIP so to retrieve correct fx files."""
    default_mip = 'Amon'
    if fx_file not in CFG['CMIP5']['fx_mip_change']:
        logger.warning(
            'mip for fx variable %s is not specified in '
            'config_developer.yml, using default (%s)', fx_file, default_mip)
    new_mip = CFG['CMIP5']['fx_mip_change'].get(fx_file, default_mip)
    logger.debug("Switching mip for fx file finding to %s", new_mip)
    return new_mip
Replace MIP so to retrieve correct fx files.
Replace MIP so to retrieve correct fx files.
Replace MIP so to retrieve correct fx files .
def replace_mip_fx(fx_file):
    default_mip = 'Amon'
    if fx_file not in CFG['CMIP5']['fx_mip_change']:
        logger.warning(
            'mip for fx variable %s is not specified in '
            'config_developer.yml, using default (%s)', fx_file, default_mip)
    new_mip = CFG['CMIP5']['fx_mip_change'].get(fx_file, default_mip)
    logger.debug("Switching mip for fx file finding to %s", new_mip)
    return new_mip
def replace_mip_fx ( fx_file ) : default_mip = 'Amon' if fx_file not in CFG [ 'CMIP5' ] [ 'fx_mip_change' ] : logger . warning ( 'mip for fx variable %s is not specified in ' 'config_developer.yml, using default (%s)' , fx_file , default_mip ) new_mip = CFG [ 'CMIP5' ] [ 'fx_mip_change' ] . get ( fx_file , default_mip ) logger . debug ( "Switching mip for fx file finding to %s" , new_mip ) return new_mip
Replace MIP so to retrieve correct fx files.
Replace MIP so to retrieve correct fx files .
"""Replace MIP so to retrieve correct fx files."""
fx_file