home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1102895190

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/4139#issuecomment-1102895190 https://api.github.com/repos/pydata/xarray/issues/4139 1102895190 IC_kwDOAMm_X85BvNhW 13301940 2022-04-19T17:15:20Z 2022-04-19T17:15:20Z MEMBER

this appears to have been fixed in the latest alpha release of rasterio v1.3a3 (which isn't available on conda-forge but is available on PyPI) via fsspec

  • https://github.com/rasterio/rasterio/issues/2360
  • https://github.com/corteva/rioxarray/issues/440

```python In [13]: import xarray as xr

In [14]: import fsspec

In [15]: import rasterio

In [16]: rasterio.version Out[16]: '1.3a3'

In [17]: with fsspec.open('2d_test.tiff') as f: ...: ds = xr.open_dataset(f, engine='rasterio') ...:

In [18]: ds Out[18]: <xarray.Dataset> Dimensions: (band: 1, y: 10, x: 10) Coordinates: * band (band) int64 1 xc (y, x) float64 ... yc (y, x) float64 ... spatial_ref int64 ... Dimensions without coordinates: y, x Data variables: band_data (band, y, x) float64 ... ```

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