issues: 712782711
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
712782711 | MDU6SXNzdWU3MTI3ODI3MTE= | 4478 | Dataset to zarr not working with newest s3fs Storage (s3fs > 0.5.0) | 3322897 | closed | 0 | 15 | 2020-10-01T12:11:13Z | 2020-12-07T14:39:57Z | 2020-10-06T15:40:03Z | NONE | What happened:
A call to zarr storage to mino instance fails with newest s3fs storage (s3fs > 0.5.0) while perfectly working with s3fs == 0.4.0. Might be due to s3fs' reliance on aiobotocore as Traceback.
Storage succeeding. No Exception. Minimal Complete Verifiable Example: ```python Put your MCVE code hereimport dask.array as da import xarray import s3fs import xarray as xr bucket = "zarr" name = "sample" nana = xarray.DataArray(da.zeros((1023,1023,3))) s3_path = f"{bucket}/{name}" s3 = s3fs.S3FileSystem(client_kwargs={"endpoint_url": "s3://minio:9000"}, username="weak_access_key", password="weak_secret_key") s3store = s3.get_mapper(s3_path) print("Storing") nana.to_dataset().to_zarr(store=s3store, mode="w", consolidated=True, compute=True) print("Getting") ``` Anything else we need to know?: Thanks and keep up the great work! Environment: dask==2.28.0 xarray==0.16.1 aiobotocore==1.1.1 fsspec==0.8.3 zarr==2.4.0 s3fs==0.5.1 Output of <tt>xr.show_versions()</tt>INSTALLED VERSIONS ------------------ commit: None python: 3.7.8 (default, Jun 30 2020, 18:27:23) [GCC 8.3.0] python-bits: 64 OS: Linux OS-release: 4.19.104-microsoft-standard machine: x86_64 processor: byteorder: little LC_ALL: None LANG: C.UTF-8 LOCALE: en_US.UTF-8 libhdf5: None libnetcdf: None xarray: 0.16.1 pandas: 1.1.2 numpy: 1.19.2 scipy: 1.5.2 netCDF4: None pydap: None h5netcdf: None h5py: None Nio: None zarr: 2.4.0 cftime: None nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: 2.28.0 distributed: 2.28.0 matplotlib: 3.3.2 cartopy: None seaborn: 0.11.0 numbagg: None pint: None setuptools: 47.3.1 pip: 20.1.1 conda: None pytest: 6.1.0 IPython: 7.18.1 sphinx: None |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/4478/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |