home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 850231277

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
850231277 MDU6SXNzdWU4NTAyMzEyNzc= 5111 Rename of LazilyOuterIndexedArray to LazilyIndexedArray breaks rioxarray 226037 closed 0     0 2021-04-05T09:25:16Z 2021-04-06T09:18:49Z 2021-04-06T09:18:49Z MEMBER      

What happened:

With current xarray master the rioxarray.open_rasterio crashes.

What you expected to happen:

With the released version 0.17.0 of xarray the open works as expected.

Minimal Complete Verifiable Example:

```python

import rioxarray rioxarray.open_rasterio("myfile.tif")


AttributeError Traceback (most recent call last) <ipython-input-7-fedc16472305> in <module> ----> 1 da = rioxarray.open_rasterio("../../../FLAIR-PROC/rome-lockdown-2020/georeferenced/20200309+0130+417_VV-20200109-20200115-EPSG:32632-5.human-activity.tif") 2 da

/usr/local/Caskroom/miniconda/base/envs/BOP/lib/python3.8/site-packages/rioxarray/_io.py in open_rasterio(filename, parse_coordinates, chunks, cache, lock, masked, mask_and_scale, variable, group, default_name, **open_kwargs) 820 821 da_name = attrs.pop("NETCDF_VARNAME", default_name) --> 822 data = indexing.LazilyOuterIndexedArray( 823 RasterioArrayWrapper( 824 manager,

AttributeError: module 'xarray.core.indexing' has no attribute 'LazilyOuterIndexedArray' ```

Anything else we need to know?:

LazilyOuterIndexedArray was recently renamed to LazilyIndexedArray by @aurghs in https://github.com/pydata/xarray/pull/4810 after a suggestion from @shoyer https://github.com/pydata/xarray/pull/4810#discussion_r586754165

Adding an alias would make the transition easier.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5111/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
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.738ms · About: xarray-datasette