Replies: 1 comment
-
I think that is basically where was was going with this one https://github.com/landmanbester/stimecipes/blob/main/SNRG55.yaml. If it can be made neater I'm all for it |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@JSKenyon @Athanaseus I had a happy thought the other day. For-loops could be done somewhat simpler in the current stimela, thanks to the endless flexibility of the YaML-merge behaviour.
I've previously suggested the Jove recipe pattern to you, where there is one "single observation" recipe, and a separate outer loop recipe which invokes the observation recipe as a sub-recipe.
It occurs to me this can be made less clumsy. Leave the single observation recipe as is (let's say it has an
obs
input determining which observation to use). Then make a separateloop-config.yml
Then things become as simple as
And for more elaborate things, define
obs-config.yml
with amy-recipe: assign_based_on: obs
section which can tweak per-observation settings:Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions