コード例 #1
0
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)]
コード例 #2
0
def test_get_gpp_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'CanESM5-CanOE', 'Lmon', 'gpp')
    assert fix == [Gpp(None)]
コード例 #3
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP5', 'CSIRO-Mk3-6-0', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #4
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'CNRM-CM6-1-HR', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #5
0
ファイル: test_bcc_esm1.py プロジェクト: xiajz/ESMValCore
def test_get_tos_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'BCC-ESM1', 'Omon', 'tos')
    assert fix == [Tos(None)]
コード例 #6
0
 def test_get(self):
     """Test getting of fix."""
     self.assertListEqual(
         Fix.get_fixes('CMIP5', 'ACCESS1-3', 'Amon', 'tas'),
         [AllVars(None)])
コード例 #7
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP5', 'bcc-csm1-1-m', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #8
0
ファイル: test_cnrm_esm2_1.py プロジェクト: xiajz/ESMValCore
def test_get_clcalipso_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'CNRM-ESM2-1', 'Amon', 'clcalipso')
    assert fix == [Clcalipso(None)]
コード例 #9
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP5', 'MPI-ESM-MR', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #10
0
ファイル: test_giss_e2_1_g.py プロジェクト: xiajz/ESMValCore
def test_get_clw_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'GISS-E2-1-G', 'Amon', 'clw')
    assert fix == [Clw(None)]
コード例 #11
0
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)]
コード例 #12
0
 def test_get(self):
     self.assertListEqual(Fix.get_fixes('CMIP5', 'ACCESS1-0', 'tas'),
                          [AllVars()])
コード例 #13
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'SAM0-UNICON', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #14
0
 def test_get(self):
     """Test fix get"""
     self.assertListEqual(Fix.get_fixes('CMIP5', 'BCC-CSM1-1-M', 'tos'),
                          [Tos()])
コード例 #15
0
ファイル: test_bcc_csm2_mr.py プロジェクト: xiajz/ESMValCore
def test_get_cli_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'BCC-CSM2-MR', 'Amon', 'cli')
    assert fix == [Cli(None)]
コード例 #16
0
def test_get_sos_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'BCC-CSM2-MR', 'Omon', 'sos')
    assert fix == [Sos(None)]
コード例 #17
0
ファイル: test_bcc_csm2_mr.py プロジェクト: xiajz/ESMValCore
def test_get_siconc_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'BCC-CSM2-MR', 'Omon', 'siconc')
    assert fix == [Siconc(None)]
コード例 #18
0
ファイル: test_kiost_esm.py プロジェクト: senesis/ESMValCore
def test_get_sfcwind_fix():
    fix = Fix.get_fixes('CMIP6', 'KIOST-ESM', 'Amon', 'sfcWind')
    assert fix == [SfcWind(None)]
コード例 #19
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP5', 'ACCESS1-3', 'Amon', 'cl')
    assert fix == [Cl(None), AllVars(None)]
コード例 #20
0
ファイル: test_kiost_esm.py プロジェクト: senesis/ESMValCore
def test_get_tas_fix():
    fix = Fix.get_fixes('CMIP6', 'KIOST-ESM', 'Amon', 'tas')
    assert fix == [Tas(None)]
コード例 #21
0
 def test_get(self):
     """Test fix get."""
     self.assertListEqual(
         Fix.get_fixes('CMIP5', 'bcc-csm1-1-m', 'Amon', 'tos'), [Tos(None)])
コード例 #22
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP5', 'IPSL-CM5B-LR', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #23
0
ファイル: test_bcc_esm1.py プロジェクト: xiajz/ESMValCore
def test_get_clw_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'BCC-ESM1', 'Amon', 'clw')
    assert fix == [Clw(None)]
コード例 #24
0
ファイル: test_cams_csm1_0.py プロジェクト: xiajz/ESMValCore
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'CAMS-CSM1-0', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #25
0
ファイル: test_miroc_es2l.py プロジェクト: xiajz/ESMValCore
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'MIROC-ES2L', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #26
0
def test_get_cl_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP5', 'GISS-E2-H', 'Amon', 'cl')
    assert fix == [Cl(None)]
コード例 #27
0
def test_get_co2_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'CanESM5-CanOE', 'Amon', 'co2')
    assert fix == [Co2(None)]
コード例 #28
0
def test_get_cli_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'MPI-ESM1-2-HR', 'Amon', 'cli')
    assert fix == [Cli(None)]