-
Notifications
You must be signed in to change notification settings - Fork 14
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
base: main
Are you sure you want to change the base?
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 Report
@@ Coverage Diff @@
## main #193 +/- ##
==========================================
+ Coverage 95.56% 95.92% +0.35%
==========================================
Files 13 15 +2
Lines 2821 3091 +270
==========================================
+ Hits 2696 2965 +269
- Misses 125 126 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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 |
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