-
Notifications
You must be signed in to change notification settings - Fork 44
Added land/sea fraction weighting preprocessor #331
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
Conversation
…riable' into landsea_fraction_preprocessor
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
Co-Authored-By: Mattia Righi <[email protected]>
|
In my opinion explicitly having to set an option to
Because it's way more user friendly. Using two different preprocessors requires another block in the BTW, all the |
|
It would be really nice if we could merge this soon, since I need it for ESMValGroup/ESMValTool#473. Maybe someone else has an opinion on this? @valeriupredoi @mattiarighi |
|
Good by me, man, travelling but will approve it in an hour or so when I get
back to Reading 🍺
Dr Valeriu Predoi.
Computational scientist
NCAS-CMS
University of Reading
Department of Meteorology
Reading RG6 6BB
United Kingdom
…On Tue, 12 Nov 2019, 13:45 Manuel Schlund, ***@***.***> wrote:
It would be really nice if we could merge this soon, since I need it for
ESMValGroup/ESMValTool#473
<ESMValGroup/ESMValTool#473>.
Maybe someone else has an opinion on this? @valeriupredoi
<https://github.com/valeriupredoi> @mattiarighi
<https://github.com/mattiarighi>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#331?email_source=notifications&email_token=AG5EFI5HK2HUO6M5ENCCEZ3QTKXQBA5CNFSM4JEDTMW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED2JGJA#issuecomment-552899364>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG5EFI5ZOLVTTUYZGRFTQWTQTKXQBANCNFSM4JEDTMWQ>
.
|
|
I'm fine with this, although I had no time to test it. |
|
@bouweandela, do you have further comments? |
|
I'm still not convinced that this is a good approach, for the reasons mentioned above. If you really insist on using one preprocessor profile to do two different preprocessing chains, maybe an |
|
All right, that sounds like a reasonable compromise to me. I will implement this as soon as possible. |
…eighting preprocessor
|
@bouweandela I made all necessary changes, hopefully we can merge this soon now. |
bouweandela
left a comment
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.
Looks good to me now. Could you please also make the pull request to adapt exiting recipes so they use the new preprocessor function instead of a derived variable?
|
@mattiarighi Please test before merging, I only looked at the code. |
|
Will do 👍 |
|
I can only test this together with the corresponding PR in ESMValTool where the recipes are adjusted. |
|
Tested successfully! 🎉 |
|
@schlunma @mattiarighi Is there a corresponding pull request in the ESMValTool repository already? Or is this not needed? Already done? |
|
@bouweandela Only small changes were necessary, they have already been addressed in ESMValGroup/ESMValTool#1466. |
This PR adds a land/sea fraction weighting preprocessor as suggested by @ChrisJones-MOHC in #298 (I borrowed some text of your issue for the documentation, I hope that's okay 😁). With this change, many derived variables are not needed anymore, so there are a few changes necessary in ESMValTool after that.
Requires #230.
yamllintto check that your YAML files do not contain mistakesIf you need help with any of the tasks above, please do not hesitate to ask by commenting in the issue or pull request.
Closes #298. Necessary for ESMValGroup/ESMValTool#473.
Necessary changes for
ESMValTool: ESMValGroup/ESMValTool#1466.