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/690#issuecomment-1125434472,https://api.github.com/repos/pydata/xarray/issues/690,1125434472,IC_kwDOAMm_X85DFMRo,5589887,2022-05-12T21:22:37Z,2022-05-12T21:22:37Z,NONE,"This was very helpful, thanks. Minor tweak (maybe due to source change since previous comments in 2015?): ```python hourofyear = ((da.time.dt.dayofyear-1) * 24 + da.time.dt.hour).rename('hourofyear') result = da.groupby(hourofyear).mean('time') ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,124300184 https://github.com/pydata/xarray/issues/690#issuecomment-458605564,https://api.github.com/repos/pydata/xarray/issues/690,458605564,MDEyOklzc3VlQ29tbWVudDQ1ODYwNTU2NA==,26384082,2019-01-29T16:23:53Z,2019-01-29T16:23:53Z,NONE,"In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here; otherwise it will be marked as closed automatically ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,124300184 https://github.com/pydata/xarray/issues/690#issuecomment-167933568,https://api.github.com/repos/pydata/xarray/issues/690,167933568,MDEyOklzc3VlQ29tbWVudDE2NzkzMzU2OA==,12929592,2015-12-30T04:15:49Z,2015-12-30T04:15:49Z,NONE,"thank you On 30 December 2015 at 15:01, Stephan Hoyer notifications@github.com wrote: > This is a good idea, but it's not currently supported. You could do > something like this, though: > > hourofyear = (ds['time.dayofyear'] \* 24 + ds['time.hourofday']).rename('hourofyear') > result = ds['TEMP'].groupby(hourofyear).mean('time') > > — > Reply to this email directly or view it on GitHub > https://github.com/xray/xray/issues/690#issuecomment-167932904. ## Dr Sarah Harris Research Fellow School of Earth, Atmosphere and Environment Room 227, 9 Rainforest Walk Faculty of Science Monash University Ph: 03 9902 4243 Email: sarah.harris@monash.edu ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,124300184