{"action":"created","issue":{"url":"https://api.github.com/repos/astropy/astropy/issues/5369","repository_url":"https://api.github.com/repos/astropy/astropy","labels_url":"https://api.github.com/repos/astropy/astropy/issues/5369/labels{/name}","comments_url":"https://api.github.com/repos/astropy/astropy/issues/5369/comments","events_url":"https://api.github.com/repos/astropy/astropy/issues/5369/events","html_url":"https://github.com/astropy/astropy/issues/5369","id":180395505,"number":5369,"title":"Leap second day utc2tai interpolation ","user":{"login":"luojing1211","id":5324931,"avatar_url":"https://avatars.githubusercontent.com/u/5324931?v=3","gravatar_id":"","url":"https://api.github.com/users/luojing1211","html_url":"https://github.com/luojing1211","followers_url":"https://api.github.com/users/luojing1211/followers","following_url":"https://api.github.com/users/luojing1211/following{/other_user}","gists_url":"https://api.github.com/users/luojing1211/gists{/gist_id}","starred_url":"https://api.github.com/users/luojing1211/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luojing1211/subscriptions","organizations_url":"https://api.github.com/users/luojing1211/orgs","repos_url":"https://api.github.com/users/luojing1211/repos","events_url":"https://api.github.com/users/luojing1211/events{/privacy}","received_events_url":"https://api.github.com/users/luojing1211/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/astropy/astropy/labels/time","name":"time","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-30T20:29:16Z","updated_at":"2016-10-03T14:54:15Z","closed_at":"2016-10-03T12:01:21Z","body":"Hi astropy developers,\r\n\r\nI am from North American pulsar time group(Nanograv). When I am processing some data taken in a leap second day(more exactly mjd 56109 ), I realize in that day, the leap second is interpolated. Here is a test I made.\r\n```\r\n>>> from astropy.time import Time\r\n>>> test_leap = np.linspace(56107,56110,500)\r\n>>> test_time = Time(test_leap, format='mjd', scale='utc')\r\n>>> plt.plot(test_time.mjd, (test_time.tai.mjd - test_time.mjd)*86400.0)\r\n```\r\nAnd I have the plot. \r\n![astopy_tai](https://cloud.githubusercontent.com/assets/5324931/19005871/73bcb7ae-8722-11e6-9fb8-416568d86b75.png)\r\n\r\nMy question what is the reason to do an interpolation, and is there any way to shut the interpolation off. \r\n\r\nThank you. \r\n\r\n-Luo Jing"},"comment":{"url":"https://api.github.com/repos/astropy/astropy/issues/comments/251128331","html_url":"https://github.com/astropy/astropy/issues/5369#issuecomment-251128331","issue_url":"https://api.github.com/repos/astropy/astropy/issues/5369","id":251128331,"user":{"login":"mwcraig","id":1147167,"avatar_url":"https://avatars.githubusercontent.com/u/1147167?v=3","gravatar_id":"","url":"https://api.github.com/users/mwcraig","html_url":"https://github.com/mwcraig","followers_url":"https://api.github.com/users/mwcraig/followers","following_url":"https://api.github.com/users/mwcraig/following{/other_user}","gists_url":"https://api.github.com/users/mwcraig/gists{/gist_id}","starred_url":"https://api.github.com/users/mwcraig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwcraig/subscriptions","organizations_url":"https://api.github.com/users/mwcraig/orgs","repos_url":"https://api.github.com/users/mwcraig/repos","events_url":"https://api.github.com/users/mwcraig/events{/privacy}","received_events_url":"https://api.github.com/users/mwcraig/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T14:54:14Z","updated_at":"2016-10-03T14:54:14Z","body":"@luojing1211 -- yeah, I'm pretty sure that change would be a mistake. Ultimately this is a science problem: what time scale are results reported in, and what is the meaning of a time in JD in UTC on a leap second day.\r\n\r\nFixing that is probably out of scope for astropy."}}
{"actor":{"display_login":"mwcraig"}}