home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 372134568

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
372134568 MDU6SXNzdWUzNzIxMzQ1Njg= 2497 geotif affine coordinate transformation 26015733 closed 0     1 2018-10-19T22:21:18Z 2018-10-23T07:20:33Z 2018-10-23T07:20:33Z NONE      

Code Sample, a copy-pastable example if possible

Just a spot in the documentation that will help future users load geotiff coordinates, especially for rotated rasters (current example assumes no rotation for extracting x-y pairs). Didn't want to make a whole branch just for this.

```python

Documentation for xarray.open_rasterio (line 172 in code)

transform = Affine(*da.attrs['transform'])

should be

transform = Affine.from_gdal(*da.attrs['transform'])

```

Problem description

Returns correct coordinates rather than incorrect coordinates (jump strangely in Y direction).

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2497/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.575ms · About: xarray-datasette