{"action":"created","issue":{"url":"https://api.github.com/repos/ska-sa/pyxis/issues/57","labels_url":"https://api.github.com/repos/ska-sa/pyxis/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/ska-sa/pyxis/issues/57/comments","events_url":"https://api.github.com/repos/ska-sa/pyxis/issues/57/events","html_url":"https://github.com/ska-sa/pyxis/issues/57","id":105397397,"number":57,"title":"create_empty_ms issue","user":{"login":"ulricharmel","id":11393614,"avatar_url":"https://avatars.githubusercontent.com/u/11393614?v=3","gravatar_id":"","url":"https://api.github.com/users/ulricharmel","html_url":"https://github.com/ulricharmel","followers_url":"https://api.github.com/users/ulricharmel/followers","following_url":"https://api.github.com/users/ulricharmel/following{/other_user}","gists_url":"https://api.github.com/users/ulricharmel/gists{/gist_id}","starred_url":"https://api.github.com/users/ulricharmel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulricharmel/subscriptions","organizations_url":"https://api.github.com/users/ulricharmel/orgs","repos_url":"https://api.github.com/users/ulricharmel/repos","events_url":"https://api.github.com/users/ulricharmel/events{/privacy}","received_events_url":"https://api.github.com/users/ulricharmel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-08T14:44:20Z","updated_at":"2015-09-08T15:16:04Z","closed_at":null,"body":"I am currently trying to generate some measurement sets. I am using the ms.create_empty_ms command from ms in pyxis. \r\nThat is the error I get \r\n\r\nFile \"./pyxis-variability.py\", line 30, in make_ms\r\n    ms.create_empty_ms(msname=\"ms_\"+str(ms_num)+\".MS\",synthesis=synthesis, pos_type='casa',tel='KAT-7',**ms_cfg)\r\n  File \"/home/ulrich/builds/pyxis/Pyxides/ms.py\", line 586, in create_empty_ms\r\n    dfreq=dfreq, lon_lat=lon_lat, **kw)\r\n  File \"/home/ulrich/builds/simms/simms/simms.py\", line 79, in create_empty_ms\r\n    \"the telescope via lon_lat (or --lon-lat-elv)\"%tel)\r\nValueError: Could not Find your telescope [KAT-7] in the CASA Database. Please double check the telescope name, or provide the location of the telescope via lon_lat (or --lon-lat-elv)\r\n2015/09/08 15:17:25 ERROR: Exception raised, aborting\r\n2015/09/08 15:17:25 ERROR: exiting with error code 1, check the logs for errors\r\n2015/09/08 15:17:25 INFO: elapsed time is 0h0m0.01s"},"comment":{"url":"https://api.github.com/repos/ska-sa/pyxis/issues/comments/138597185","html_url":"https://github.com/ska-sa/pyxis/issues/57#issuecomment-138597185","issue_url":"https://api.github.com/repos/ska-sa/pyxis/issues/57","id":138597185,"user":{"login":"SpheMakh","id":6624280,"avatar_url":"https://avatars.githubusercontent.com/u/6624280?v=3","gravatar_id":"","url":"https://api.github.com/users/SpheMakh","html_url":"https://github.com/SpheMakh","followers_url":"https://api.github.com/users/SpheMakh/followers","following_url":"https://api.github.com/users/SpheMakh/following{/other_user}","gists_url":"https://api.github.com/users/SpheMakh/gists{/gist_id}","starred_url":"https://api.github.com/users/SpheMakh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpheMakh/subscriptions","organizations_url":"https://api.github.com/users/SpheMakh/orgs","repos_url":"https://api.github.com/users/SpheMakh/repos","events_url":"https://api.github.com/users/SpheMakh/events{/privacy}","received_events_url":"https://api.github.com/users/SpheMakh/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T15:16:04Z","updated_at":"2015-09-08T15:16:04Z","body":"Here is a clue :) \r\n```\r\nValueError: Could not Find your telescope [KAT-7] in the CASA Database. Please double check the telescope name, or provide the location of the telescope via lon_lat (or --lon-lat-elv)\r\n```\r\nYou can either provide the lon/lat `ms.create_ms(..., lon_lat=(<lon>,<lat>), ..)` coordinates of KAT-7 \r\n\r\nOr (recomended) get an updated version [here](https://svn.cv.nrao.edu/svn/casa-data/distro/geodetic) then point edit your  `$HOME/.casarc` to point it:\r\n\r\n```\r\nsvn co https://svn.cv.nrao.edu/svn/casa-data/distro/geodetic $HOME/geodetic\r\n```\r\nthen, open $HOME/.casarc with ur favourite text editor and make it look like this:\r\n\r\n```\r\n#\r\n# Rename this file to $HOME/.casarc.\r\n# This assumes you have checked out casarest directly under $HOME,\r\n# you may need to adjust the paths otherwise\r\n#\r\nmeasures.DE200.directory: /usr/share/casacore/data/ephemerides\r\nmeasures.DE405.directory: /usr/share/casacore/data/ephemerides\r\nmeasures.line.directory: /usr/share/casacore/data/ephemerides\r\nmeasures.sources.directory: /usr/share/casacore/data/ephemerides\r\nmeasures.comet.directory: /usr/share/casacore/data/ephemerides\r\nmeasures.ierseop97.directory: $HOME/geodetic\r\nmeasures.ierspredict.directory: $HOME/geodetic\r\nmeasures.tai_utc.directory: $HOME/geodetic\r\nmeasures.igrf.directory: $HOME/geodetic\r\nmeasures.observatory.directory: $HOME/geodetic\r\n```"}}