Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDSL should provide a framweork for physics namelists instead of specifying the namlist members and default values for specific physics models #64

Open
oelbert opened this issue Aug 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@oelbert
Copy link
Collaborator

oelbert commented Aug 9, 2024

Is your feature request related to a problem? Please describe.
Currently namelist.py provides the complete structure for a model namelist, including the physics settings. This means that 1) as we develop the Physics we need to also create a branch of NDSL to use in parallel, 2) the namelist is tailored to specific models instead of providing a general platform, and 3) the namelist in NDSL is getting pretty bloated as more physics is integrated. This is not a sustainable way to develop a model and breaks the concept of NDSL as a middleware platform.

Describe the solution you'd like
NDSL should provide the infrastructure to create namelist configs for model components like a NamelistFactory and then provide that for the dycore. Then the physics schemes like pySHiELD can import NamelistFactory to create PhysicsConfig. Pace itself can then import these and compose them into a single expected namelist.

Describe alternatives you've considered
Alternative ideas are welcome

@oelbert oelbert added the enhancement New feature or request label Aug 9, 2024
@oelbert oelbert mentioned this issue Aug 21, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant