def test_get_clcalipso_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'IPSL-CM6A-LR', 'CFmon', 'clcalipso') assert fix == [Clcalipso(None), AllVars(None)]
def test_get_gpp_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'CanESM5-CanOE', 'Lmon', 'gpp') assert fix == [Gpp(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP5', 'CSIRO-Mk3-6-0', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'CNRM-CM6-1-HR', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_tos_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'BCC-ESM1', 'Omon', 'tos') assert fix == [Tos(None)]
def test_get(self): """Test getting of fix.""" self.assertListEqual( Fix.get_fixes('CMIP5', 'ACCESS1-3', 'Amon', 'tas'), [AllVars(None)])
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP5', 'bcc-csm1-1-m', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_clcalipso_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'CNRM-ESM2-1', 'Amon', 'clcalipso') assert fix == [Clcalipso(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP5', 'MPI-ESM-MR', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_clw_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'GISS-E2-1-G', 'Amon', 'clw') assert fix == [Clw(None)]
def test_get_thetao_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'IPSL-CM6A-LR', 'Omon', 'thetao') assert fix == [Omon(None), AllVars(None)]
def test_get(self): self.assertListEqual(Fix.get_fixes('CMIP5', 'ACCESS1-0', 'tas'), [AllVars()])
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'SAM0-UNICON', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get(self): """Test fix get""" self.assertListEqual(Fix.get_fixes('CMIP5', 'BCC-CSM1-1-M', 'tos'), [Tos()])
def test_get_cli_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'BCC-CSM2-MR', 'Amon', 'cli') assert fix == [Cli(None)]
def test_get_sos_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'BCC-CSM2-MR', 'Omon', 'sos') assert fix == [Sos(None)]
def test_get_siconc_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'BCC-CSM2-MR', 'Omon', 'siconc') assert fix == [Siconc(None)]
def test_get_sfcwind_fix(): fix = Fix.get_fixes('CMIP6', 'KIOST-ESM', 'Amon', 'sfcWind') assert fix == [SfcWind(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP5', 'ACCESS1-3', 'Amon', 'cl') assert fix == [Cl(None), AllVars(None)]
def test_get_tas_fix(): fix = Fix.get_fixes('CMIP6', 'KIOST-ESM', 'Amon', 'tas') assert fix == [Tas(None)]
def test_get(self): """Test fix get.""" self.assertListEqual( Fix.get_fixes('CMIP5', 'bcc-csm1-1-m', 'Amon', 'tos'), [Tos(None)])
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP5', 'IPSL-CM5B-LR', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_clw_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'BCC-ESM1', 'Amon', 'clw') assert fix == [Clw(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'CAMS-CSM1-0', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'MIROC-ES2L', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_cl_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP5', 'GISS-E2-H', 'Amon', 'cl') assert fix == [Cl(None)]
def test_get_co2_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'CanESM5-CanOE', 'Amon', 'co2') assert fix == [Co2(None)]
def test_get_cli_fix(): """Test getting of fix.""" fix = Fix.get_fixes('CMIP6', 'MPI-ESM1-2-HR', 'Amon', 'cli') assert fix == [Cli(None)]