{"action":"created","issue":{"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/259","repository_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis","labels_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/259/labels{/name}","comments_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/259/comments","events_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/259/events","html_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/259","id":263690169,"number":259,"title":"Switch from subprocess to multiprocessing","user":{"login":"xylar","id":4179064,"avatar_url":"https://avatars0.githubusercontent.com/u/4179064?v=4","gravatar_id":"","url":"https://api.github.com/users/xylar","html_url":"https://github.com/xylar","followers_url":"https://api.github.com/users/xylar/followers","following_url":"https://api.github.com/users/xylar/following{/other_user}","gists_url":"https://api.github.com/users/xylar/gists{/gist_id}","starred_url":"https://api.github.com/users/xylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylar/subscriptions","organizations_url":"https://api.github.com/users/xylar/orgs","repos_url":"https://api.github.com/users/xylar/repos","events_url":"https://api.github.com/users/xylar/events{/privacy}","received_events_url":"https://api.github.com/users/xylar/received_events","type":"User","site_admin":false},"labels":[{"id":396974348,"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":560292568,"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/labels/priority","name":"priority","color":"ffb405","default":false}],"state":"open","locked":false,"assignee":{"login":"xylar","id":4179064,"avatar_url":"https://avatars0.githubusercontent.com/u/4179064?v=4","gravatar_id":"","url":"https://api.github.com/users/xylar","html_url":"https://github.com/xylar","followers_url":"https://api.github.com/users/xylar/followers","following_url":"https://api.github.com/users/xylar/following{/other_user}","gists_url":"https://api.github.com/users/xylar/gists{/gist_id}","starred_url":"https://api.github.com/users/xylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylar/subscriptions","organizations_url":"https://api.github.com/users/xylar/orgs","repos_url":"https://api.github.com/users/xylar/repos","events_url":"https://api.github.com/users/xylar/events{/privacy}","received_events_url":"https://api.github.com/users/xylar/received_events","type":"User","site_admin":false},"assignees":[{"login":"xylar","id":4179064,"avatar_url":"https://avatars0.githubusercontent.com/u/4179064?v=4","gravatar_id":"","url":"https://api.github.com/users/xylar","html_url":"https://github.com/xylar","followers_url":"https://api.github.com/users/xylar/followers","following_url":"https://api.github.com/users/xylar/following{/other_user}","gists_url":"https://api.github.com/users/xylar/gists{/gist_id}","starred_url":"https://api.github.com/users/xylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylar/subscriptions","organizations_url":"https://api.github.com/users/xylar/orgs","repos_url":"https://api.github.com/users/xylar/repos","events_url":"https://api.github.com/users/xylar/events{/privacy}","received_events_url":"https://api.github.com/users/xylar/received_events","type":"User","site_admin":false}],"milestone":null,"comments":42,"created_at":"2017-10-08T03:42:41Z","updated_at":"2017-10-19T22:31:34Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/pulls/259","html_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/259","diff_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/259.diff","patch_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/259.patch"},"body":"In order to support better data availability between tasks (e.g.\r\nif tasks depend on data from the setup of other tasks), tasks are\r\nnow subclasses of `multiprocess.Process`.  This work is needed  to\r\nsupport subtasks (e.g. for producing climatologies, or for generating \r\neach plot from a task).\r\n\r\nLogging is also altered so that each task has a logger, to which\r\ninfo, errors and warnings should be logged.  Print statements will\r\nautomatically go to the logger as \"info\" while exceptions and\r\nwarnings raised through the `warning` module will be logged as\r\nerrors.\r\n\r\nBecause `multiprocess.Process` already uses a method called `run()`,\r\nthe `run()` method of `AnalysisTask` and its derived classes had to\r\nbe renamed to `run_analysis()`."},"comment":{"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/comments/338056254","html_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/259#issuecomment-338056254","issue_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/259","id":338056254,"user":{"login":"pwolfram","id":4295853,"avatar_url":"https://avatars3.githubusercontent.com/u/4295853?v=4","gravatar_id":"","url":"https://api.github.com/users/pwolfram","html_url":"https://github.com/pwolfram","followers_url":"https://api.github.com/users/pwolfram/followers","following_url":"https://api.github.com/users/pwolfram/following{/other_user}","gists_url":"https://api.github.com/users/pwolfram/gists{/gist_id}","starred_url":"https://api.github.com/users/pwolfram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwolfram/subscriptions","organizations_url":"https://api.github.com/users/pwolfram/orgs","repos_url":"https://api.github.com/users/pwolfram/repos","events_url":"https://api.github.com/users/pwolfram/events{/privacy}","received_events_url":"https://api.github.com/users/pwolfram/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T22:31:34Z","updated_at":"2017-10-19T22:31:34Z","author_association":"COLLABORATOR","body":"@xylar, I should also note that at this point my code is essentially \"legacy-esq\" as I have contributed 6400 lines / changes to the repo and you have committed 62,600-- which is essentially an order of magnitude more.  I would, at this point, benefit from some type of developer tutorial for the system as I'm sure others would too."}}
{"actor":{"display_login":"pwolfram"}}