{"action":"opened","issue":{"url":"https://api.github.com/repos/project8/dragonfly/issues/136","repository_url":"https://api.github.com/repos/project8/dragonfly","labels_url":"https://api.github.com/repos/project8/dragonfly/issues/136/labels{/name}","comments_url":"https://api.github.com/repos/project8/dragonfly/issues/136/comments","events_url":"https://api.github.com/repos/project8/dragonfly/issues/136/events","html_url":"https://github.com/project8/dragonfly/issues/136","id":297653668,"number":136,"title":"Cleaner implementation of get_raw_adc_data in roach2_interface","user":{"login":"wcpettus","id":10961789,"avatar_url":"https://avatars3.githubusercontent.com/u/10961789?v=4","gravatar_id":"","url":"https://api.github.com/users/wcpettus","html_url":"https://github.com/wcpettus","followers_url":"https://api.github.com/users/wcpettus/followers","following_url":"https://api.github.com/users/wcpettus/following{/other_user}","gists_url":"https://api.github.com/users/wcpettus/gists{/gist_id}","starred_url":"https://api.github.com/users/wcpettus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wcpettus/subscriptions","organizations_url":"https://api.github.com/users/wcpettus/orgs","repos_url":"https://api.github.com/users/wcpettus/repos","events_url":"https://api.github.com/users/wcpettus/events{/privacy}","received_events_url":"https://api.github.com/users/wcpettus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-16T01:18:11Z","updated_at":"2018-02-16T01:18:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In the `get_raw_adc_data` (also `get_T_packets` and `get_F_packets`) method of the Roach2Interface, it dumps the data into a json file.  If an operator is creating multiple such dumps, there is no mechanism to create a unique directory for the data.\r\n\r\n```python\r\n        filename = '{}/mean_of_{}_raw_adc_spectra.json'.format(path, str(16*N))\r\n        with open(filename, 'w') as outfile:\r\n            json.dump(p.tolist(), outfile)\r\n```\r\n\r\nShould we just make mdreceiver write the data?"}}
{"actor":{"display_login":"wcpettus"}}