-
Notifications
You must be signed in to change notification settings - Fork 15
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
Profile CLI run through dask #193
Conversation
For the cli tool recently added in pytroll#184, this adds an option to profile the run via dask and visualise the output as a bokeh plot.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #193 +/- ##
==========================================
+ Coverage 95.93% 95.96% +0.02%
==========================================
Files 14 14
Lines 3246 3268 +22
==========================================
+ Hits 3114 3136 +22
Misses 132 132
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
We should merge #184 first. |
In polar2grid I think I called this --create-profile and nargs=?. That way I could provide a default HTML file name with info about the reader and writer being used and the current time. |
I don't understand what you mean by "provide a default HTML file name". With |
Sorry. With I turned it into a context manager: You'll notice I also print out a |
I merged |
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.
LGTM
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.
LGTM
For the CLI added in #184, add an option to profile the results using dask.diagnostics and visualize the results as a bokeh plot.
flake8 trollflow2