Skip to content

Using the output from a diagnostic that ran earlier #3353

Answered by lukruh
malininae asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @malininae,

In the esmvaltool diagnostics that rely on each other (i.e. one using the output of another one) are considered as ancestors. If you specify them in the recipe as such, the tool will take care of running them in the correct order, waiting for tasks to finish when run parallel and so on. It also passes the output data folder from the ancestors as input data for the next diagnostic. You can find more on how to use ancestors in the documentation.

Afaik, it's possible to create a metadata.yml file from within an ancestor with the same structure as the one the preprocessor creates. This file will be read automatically and passed to the next diagnostic, but only contains metadata…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by malininae
Comment options

You must be logged in to vote
1 reply
@malininae
Comment options

malininae Oct 12, 2023
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants