home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 812416075

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
812416075 MDU6SXNzdWU4MTI0MTYwNzU= 4930 xr.open_zarr converts 0 values to nan 33122845 closed 0     0 2021-02-19T23:01:15Z 2021-02-20T10:43:01Z 2021-02-20T10:43:01Z CONTRIBUTOR      

What happened: It returned an array of nan values What you expected to happen: an array of zeroes Minimal Complete Verifiable Example:

ZeroToNan.zip ```python

Your code here

z = zarr.open('ZeroToNan.zip') print(z['foo__a'][:]) print(xr.open_zarr(z.store).foo__a.values) ```

Anything else we need to know?: I also posted this problem here and here Environment:

Output of <tt>xr.show_versions()</tt> INSTALLED VERSIONS ------------------ commit: None python: 3.9.1 | packaged by conda-forge | (default, Jan 26 2021, 01:34:10) [GCC 9.3.0] python-bits: 64 OS: Linux OS-release: 5.4.0-59-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: en_US.UTF-8 libhdf5: None libnetcdf: None xarray: 0.16.2 pandas: 1.2.1 numpy: 1.20.0 scipy: None netCDF4: None pydap: None h5netcdf: None h5py: None Nio: None zarr: 2.6.1 cftime: None nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: 2021.02.0 distributed: 2021.02.0 matplotlib: 3.3.4 cartopy: None seaborn: None numbagg: None pint: None setuptools: 49.6.0.post20210108 pip: 21.0.1 conda: None pytest: 6.2.2 IPython: 7.20.0 sphinx: None
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4930/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.676ms · About: xarray-datasette