-
Notifications
You must be signed in to change notification settings - Fork 90
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
ENH: as_iterable for improved plugin argument handling + radius_by_lead_time using it #2088
Conversation
Let me know if this helps you out @mo-philrelton |
This did help @cpelley. I have created a PR which expands this to let the EPP workflow run. Could you merge this into your branch as I don't have the permissions to do so. I haven't added any tests for this, I can do so if you don't have the time. |
* MOBT-797: Coordinate retention in percentile generation (#2087) * Enable retention of scalar coordinates that are produced during percentile generation from coordinate collapse. This change also ensures that any scalar time coordinates that are created in this way adhere to the improver metadata standards. * style fixes. * Setting percentiles with as_iterable --------- Co-authored-by: bayliffe <benjamin.ayliffe@metoffice.gov.uk>
Looks like the changes from #2090 have been lost - probably in the rebase. |
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.
Works for me and all the tests pass properly.
Co-authored-by: Stephen Moseley <stephen.moseley@metoffice.gov.uk>
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.
Addresses: N/A
Description:
as_terable
to improver utilities, with a similar mindset to the previously addedas_cube
andas_cubes
functions there. This intends to improve the robustness of the plugin UI so that it does not unnecessarily require an iterable of an object when technically it should accommodate 1 of that object.as_iterable
in the radius_by_lead_time.Testing:
CLA
If a new developer, signed up to CLA