Source code for compass.landice.tests.ismip6_forcing

from compass.testgroup import TestGroup
from compass.landice.tests.ismip6_forcing.atmosphere import Atmosphere
from compass.landice.tests.ismip6_forcing.ocean_thermal import OceanThermal
from compass.landice.tests.ismip6_forcing.ocean_basal import OceanBasal


[docs] class Ismip6Forcing(TestGroup): """ A test group for processing the ISMIP6 ocean and atmosphere forcing data """
[docs] def __init__(self, mpas_core): """ Create the test group Parameters ---------- mpas_core : compass.landice.Landice the MPAS core that this test group belongs to """ super().__init__(mpas_core=mpas_core, name="ismip6_forcing") self.add_test_case(Atmosphere(test_group=self)) self.add_test_case(OceanBasal(test_group=self)) self.add_test_case(OceanThermal(test_group=self, process_obs=True)) self.add_test_case(OceanThermal(test_group=self, process_obs=False))