NCAR / NCAR/ccpp-framework

capgen should determine the list of schemes to compile from search path and list of suites

Open
#422 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

capgen-unification enhancement
Dominant language
Python
Stars
25
Forks
67
Avg merge
3d 8h
Merged PRs (30d)
2

Description

Description

When calling capgen, the host model needs to specify all input requirements, currently: list of metadata files (host, scheme), list of type definitions, list of suite definition files, ...

The following change is suggested: Instead of providing a list of scheme files and suites, provide a search path plus a list of suites. capgen should then return a list of schemes that need to be compiled to support the selected suites. An error must be generated if a scheme file cannot be found.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the capgen entry point and its current handling of scheme files, suite definitions, and other input requirements. Trace how the search path and selected suites could determine the schemes to compile, then identify the existing error path for missing files. Done means capgen returns the required schemes and reports an error when a scheme cannot be found.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.