NCAR / NCAR/DART

Feature request: compiling multiple model_mods into dart

Open
#1,085 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Fortran
Stars
263
Forks
182
Avg merge
11d 12h
Merged PRs (30d)
7

Description

Use case

What are you trying to accomplish? Sometimes there may already be a way to do what you need.

Use multiple model_mods with dart programs to have more than one model in the state

Is your feature request related to a problem?

PSIF project on observations and forward operators
Forward operators which use state from multiple models, e.g. ocean + sea ice.

Describe your preferred solution

Please provide enough detail here to help people have a discussion about your proposal

Here is xmodel, which builds with ./quickbuild.sh

model_config.sh - where the models to be included are declared

./show_config.sh prints out the xmodel configuration.

https://github.com/hkershaw-brown/DART/tree/xmodel/models/xmodel

README.md
markdown docs at the moment, not sure whether these instructions are going in Jupyter notebooks.

Depends on "Route model_mod calls for DART programs though assim_model_mod" https://github.com/NCAR/DART/pull/1069

Describe any alternatives you have considered

List any alternative solutions or workarounds you have considered.
Not using DART for forward operators, using some external tool.

note - I added a note about this as a discussion in https://github.com/NCAR/DART/discussions/1084 but fleshed out feature request here.

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 with models/xmodel/README.md and the example scripts: model_config.sh declares included models, while quickbuild.sh builds and show_config.sh prints the configuration. Read the dependency on PR #1069 before assessing the compilation path. Done means a DART program can use multiple model_mods and the setup instructions describe the workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
build-system, compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.