Source code for compass.landice.tests.ensemble_generator

from compass.landice.tests.ensemble_generator.branch_ensemble import (
    BranchEnsemble,
)
from compass.landice.tests.ensemble_generator.spinup_ensemble import (
    SpinupEnsemble,
)
from compass.testgroup import TestGroup


[docs] class EnsembleGenerator(TestGroup): """ A test group for generating ensembles of MALI simulations for uncertainty quantification or parameter sensitivity tests. """
[docs] def __init__(self, mpas_core): """ mpas_core : compass.landice.Landice the MPAS core that this test group belongs to """ super().__init__(mpas_core=mpas_core, name='ensemble_generator') self.add_test_case(SpinupEnsemble(test_group=self)) self.add_test_case(BranchEnsemble(test_group=self))