E3SM-Project / E3SM-Project/scream

Tool to query number of total subcycles for a process using `atmquery`

Open
#2,582 1 comment 0 reactions 0 assignees View on GitHub
CIME priority:wishlist
Dominant language
No language data
Stars
79
Forks
54
PR merge metrics
No merged PRs in 30d

Description

I was explaining how to determine the number of subcycles a specific process is running in EAMxx to someone and it occurred to me that it would be nice to be able to see the tree of subcycle levels with just one atmquery. For example, if you wanted to know how many times SHOC was subcycled you would need to check `number_of_subcycles` for
- `shoc`
- `mac_aero_mic`
- `physics`
And then know to multiply these together to get the effective SHOC timestep. If we had a way to do `./atmquery shoc::number_of_subcycles` and have it return not only that entry in `shoc` but also in all parent groups that would be useful. So for example if it returned something like
```
namelist_defaults::atmosphere_processes::physics::number_of_subcycles:1
namelist_defaults::atmosphere_processes::physics::mac_aero_mic::number_of_subcycles:12
namelist_defaults::atmosphere_processes::physics::mac_aero_mic::shoc::number_of_subcycles:1
```
then a user would have one command, all the info, and wouldn't need to know ahead of time that they should check parent groups too. Maybe the option could be an arg, like `./atmquery shoc::number_of_subcyles --robust_tree`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.