html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6597#issuecomment-1124868221,https://api.github.com/repos/pydata/xarray/issues/6597,1124868221,IC_kwDOAMm_X85DDCB9,43316012,2022-05-12T11:18:14Z,2022-05-12T11:18:14Z,COLLABORATOR,"Ok, the first idea does not work since values is a numpy array. The second idea should work, so this is a bug. It seems that polyval does not work with timedeltas, I will look into that.","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1233717699 https://github.com/pydata/xarray/issues/6597#issuecomment-1124854798,https://api.github.com/repos/pydata/xarray/issues/6597,1124854798,IC_kwDOAMm_X85DC-wO,43316012,2022-05-12T11:02:55Z,2022-05-12T11:04:28Z,COLLABORATOR,"As listed in breaking changes, the new polyval algorithm uses the values of the `coord` argument and not the index coordinate. Your coordinate is a Timedelta `values -values[0]`, try using that directly or `azimuth_time.coords[""azimuth_time""]`.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1233717699