Skip to content

CLI + YAML Configuration#238

Open
manishvenu wants to merge 14 commits into
mainfrom
cli-workflow
Open

CLI + YAML Configuration#238
manishvenu wants to merge 14 commits into
mainfrom
cli-workflow

Conversation

@manishvenu

@manishvenu manishvenu commented Jun 10, 2026

Copy link
Copy Markdown
Member

Details:

The way to think about this is that there is a new workflow.py file with a new CLI option create. These implement yaml setup. The rest of the changes spin out from that, noteably the shareable module changes.

Changes:

  1. Case Init outputs a JSON
  2. The MAJOR CHANGE: A new workflow file that accepts a yaml to setup a CrocoDash case and can rebuild a yaml from the output of case init and configure forcings json's
  3. A refactoring of shareable to use this new setup.
  4. A CLI to create cases this way. This allows us to call CrocoDash from the command line

@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown

📄 Preview your docs here:
👉 https://CROCODILE-CESM.github.io/CrocoDash/pr-238/index.html

@codecov

codecov Bot commented Jun 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
see 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@manishvenu manishvenu marked this pull request as draft June 10, 2026 20:45
…ase_from_yaml

- Add forcings to required_top in validate_config_structure — every
  CrocoDash case must configure and process forcings
- Call process_forcings() after configure_forcings() in create_case_from_yaml
@manishvenu manishvenu marked this pull request as ready for review June 10, 2026 23:36
@manishvenu manishvenu requested a review from alperaltuntas June 10, 2026 23:36
- Rename _patch_yaml_for_fork -> _configure_yaml_for_forked_case_args
- Add forcings to MINIMAL_VALID_CONFIG and test configs that lacked it
- Switch round-trip validation tests from get_CrocoDash_case to
  get_case_with_cf so they pass with forcings now required
- Remove test_validate_forcings_section_valid (redundant; forcings always required)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant