home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 873713013

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
873713013 MDU6SXNzdWU4NzM3MTMwMTM= 5240 Coord name not set when `concat`ing along a DataArray 6875882 closed 0     4 2021-05-01T16:18:32Z 2021-08-23T17:00:39Z 2021-08-23T17:00:39Z CONTRIBUTOR      

python from xarray import DataArray, concat a = DataArray([0], dims='a') out = concat([a, a], dim=DataArray([0, 1], dims='b')) print(out.coords)

Coordinates:

None (b) int32 0 1

I would've expected the name of the new coordinate to be the name of the DataArray variable but instead it's None.

Environment:

Output of <tt>xr.show_versions()</tt> INSTALLED VERSIONS ------------------ commit: None python: 3.9.2 | packaged by conda-forge | (default, Feb 21 2021, 04:59:43) [MSC v.1916 64 bit (AMD64)] python-bits: 64 OS: Windows OS-release: 10 machine: AMD64 processor: Intel64 Family 6 Model 142 Stepping 12, GenuineIntel byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: English_United States.1252 libhdf5: None libnetcdf: None xarray: 0.17.0 pandas: 1.2.4 numpy: 1.20.2 scipy: None netCDF4: None pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: None nc_time_axis: None PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: None distributed: None matplotlib: None cartopy: None seaborn: None numbagg: None pint: None setuptools: 49.6.0.post20210108 pip: 21.1.1 conda: None pytest: None IPython: 7.23.0 sphinx: None
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/5240/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

  • 1 row from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 0.487ms · About: xarray-datasette