Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,26 @@ def test_factory_coeff_gradekin(
assert test_helpers.dallclose(field_ref.asnumpy(), field.asnumpy(), rtol=1e-8)


@pytest.mark.level("integration")
@pytest.mark.datatest
def test_factory_wgtfacq_c(
grid_savepoint: serialbox.IconGridSavepoint,
metrics_savepoint: serialbox.MetricSavepoint,
topography_savepoint: serialbox.TopographySavepoint,
experiment: definitions.Experiment,
backend: gtx_typing.Backend | None,
) -> None:
factory = _get_metrics_factory(
backend=backend,
experiment=experiment,
grid_savepoint=grid_savepoint,
topography_savepoint=topography_savepoint,
)
field = factory.get(attrs.WGTFACQ_C)
field_ref = metrics_savepoint.wgtfacq_c()
assert test_helpers.dallclose(field_ref.asnumpy(), field.asnumpy())


@pytest.mark.level("integration")
@pytest.mark.datatest
def test_factory_wgtfacq_e(
Expand Down