Пример #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
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
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
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
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
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
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
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
def test_get_clw_fix():
    """Test getting of fix."""
    fix = Fix.get_fixes('CMIP6', 'BCC-ESM1', 'Amon', 'clw')
    assert fix == [Clw(None)]
Пример #24
0
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
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)]