fre.cmor: create CMIP7 flavored tests of cmor_run_subtool_further_examples#838
fre.cmor: create CMIP7 flavored tests of cmor_run_subtool_further_examples#838
fre.cmor: create CMIP7 flavored tests of cmor_run_subtool_further_examples#838Conversation
fre.cmor: create CMIP7 flavored tests of cmor_run_subtool_further_examples
|
@copilot iterate |
Fixed in 5d7b69d and 5bb93f3. The CMIP7 tests were failing because the CMIP7 CV only accepts |
|
still being poked at in |
Agent-Logs-Url: https://github.com/NOAA-GFDL/fre-cli/sessions/5619cc7c-e417-4715-8817-0eb67f6f42c4 Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NOAA-GFDL/fre-cli/sessions/5619cc7c-e417-4715-8817-0eb67f6f42c4 Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NOAA-GFDL/fre-cli/sessions/d7add212-1828-48ea-b763-e1f3e210aa5e Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
Agent-Logs-Url: https://github.com/NOAA-GFDL/fre-cli/sessions/d7add212-1828-48ea-b763-e1f3e210aa5e Co-authored-by: ilaflott <6273252+ilaflott@users.noreply.github.com>
5bb93f3 to
7dcdc38
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #838 +/- ##
=======================================
Coverage 84.12% 84.12%
=======================================
Files 71 71
Lines 4944 4944
=======================================
Hits 4159 4159
Misses 785 785
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Describe your changes
Adds CMIP7-flavored parametrized tests to
test_cmor_run_subtool_further_examples.py, mirroring the existing CMIP6 tests but exercising CMIP7 code paths (brand extraction, CMIP7 table configs, CMIP7 output path/file templates).CMIP7_TABLE_REPO_PATH,EXP_CONFIG_CMIP7,CMOR_CREATES_DIR_BASE_CMIP7following the CMIP7 DRS output path templatetest_cmip7_case_function: 3 parametrized cases (ocean/so/g99,ocean/sos/g99,land/lai/g99) usingCMIP7_ocean.jsonandCMIP7_land.jsontable configs withCMOR_CMIP7_input_example.jsonexp config. All cases useg99grid_label, the only value accepted by the CMIP7 Controlled Vocabulary.test_git_cleanup_cmip7: Restores the CMIP7 exp config after tests modify itfind_gold_ocean_statics_filefor all CMIP7 tests since there is no/archivepath available in CIIssue ticket number and link (if applicable)
Checklist before requesting a review