issues: 348081353
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
348081353 | MDU6SXNzdWUzNDgwODEzNTM= | 2348 | Should the transform attribute be a six-element or nine-element tuple when reading from rasterio? | 296686 | closed | 0 | 2 | 2018-08-06T21:03:43Z | 2018-08-13T22:33:54Z | 2018-08-13T22:33:54Z | CONTRIBUTOR | My basic question is whether XArray should be storing the rasterio transform as a 6-element tuple or a 9-element tuple - as there seems to be a mismatch between the documentation and the actual code. The documentation at https://github.com/pydata/xarray/blob/7cd3442fc61e94601c3bfb20377f4f795cde584d/xarray/backends/rasterio_.py#L164-L170 says you can run the following code:
This takes the tuple stored in the If you look at the code, then this line in the Thus there seems to be confusion both within the code and the documentation as to whether the transform should be a six-element or nine-element tuple. Which is the intended behaviour? I am happy to submit a PR to fix either the code or the docs or both. Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2348/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |