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/4042#issuecomment-625430109,https://api.github.com/repos/pydata/xarray/issues/4042,625430109,MDEyOklzc3VlQ29tbWVudDYyNTQzMDEwOQ==,10676434,2020-05-07T18:42:52Z,2020-05-07T18:42:52Z,NONE,"Solved. This seems to happen when I have a coordinate named the same as a dimension (in this case, animal)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,613717463 https://github.com/pydata/xarray/issues/3997#issuecomment-624987687,https://api.github.com/repos/pydata/xarray/issues/3997,624987687,MDEyOklzc3VlQ29tbWVudDYyNDk4NzY4Nw==,10676434,2020-05-07T02:10:44Z,2020-05-07T02:10:44Z,NONE,I believe this is related to #4042,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,605717342 https://github.com/pydata/xarray/issues/3997#issuecomment-618590688,https://api.github.com/repos/pydata/xarray/issues/3997,618590688,MDEyOklzc3VlQ29tbWVudDYxODU5MDY4OA==,10676434,2020-04-23T18:54:01Z,2020-04-23T19:01:48Z,NONE,"[data.npy.zip](https://github.com/pydata/xarray/files/4524630/data.npy.zip) Unzip data.npy.zip into data.npy ```python npy_filename = '/Users/sean/Desktop/data.npy' nc_filename = '/Users/sean/Desktop/test.nc' data = xr.DataArray( np.load(npy_filename), dims=('animal', 'timepoint', 'pair', 'wavelength', 'y', 'x') ) data.to_netcdf(nc_filename) xr.open_dataarray(nc_filename) ``` output: ``` --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in 4 ) 5 data.to_netcdf('/Users/sean/Desktop/test.nc') ----> 6 xr.open_dataarray('/Users/sean/Desktop/test.nc') ~/opt/anaconda3/envs/pharedox/lib/python3.7/site-packages/xarray/backends/api.py in open_dataarray(filename_or_obj, group, decode_cf, mask_and_scale, decode_times, autoclose, concat_characters, decode_coords, engine, chunks, lock, cache, drop_variables, backend_kwargs, use_cftime) 676 if len(dataset.data_vars) != 1: 677 raise ValueError( --> 678 ""Given file dataset contains more than one data "" 679 ""variable. Please read with xarray.open_dataset and "" 680 ""then select the variable you want."" ValueError: Given file dataset contains more than one data variable. Please read with xarray.open_dataset and then select the variable you want. ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,605717342 https://github.com/pydata/xarray/issues/1500#issuecomment-600093212,https://api.github.com/repos/pydata/xarray/issues/1500,600093212,MDEyOklzc3VlQ29tbWVudDYwMDA5MzIxMg==,10676434,2020-03-17T14:11:46Z,2020-03-17T14:11:46Z,NONE,Still relevant,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,247703455