Source code for compass.landice.tests.ismip6_forcing.shelf_collapse

from compass.landice.tests.ismip6_forcing.configure import (
    configure as configure_testgroup,
)
from compass.landice.tests.ismip6_forcing.shelf_collapse.process_shelf_collapse import (  # noqa: E501
    ProcessShelfCollapse,
)
from compass.testcase import TestCase


[docs] class ShelfCollapse(TestCase): """ A test case for processing the ISMIP6 shelf-collapse mask data. The test case builds a mapping file for interpolation between the ISMIP6 polarstereo grid and MALI mesh, regrids the forcing data and renames the ISMIP6 variables to corresponding MALI variables. """
[docs] def __init__(self, test_group): """ Create the test case Parameters ---------- test_group : compass.landice.tests.ismip6_forcing.Ismip6Forcing The test group that this test case belongs to """ name = "shelf_collapse" super().__init__(test_group=test_group, name=name) step = ProcessShelfCollapse(test_case=self) self.add_step(step)
[docs] def configure(self): """ Configures test case """ configure_testgroup(config=self.config, check_model_options=False)