{"action":"created","issue":{"url":"https://api.github.com/repos/r-spatial/stars/issues/72","repository_url":"https://api.github.com/repos/r-spatial/stars","labels_url":"https://api.github.com/repos/r-spatial/stars/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/r-spatial/stars/issues/72/comments","events_url":"https://api.github.com/repos/r-spatial/stars/issues/72/events","html_url":"https://github.com/r-spatial/stars/issues/72","id":378437708,"node_id":"MDU6SXNzdWUzNzg0Mzc3MDg=","number":72,"title":"Subsetting does not work with read_ncdf","user":{"login":"adrfantini","id":12826141,"node_id":"MDQ6VXNlcjEyODI2MTQx","avatar_url":"https://avatars1.githubusercontent.com/u/12826141?v=4","gravatar_id":"","url":"https://api.github.com/users/adrfantini","html_url":"https://github.com/adrfantini","followers_url":"https://api.github.com/users/adrfantini/followers","following_url":"https://api.github.com/users/adrfantini/following{/other_user}","gists_url":"https://api.github.com/users/adrfantini/gists{/gist_id}","starred_url":"https://api.github.com/users/adrfantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrfantini/subscriptions","organizations_url":"https://api.github.com/users/adrfantini/orgs","repos_url":"https://api.github.com/users/adrfantini/repos","events_url":"https://api.github.com/users/adrfantini/events{/privacy}","received_events_url":"https://api.github.com/users/adrfantini/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-11-07T19:35:09Z","updated_at":"2018-11-12T13:12:56Z","closed_at":null,"author_association":"NONE","body":"Subsetting with files returned by `read_ncdf` seems to be problematic:\r\n```R\r\nlibrary(stars)\r\nf = system.file(\"nc/reduced.nc\", package = \"stars\")\r\na = read_ncdf(f)\r\np = st_sf(a=1, geometry = st_geometry(st_point(c(0, 0))))\r\na[p]\r\n```\r\nReturns:\r\n```\r\nError in xy_from_colrow(x, geotransform, inverse = TRUE) : \r\n  geotransform not invertible\r\n```\r\nInstead with `read_stars`:\r\n```R\r\nb = read_stars(f)\r\nb[p]\r\n```\r\nGives no error and both the subsetting and the cropping work file."},"comment":{"url":"https://api.github.com/repos/r-spatial/stars/issues/comments/437874896","html_url":"https://github.com/r-spatial/stars/issues/72#issuecomment-437874896","issue_url":"https://api.github.com/repos/r-spatial/stars/issues/72","id":437874896,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzg3NDg5Ng==","user":{"login":"adrfantini","id":12826141,"node_id":"MDQ6VXNlcjEyODI2MTQx","avatar_url":"https://avatars1.githubusercontent.com/u/12826141?v=4","gravatar_id":"","url":"https://api.github.com/users/adrfantini","html_url":"https://github.com/adrfantini","followers_url":"https://api.github.com/users/adrfantini/followers","following_url":"https://api.github.com/users/adrfantini/following{/other_user}","gists_url":"https://api.github.com/users/adrfantini/gists{/gist_id}","starred_url":"https://api.github.com/users/adrfantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrfantini/subscriptions","organizations_url":"https://api.github.com/users/adrfantini/orgs","repos_url":"https://api.github.com/users/adrfantini/repos","events_url":"https://api.github.com/users/adrfantini/events{/privacy}","received_events_url":"https://api.github.com/users/adrfantini/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T13:12:56Z","updated_at":"2018-11-12T13:12:56Z","author_association":"NONE","body":"I know that, it's just that GDAL does not seem to be available in ubuntugis-unstable for bionic:\r\nhttps://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+packages?field.name_filter=gdal&field.status_filter=published&field.series_filter=\r\n\r\nUnless it is provided by `libgdal-grass`..."}}
{"actor":{"display_login":"adrfantini"}}