fremor.tests.test_cmor_run_subtool_cmip7_further_examples module

Expanded set of CMIP7 tests for fremor run — cases beyond test_cmor_run_subtool_cmip7.py.

These tests exercise cmor_run_subtool against a variety of variables, tables, and grid labels drawn from a mock pp-archive, targeting CMIP7 experiment configuration and CMIP7-format CMOR tables.

Tip

pytest temp directories By default pytest removes temp directories after the session. To keep them around for debugging, run:

pytest --basetemp=/tmp/fremor-debug -k test_case_cmip7 -x

Output files will then persist under /tmp/fremor-debug.

fremor.tests.test_cmor_run_subtool_cmip7_further_examples.test_case_cmip7(testfile_dir, table, opt_var_name, grid_label, start, calendar, tmp_path, monkeypatch)

Run cmor_run_subtool for a single CMIP7 variable and assert output exists.