{"action":"created","issue":{"url":"https://api.github.com/repos/r-spatial/stars/issues/62","repository_url":"https://api.github.com/repos/r-spatial/stars","labels_url":"https://api.github.com/repos/r-spatial/stars/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/r-spatial/stars/issues/62/comments","events_url":"https://api.github.com/repos/r-spatial/stars/issues/62/events","html_url":"https://github.com/r-spatial/stars/issues/62","id":366565374,"node_id":"MDU6SXNzdWUzNjY1NjUzNzQ=","number":62,"title":"input function generalization","user":{"login":"mdsumner","id":4107631,"node_id":"MDQ6VXNlcjQxMDc2MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4107631?v=4","gravatar_id":"","url":"https://api.github.com/users/mdsumner","html_url":"https://github.com/mdsumner","followers_url":"https://api.github.com/users/mdsumner/followers","following_url":"https://api.github.com/users/mdsumner/following{/other_user}","gists_url":"https://api.github.com/users/mdsumner/gists{/gist_id}","starred_url":"https://api.github.com/users/mdsumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdsumner/subscriptions","organizations_url":"https://api.github.com/users/mdsumner/orgs","repos_url":"https://api.github.com/users/mdsumner/repos","events_url":"https://api.github.com/users/mdsumner/events{/privacy}","received_events_url":"https://api.github.com/users/mdsumner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-03T23:17:19Z","updated_at":"2018-10-04T01:40:15Z","closed_at":null,"author_association":"MEMBER","body":"Thoughts on the read_gdal/read_ncdf distinction: \r\n\r\nWe need an abstraction over the ncsub and RasterIO idioms, I don't see that either of them is a good user-interface, but at least ncsub is the general form if you take it to cbind(start, count, outlength).\r\n\r\nUse that as the general form and provide a bunch of helpers, to convert between geotransform/extent-dim-res/coord-ranges/RasterIO/start-count-stride? I've kind of been collecting these little components slowly, not being sure how to express them all in a single place.\r\n\r\nUsers will want a bounding box in coordinate space, and an output size or resolution - and often they'll be created by drawing or dragging sliders rather than directly numerically, or by a bit of back and forth guesswork reading the extent/proxy. Does it make sense to use the NetCDF start/count model, and add NearestNeighbour resampling option for outlength (after getting from the source), and then the gdal version can convert those to offset/window/outsize and also allow added resampling options?\r\n\r\nMoved from https://github.com/r-spatial/stars/issues/54, which included this reply from @edzer \r\n\r\n> transforming a curvilinear grid should be a simple matter of transforming the two coordinate matrices\r\n> transforming any non-curvilinear grid should, at least optionally, return a curvilinear grid without \r\n> doing any resampling."},"comment":{"url":"https://api.github.com/repos/r-spatial/stars/issues/comments/426857564","html_url":"https://github.com/r-spatial/stars/issues/62#issuecomment-426857564","issue_url":"https://api.github.com/repos/r-spatial/stars/issues/62","id":426857564,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjg1NzU2NA==","user":{"login":"mdsumner","id":4107631,"node_id":"MDQ6VXNlcjQxMDc2MzE=","avatar_url":"https://avatars2.githubusercontent.com/u/4107631?v=4","gravatar_id":"","url":"https://api.github.com/users/mdsumner","html_url":"https://github.com/mdsumner","followers_url":"https://api.github.com/users/mdsumner/followers","following_url":"https://api.github.com/users/mdsumner/following{/other_user}","gists_url":"https://api.github.com/users/mdsumner/gists{/gist_id}","starred_url":"https://api.github.com/users/mdsumner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdsumner/subscriptions","organizations_url":"https://api.github.com/users/mdsumner/orgs","repos_url":"https://api.github.com/users/mdsumner/repos","events_url":"https://api.github.com/users/mdsumner/events{/privacy}","received_events_url":"https://api.github.com/users/mdsumner/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T01:40:15Z","updated_at":"2018-10-04T01:40:15Z","author_association":"MEMBER","body":"Specific tasks that are prerequisites for more complete handling: \r\n\r\n- [ ] allow using NetCDF with groups (e.g. Sentinel), requires updates to ncmeta\r\n- [ ] heuristics to determine that 2D vars are curvilinear coords of 3D+ vars\r\n- [ ] conversion kit between geotransform/extent-dim-res/coord-ranges/RasterIO/start-count-stride idioms"}}
{"actor":{"display_login":"mdsumner"}}