home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 796044411

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/5005#issuecomment-796044411 https://api.github.com/repos/pydata/xarray/issues/5005 796044411 MDEyOklzc3VlQ29tbWVudDc5NjA0NDQxMQ== 3924836 2021-03-10T20:25:41Z 2021-03-10T20:28:16Z MEMBER

Thanks @gabriel-abrahao good catch! the docs are definitely outdated here and need to be changed. This has been brought up before here https://github.com/pydata/xarray/issues/3185#issuecomment-574215734

You can either do what you suggested or simply transform = Affine(*da.transform) https://github.com/pydata/xarray/blob/12b4480ff2bde696142ca850275cdcc85ca0fbc9/xarray/tests/test_backends.py#L4468

A PR to update the documentation would be welcome. It'd be just a one-line fix here: https://github.com/pydata/xarray/blob/d2582c2f8811a3bd527d47c945b1cccd4983a1d3/xarray/backends/rasterio_.py#L179

cc @snowman2 the docstring for open_rasterio has the same issue currently in rioxarray https://github.com/corteva/rioxarray/blob/63ce87f92835897d46aaa270f5ec07aca4e72cda/rioxarray/_io.py#L653

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  823418135
Powered by Datasette · Queries took 0.835ms · About: xarray-datasette