You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing cubes in any order is something I have been pushing since coming to the area (using metadata rather than relying on index). To that end, #1754 is one method which works towards this goal. I'm not 100% that the use of clize and of the existing plugin framework is the simplest and most transparent approach for improver but perhaps #1754 is a reasonable approach for the existing framework at least for now given that it is self contained.
Since python execution, we needn't necessarily go via the CLI (clize). So it begs the question whether we need clize or a CLI for that matter. paraflow task_runner might potentially become responsible for calling our 'plugins' directly.
I think plugins could be handled via a simple factory class where you register your plugins (inc. a register decorator). This would allow registering external plugins easily too - one might want non-improver plugins perhaps in paraflow which do python based system equivalents like copying files, creating symbolic links etc. (something I have been thinking about in https://github.com/MetOffice/improver_suite/issues/1220).
Discuss and document:
The text was updated successfully, but these errors were encountered: