{"action":"created","issue":{"url":"https://api.github.com/repos/casacore/python-casacore/issues/141","repository_url":"https://api.github.com/repos/casacore/python-casacore","labels_url":"https://api.github.com/repos/casacore/python-casacore/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/casacore/python-casacore/issues/141/comments","events_url":"https://api.github.com/repos/casacore/python-casacore/issues/141/events","html_url":"https://github.com/casacore/python-casacore/issues/141","id":373959245,"node_id":"MDU6SXNzdWUzNzM5NTkyNDU=","number":141,"title":"Measures solar-system-objects directions not working","user":{"login":"sabourke","id":10067474,"node_id":"MDQ6VXNlcjEwMDY3NDc0","avatar_url":"https://avatars3.githubusercontent.com/u/10067474?v=4","gravatar_id":"","url":"https://api.github.com/users/sabourke","html_url":"https://github.com/sabourke","followers_url":"https://api.github.com/users/sabourke/followers","following_url":"https://api.github.com/users/sabourke/following{/other_user}","gists_url":"https://api.github.com/users/sabourke/gists{/gist_id}","starred_url":"https://api.github.com/users/sabourke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabourke/subscriptions","organizations_url":"https://api.github.com/users/sabourke/orgs","repos_url":"https://api.github.com/users/sabourke/repos","events_url":"https://api.github.com/users/sabourke/events{/privacy}","received_events_url":"https://api.github.com/users/sabourke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T13:53:03Z","updated_at":"2018-10-30T14:58:57Z","closed_at":null,"author_association":"NONE","body":"Hi, the following code used to work for me:\r\n```\r\nimport casacore.measures\r\n\r\nme = casacore.measures.measures()\r\noso = me.observatory('OSO')\r\ntime = me.epoch('UTC', 'today')\r\nsun = me.direction('SUN')\r\n\r\nme.do_frame(oso)\r\nme.do_frame(time)\r\n\r\nsun_azel = me.measure(sun, 'AZEL')\r\n```\r\nbut now it fails with:\r\n```\r\n  File \"t1.py\", line 10, in <module>\r\n    sun_azel = me.measure(sun, 'AZEL')\r\n  File \"/usr/lib/python2.7/dist-packages/casacore/measures/__init__.py\", line 119, in measure\r\n    return _measures.measure(self, v, rf, off)\r\nRuntimeError: Cannot convert due to missing frame information\r\n\r\n```\r\nIt will work with a J2000 direction. Any ideas? This is with ubuntu 18.04 stock packages.\r\n\r\n(Edited to add do_frame calls which I had omitted in this example.)"},"comment":{"url":"https://api.github.com/repos/casacore/python-casacore/issues/comments/434335341","html_url":"https://github.com/casacore/python-casacore/issues/141#issuecomment-434335341","issue_url":"https://api.github.com/repos/casacore/python-casacore/issues/141","id":434335341,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDMzNTM0MQ==","user":{"login":"gijzelaerr","id":326308,"node_id":"MDQ6VXNlcjMyNjMwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/326308?v=4","gravatar_id":"","url":"https://api.github.com/users/gijzelaerr","html_url":"https://github.com/gijzelaerr","followers_url":"https://api.github.com/users/gijzelaerr/followers","following_url":"https://api.github.com/users/gijzelaerr/following{/other_user}","gists_url":"https://api.github.com/users/gijzelaerr/gists{/gist_id}","starred_url":"https://api.github.com/users/gijzelaerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gijzelaerr/subscriptions","organizations_url":"https://api.github.com/users/gijzelaerr/orgs","repos_url":"https://api.github.com/users/gijzelaerr/repos","events_url":"https://api.github.com/users/gijzelaerr/events{/privacy}","received_events_url":"https://api.github.com/users/gijzelaerr/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T14:58:57Z","updated_at":"2018-10-30T14:58:57Z","author_association":"MEMBER","body":"do you have the casacore data installed?"}}
{"actor":{"display_login":"gijzelaerr"}}