home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1013881639

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
1013881639 I_kwDOAMm_X848bpsn 5836 to_zarr returns <xarray.backends.zarr.ZarrStore at ...> 17162724 closed 0     2 2021-10-02T01:53:27Z 2023-03-12T15:59:14Z 2023-03-12T15:59:13Z CONTRIBUTOR      

What happened:

When doing to zarr it returns <xarray.backends.zarr.ZarrStore at ...>

What you expected to happen:

Returns None. Same behaviour as pandas.to_parquet()

Minimal Complete Verifiable Example:

```python import xarray as xr

ds = xr.tutorial.open_dataset("air_temperature") ds.to_zarr("ds.zarr")

ds.to_dataframe().to_parquet("ds.parquet") ```

Anything else we need to know?:

Environment:

Output of <tt>xr.show_versions()</tt> INSTALLED VERSIONS ------------------ commit: None python: 3.9.7 | packaged by conda-forge | (default, Sep 23 2021, 07:31:23) [Clang 11.1.0 ] python-bits: 64 OS: Darwin OS-release: 20.6.0 machine: x86_64 processor: i386 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.10.6 libnetcdf: 4.8.0 xarray: 0.19.0 pandas: 1.3.3 numpy: 1.21.2 scipy: 1.7.1 netCDF4: 1.5.7 pydap: installed h5netcdf: 0.11.0 h5py: 3.3.0 Nio: None zarr: 2.10.0 cftime: 1.5.0 nc_time_axis: None PseudoNetCDF: None rasterio: 1.2.6 cfgrib: 0.9.9.0 iris: None bottleneck: 1.3.2 dask: 2021.09.1 distributed: 2021.09.1 matplotlib: 3.4.3 cartopy: 0.20.0 seaborn: 0.11.2 numbagg: None pint: 0.17 setuptools: 58.0.2 pip: 21.2.4 conda: None pytest: 6.2.5 IPython: 7.27.0 sphinx: None
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5836/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
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 69.86ms · About: xarray-datasette