payload: {"action":"created","issue":{"url":"https://api.github.com/repos/r-spatial/stars/issues/133","repository_url":"https://api.github.com/repos/r-spatial/stars","labels_url":"https://api.github.com/repos/r-spatial/stars/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/r-spatial/stars/issues/133/comments","events_url":"https://api.github.com/repos/r-spatial/stars/issues/133/events","html_url":"https://github.com/r-spatial/stars/issues/133","id":416304182,"node_id":"MDU6SXNzdWU0MTYzMDQxODI=","number":133,"title":"inconsistent behavior between st_as_sf and st_get_dimension_values for interval dates","user":{"login":"kendonB","id":5327505,"node_id":"MDQ6VXNlcjUzMjc1MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/5327505?v=4","gravatar_id":"","url":"https://api.github.com/users/kendonB","html_url":"https://github.com/kendonB","followers_url":"https://api.github.com/users/kendonB/followers","following_url":"https://api.github.com/users/kendonB/following{/other_user}","gists_url":"https://api.github.com/users/kendonB/gists{/gist_id}","starred_url":"https://api.github.com/users/kendonB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendonB/subscriptions","organizations_url":"https://api.github.com/users/kendonB/orgs","repos_url":"https://api.github.com/users/kendonB/repos","events_url":"https://api.github.com/users/kendonB/events{/privacy}","received_events_url":"https://api.github.com/users/kendonB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2019-03-01T22:26:33Z","updated_at":"2019-03-21T14:03:41Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"``` r\r\nlibrary(stars)\r\nlibrary(tidyverse)\r\n\r\nthis_stars <- read_ncdf(\"mrso_Lmon_GFDL-CM2p1_rcp45_r7i1p1_201601-202012.nc\")\r\n\r\n# Pulls out start of interval\r\nthis_stars %>% \r\n  st_as_sf() %>% \r\n  names() %>% \r\n  head()\r\n#> [1] \"2016-01-02\" \"2016-02-02\" \"2016-03-02\" \"2016-04-02\" \"2016-05-02\"\r\n#> [6] \"2016-06-02\"\r\n\r\n# Pulls out center of interval\r\nthis_stars %>% \r\n  st_get_dimension_values(\"time\") %>% \r\n  head()\r\n#> [1] \"2016-01-17 12:00:00 UTC\" \"2016-02-16 12:00:00 UTC\"\r\n#> [3] \"2016-03-17 12:00:00 UTC\" \"2016-04-17 00:00:00 UTC\"\r\n#> [5] \"2016-05-17 12:00:00 UTC\" \"2016-06-17 00:00:00 UTC\"\r\n```\r\n\r\n<sup>Created on 2019-03-02 by the [reprex package](https://reprex.tidyverse.org) (v0.2.1.9000)</sup>\r\n\r\nWould it be possible to generalize the `center` argument in `st_get_dimension_values` to take a named list - i.e. `center = list(x = \"center\", y = \"center\", time = \"start\")` - and expose that argument to all of `st_as_sf`, `as.data.frame.stars`, and `as_tibble.stars`?"},"comment":{"url":"https://api.github.com/repos/r-spatial/stars/issues/comments/475240995","html_url":"https://github.com/r-spatial/stars/issues/133#issuecomment-475240995","issue_url":"https://api.github.com/repos/r-spatial/stars/issues/133","id":475240995,"node_id":"MDEyOklzc3VlQ29tbWVudDQ3NTI0MDk5NQ==","user":{"login":"edzer","id":520851,"node_id":"MDQ6VXNlcjUyMDg1MQ==","avatar_url":"https://avatars1.githubusercontent.com/u/520851?v=4","gravatar_id":"","url":"https://api.github.com/users/edzer","html_url":"https://github.com/edzer","followers_url":"https://api.github.com/users/edzer/followers","following_url":"https://api.github.com/users/edzer/following{/other_user}","gists_url":"https://api.github.com/users/edzer/gists{/gist_id}","starred_url":"https://api.github.com/users/edzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edzer/subscriptions","organizations_url":"https://api.github.com/users/edzer/orgs","repos_url":"https://api.github.com/users/edzer/repos","events_url":"https://api.github.com/users/edzer/events{/privacy}","received_events_url":"https://api.github.com/users/edzer/received_events","type":"User","site_admin":false},"created_at":"2019-03-21T14:03:41Z","updated_at":"2019-03-21T14:03:41Z","author_association":"MEMBER","body":"@liuyadong this one should read your file correctly."}}
other: {"actor":{"display_login":"edzer"}}