Skip to content

Radiation budget: labelling plots with alias#4292

Open
NParsonsMO wants to merge 16 commits into
mainfrom
4291-amend-radiation-budget-to-use-alias
Open

Radiation budget: labelling plots with alias#4292
NParsonsMO wants to merge 16 commits into
mainfrom
4291-amend-radiation-budget-to-use-alias

Conversation

@NParsonsMO

@NParsonsMO NParsonsMO commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

Changing the f-strings in the plot titles to use a dataset's alias instead of its name.


Before you get started

Checklist

It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

New or updated recipe/diagnostic

New or updated data reformatting script


To help with the number of pull requests:

@NParsonsMO NParsonsMO self-assigned this Dec 17, 2025
@NParsonsMO NParsonsMO linked an issue Dec 17, 2025 that may be closed by this pull request
@NParsonsMO NParsonsMO changed the title Amending plot f-strings Radiation budget: labelling plots with alias Dec 17, 2025
@NParsonsMO

NParsonsMO commented Dec 17, 2025

Copy link
Copy Markdown
Contributor Author

Output before change:
image

@NParsonsMO

Copy link
Copy Markdown
Contributor Author

Output after change:
image

@NParsonsMO NParsonsMO requested a review from ehogan December 17, 2025 15:34
@NParsonsMO

Copy link
Copy Markdown
Contributor Author

@ehogan I'm not sure if I should change the picture in the documentation? Or mention alias in there somewhere?

@valeriupredoi

Copy link
Copy Markdown
Contributor

@ehogan yet again GH notifies me of a PR that's being created by a MO bod, though I'm neither assigned nor requested as a reviewer - heck, am not even of an owner of the code that's being changed; I noticed this previously with your guys' work on RTW, do you folks at the MO have a config setting that says "ping V everytime we open a PR"? 🤣

@ehogan

ehogan commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

@ehogan yet again GH notifies me of a PR that's being created by a MO bod, though I'm neither assigned nor requested as a reviewer - heck, am not even of an owner of the code that's being changed; I noticed this previously with your guys' work on RTW, do you folks at the MO have a config setting that says "ping V everytime we open a PR"? 🤣

🤣 Not to my knowledge! 🤪 I can't see why you would have been notified?! 🤯

@NParsonsMO NParsonsMO marked this pull request as ready for review January 5, 2026 08:10

@ehogan ehogan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @NParsonsMO 🥳

Comment thread esmvaltool/diag_scripts/radiation_budget/radiation_budget.py Outdated
Comment thread esmvaltool/diag_scripts/radiation_budget/radiation_budget.py Outdated
Comment thread esmvaltool/diag_scripts/radiation_budget/radiation_budget.py
@ehogan

ehogan commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

@ehogan I'm not sure if I should change the picture in the documentation? Or mention alias in there somewhere?

Good question. I wonder whether it's worth adding something to ESMValTool documentation: Radiation Budget: User settings in recipe to mention that alias can be added to the dataset? The only documentation I can find about what should be in this section is in the template, and it doesn't mention "settings for dataset" but hopefully it's ok to add something about that here? 🤔

@NParsonsMO

NParsonsMO commented Mar 20, 2026

Copy link
Copy Markdown
Contributor Author

@ehogan I'm not sure if I should change the picture in the documentation? Or mention alias in there somewhere?

Good question. I wonder whether it's worth adding something to ESMValTool documentation: Radiation Budget: User settings in recipe to mention that alias can be added to the dataset? The only documentation I can find about what should be in this section is in the template, and it doesn't mention "settings for dataset" but hopefully it's ok to add something about that here? 🤔

I put it in "User settings in recipe".

e172b65

@NParsonsMO NParsonsMO requested a review from ehogan March 20, 2026 10:54

@ehogan ehogan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @NParsonsMO! 🥳


.. code-block:: yaml

{dataset: HadGEM3-GC31-LL, alias: HadGEM3-GC3.1 N96ORCA1, project: ... }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work with the white space? 😮

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, while we are here, would it be possible to remove the indentation from the bullet list items above (L25, L29 and L30) so that the documentation renders correctly, please? 😊

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this work with the white space? 😮

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, while we are here, would it be possible to remove the indentation from the bullet list items above (L25, L29 and L30) so that the documentation renders correctly, please? 😊

063394b

Comment thread esmvaltool/diag_scripts/radiation_budget/radiation_budget.py Outdated
Comment thread esmvaltool/diag_scripts/radiation_budget/radiation_budget.py Outdated
NParsonsMO and others added 2 commits June 16, 2026 11:48
Co-authored-by: Emma Hogan <ehogan@users.noreply.github.com>
Co-authored-by: Emma Hogan <ehogan@users.noreply.github.com>
@NParsonsMO NParsonsMO requested a review from ehogan June 16, 2026 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Amend radiation budget slightly to label plots with an alias

3 participants