home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 714684059

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/3269#issuecomment-714684059 https://api.github.com/repos/pydata/xarray/issues/3269 714684059 MDEyOklzc3VlQ29tbWVudDcxNDY4NDA1OQ== 3924836 2020-10-22T18:38:15Z 2020-10-22T18:38:15Z MEMBER

@dcherian I was just revisiting a use-case for this and realized xr.open_rasterio() does not take **kwargs. http://xarray.pydata.org/en/stable/generated/xarray.open_rasterio.html#xarray.open_rasterio

I think this would be easy to implement because a while back rasterio implemented a keyword argument so that you can do rasterio.open(path, overview_level=3) https://github.com/mapbox/rasterio/issues/1504

So is this just a matter of accepting kwargs in xr.open_rasterio() and passing them through? https://github.com/pydata/xarray/blob/4aa7622b6ff16647df64fe69f39438b7cbe9576c/xarray/backends/rasterio_.py#L241

As seems to be done here for example: https://github.com/pydata/xarray/blob/cc271e61077c543e0f3b1a06ad5e905ea2c91617/xarray/backends/h5netcdf_.py#L164

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