-
Notifications
You must be signed in to change notification settings - Fork 128
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
Adapt ESMValTool to new configuration #3761
Merged
Merged
Changes from 19 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
6685cd0
Remove obsolete config-user
schlunma d15683e
Fix CI test
schlunma 6891007
Adapt doc
schlunma 42403fa
Adapt recipe filler
schlunma 6328ade
Adapt CMORizers
schlunma 9e185bc
Adapt diags
schlunma 0119432
Adapt recipes
schlunma 1aad242
Adapt generate.py
schlunma d3eab26
Adapt NCL logging
schlunma 78f8315
Undo changes in individual CMORizers
schlunma 0aea81d
Undo changes in individual CMORizers
schlunma 429c767
Typo
schlunma 7b14a54
Merge branch 'main' into new_config
schlunma 2fc5a46
Fix NCL code style
schlunma 56db54d
Backwards-compatible CMORizer tests
schlunma f5a13a2
Backwards-compatible diagnostic run tests
schlunma c49c6a8
isort
schlunma 8cae713
Remove print
schlunma 0e9f378
Do not test deprecation warnings from ESMValCore
schlunma dfcc120
Expand environment variables when reading config dirs for CMORizer
schlunma 697e60f
Do not use bare Exception
schlunma f31f9b7
Add FAQ how to read multiple config dirs
schlunma d67b4bc
Update esmvaltool/cmorizers/data/datasets.yml
schlunma cf85b57
remove "user" before configuration
schlunma 2f842ec
Merge remote-tracking branch 'public/main' into new_config
schlunma 51ef776
Better line breaks in doc
schlunma 8725b41
Merge branch 'main' into new_config
schlunma 918471c
Update doc/sphinx/source/recipes/recipe_oceans.rst
schlunma 4db3491
Update doc/sphinx/source/recipes/recipe_shapeselect.rst
schlunma ce62d9f
`rootpath` -> ``rootpath``
schlunma 75e2b33
`auxiliary_data_dir` -> ``auxiliary_data_dir``
schlunma c95184f
Merge remote-tracking branch 'public/main' into new_config
schlunma 1847f2f
Merge remote-tracking branch 'public/main' into new_config
schlunma f0e7565
Restored original recipe_filler
schlunma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use double backticks around
rootpath
to make it monospace (a single backtick is italic and the convention is to use monospace for things that have to be typed exactly like that)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I am always unsure about this. Numpy recommends to enclose parameter names in single backticks, and they seem to be aware of the different meanings of single backticks in markdown and reST. I've also seen the usage of italic font for parameters in Numpy's (and other project's) API documentation (e.g.,
bins
here). That's why I used single backticks here.However, I can totally see your point about the double backticks. As long as we use one convention consistently (and we're currently certainly not doing that), I guess both are fine? So maybe we should just once and for all decide on one and continue to use that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in ce62d9f and 75e2b33
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I assumed our convention was to use monospace font for things that need to be written exactly like that to work and all the other cases were people who just forgot that in .rst you need double backticks to create monospace fonts. Maybe we need to write this in our contributor docs somewhere too. From the text you linked it looks like numpy plans to adopt the same convention, but are working on some feature to make that work with single backticks: