-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add link to figures and work directory on index.html #1254
Comments
It should link the images if they are provided in the provenance. Could this be an issue with the recipe? Did the authors declare the path to the output png as part of the provenance? |
Indeed this is only useful if the provenance is not quite right yet. Or maybe if you would want to download all figures? |
Made a small pr with what this could look like. I don't have much time to test/debug it, so feel free to hi-jack in case this is useful, or otherwise close 😁 |
I think the png path was included in the provenance. @katjaweigel should know for sure Set provenance for output filesxprov <- list( provenance[[filencdf]] <- xprov |
Ok, if that is the problem, this is partly my fault. Recording provenance for figures like this never quite worked as it should and we intend to completely drop support for it at some point (it is already buggy and needlessly complicated). The correct way to do it would be xprov <- list(
ancestors = list(
fullpath_filenames[i]
),
authors = list(
"cionni_irene"
),
projects = list("crescendo"),
caption = title,
statistics = list("other"),
realms = list("atmos"),
themes = list("phys"),
)
provenance[[filepng]] <- xprov
provenance[[filencdf]] <- xprov i.e. write a new provenance record for every output file, regardless of the file type. |
Ok, good to know, then I'll change that in the PR ESMValGroup/ESMValTool#2153 (when Mistral is working again) |
Hi! I recently used the bot for the first time and needed some help finding the output figures. Is the link to the figures something you could add to the output page? The output page looks really pretty btw.
"The figures are there: https://esmvaltool.cloud.dkrz.de/shared/esmvaltool/esmvalbot-output/pvcf_gmddraft-kr0c7llt/recipe_pv_capacity_factor_20210712_081803/plots/capacity_factor/main/
This really should be improved that this link is not given on the esmvalbot output page but one needs to put it together from its link and the main_log.txt"
Originally posted by @Emmadd in ESMValGroup/ESMValTool#1882 (comment)
The text was updated successfully, but these errors were encountered: