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/5515#issuecomment-867405472,https://api.github.com/repos/pydata/xarray/issues/5515,867405472,MDEyOklzc3VlQ29tbWVudDg2NzQwNTQ3Mg==,20254164,2021-06-24T07:24:35Z,2021-06-24T14:37:51Z,CONTRIBUTOR,"```pytb
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-4-db5c6cefdcdc> in <module>
----> 1 xr.open_dataset(root_data_path+'/MODIS/MOD10C1_Terra/MOD10C1.A2000055.061.2020037182124.hdf')

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/backends/api.py in open_dataset(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, decode_timedelta)
    543 
    544     with close_on_error(store):
--> 545         ds = maybe_decode_store(store)
    546 
    547     # Ensure source filename always stored in dataset object (GH issue #2550)

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/backends/api.py in maybe_decode_store(store, lock)
    449 
    450     def maybe_decode_store(store, lock=False):
--> 451         ds = conventions.decode_cf(
    452             store,
    453             mask_and_scale=mask_and_scale,

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/conventions.py in decode_cf(obj, concat_characters, mask_and_scale, decode_times, decode_coords, drop_variables, use_cftime, decode_timedelta)
    578         encoding = obj.encoding
    579     elif isinstance(obj, AbstractDataStore):
--> 580         vars, attrs = obj.load()
    581         extra_coords = set()
    582         file_obj = obj

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/backends/common.py in load(self)
    121         """"""
    122         variables = FrozenDict(
--> 123             (_decode_variable_name(k), v) for k, v in self.get_variables().items()
    124         )
    125         attributes = FrozenDict(self.get_attrs())

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/backends/netCDF4_.py in get_variables(self)
    397 
    398     def get_variables(self):
--> 399         dsvars = FrozenDict(
    400             (k, self.open_store_variable(k, v)) for k, v in self.ds.variables.items()
    401         )

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/core/utils.py in FrozenDict(*args, **kwargs)
    436 
    437 def FrozenDict(*args, **kwargs) -> Frozen:
--> 438     return Frozen(dict(*args, **kwargs))
    439 
    440 

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/backends/netCDF4_.py in <genexpr>(.0)
    398     def get_variables(self):
    399         dsvars = FrozenDict(
--> 400             (k, self.open_store_variable(k, v)) for k, v in self.ds.variables.items()
    401         )
    402         return dsvars

~/miniconda3/envs/phd_v3/lib/python3.8/site-packages/xarray/backends/netCDF4_.py in open_store_variable(self, name, var)
    374         # netCDF4 specific encoding; save _FillValue for later
    375         encoding = {}
--> 376         filters = var.filters()
    377         if filters is not None:
    378             encoding.update(filters)

netCDF4/_netCDF4.pyx in netCDF4._netCDF4.Variable.filters()

netCDF4/_netCDF4.pyx in netCDF4._netCDF4._ensure_nc_success()

RuntimeError: NetCDF: Attempting netcdf-4 operation on netcdf-3 file
```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,928381010
https://github.com/pydata/xarray/issues/2436#issuecomment-661721510,https://api.github.com/repos/pydata/xarray/issues/2436,661721510,MDEyOklzc3VlQ29tbWVudDY2MTcyMTUxMA==,20254164,2020-07-21T08:43:04Z,2020-07-21T08:43:04Z,CONTRIBUTOR,"### Description
Any news about this issue? I am facing the same problem and I had to get the calendars by hand... I tried to update xarray but there is still the same issue of missing the `ds.time.encoding` with `open_mfdataset` when the dimension to concatenate is the time (because the example from @keewis above works but the concatenation is on `x`).

### Step to reproduce
Here is a simple example to illustrate:

```python
import xarray as xr
ds = xr.tutorial.open_dataset('air_temperature')
ds.time.encoding
```

that gives:
```python
{'source': '/home/lalandmi/.xarray_tutorial_data/air_temperature.nc',
 'original_shape': (2920,),
 'dtype': dtype('float32'),
 'units': 'hours since 1800-01-01',
 'calendar': 'standard'}
```

Let's slipt this dataset and try to read it back with `open_mfdataset`:
```python
ds.sel(time='2013').to_netcdf('tutorial_air_temperature_2013.nc')
ds.sel(time='2014').to_netcdf('tutorial_air_temperature_2014.nc')
ds_mf = xr.open_mfdataset('tutorial_air_temperature_*.nc', combine='by_coords')
ds_mf.time.encoding
```
that results in an empty dictionary:
```python
{}
```

Adding some arguments `attrs_file=paths[0]` with the name of the files didn't change anything for me. Is there any other way or update about this?

### Xarray version
<details>
<summary>xr.show_versions()</summary>

```python
INSTALLED VERSIONS
------------------
commit: None
python: 3.8.4 | packaged by conda-forge | (default, Jul 17 2020, 15:16:46) 
[GCC 7.5.0]
python-bits: 64
OS: Linux
OS-release: 4.19.0-9-amd64
machine: x86_64
processor: 
byteorder: little
LC_ALL: None
LANG: fr_FR.UTF-8
LOCALE: fr_FR.UTF-8
libhdf5: 1.10.6
libnetcdf: 4.7.4

xarray: 0.16.0
pandas: 1.0.5
numpy: 1.19.0
scipy: None
netCDF4: 1.5.3
pydap: None
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: 1.2.1
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: 2.21.0
distributed: 2.21.0
matplotlib: None
cartopy: None
seaborn: None
numbagg: None
pint: None
setuptools: 49.2.0.post20200712
pip: 20.1.1
conda: None
pytest: None
IPython: 7.16.1
sphinx: None
```
</details> ","{""total_count"": 2, ""+1"": 2, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,363299007
https://github.com/pydata/xarray/pull/3464#issuecomment-548260269,https://api.github.com/repos/pydata/xarray/issues/3464,548260269,MDEyOklzc3VlQ29tbWVudDU0ODI2MDI2OQ==,20254164,2019-10-31T08:17:58Z,2019-10-31T11:09:56Z,CONTRIBUTOR,Thanks all of you guys to be patient and for your explanations :) Last question: can I archive or delete the mickaellalande/xarray repository on my account now?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,514529201
https://github.com/pydata/xarray/pull/3464#issuecomment-547918686,https://api.github.com/repos/pydata/xarray/issues/3464,547918686,MDEyOklzc3VlQ29tbWVudDU0NzkxODY4Ng==,20254164,2019-10-30T14:01:46Z,2019-10-30T14:01:46Z,CONTRIBUTOR,"Ok I made it back to the branch ""patch-1""","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,514529201
https://github.com/pydata/xarray/pull/3464#issuecomment-547914057,https://api.github.com/repos/pydata/xarray/issues/3464,547914057,MDEyOklzc3VlQ29tbWVudDU0NzkxNDA1Nw==,20254164,2019-10-30T13:52:42Z,2019-10-30T13:52:42Z,CONTRIBUTOR,Should I update the whatsnewt on pydata/xarray or mickaellalande/xarray? I did it only on mine.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,514529201
https://github.com/pydata/xarray/pull/3464#issuecomment-547909240,https://api.github.com/repos/pydata/xarray/issues/3464,547909240,MDEyOklzc3VlQ29tbWVudDU0NzkwOTI0MA==,20254164,2019-10-30T13:43:04Z,2019-10-30T13:43:04Z,CONTRIBUTOR,"I have no idea if I did the right thing... I changed the 'base' to master on this pull request and also on the repository : mickaellalande/xarray that was created. I don't know if had to do both? Let me know if I'm doing a mess... 

I also changed the whatsnew from that repository (mickaellalande/xarray) and wrote: ""Fix leap year (http://xarray.pydata.org/en/stable/examples/monthly-means.html) by Mickaƫl Lalande."" under ""Documentation"". ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,514529201
https://github.com/pydata/xarray/pull/3464#issuecomment-547891712,https://api.github.com/repos/pydata/xarray/issues/3464,547891712,MDEyOklzc3VlQ29tbWVudDU0Nzg5MTcxMg==,20254164,2019-10-30T13:03:51Z,2019-10-30T13:03:51Z,CONTRIBUTOR,"Hi @max-sixty, thanks for the quick answer. It's my first contribution to Github repository other than mine so I'm not familiar with everything and git too. Can you detail me how to ""change the 'base' of your PR to master"" and where I ""add a change & your name to whatsnew""?

Thanks in advance.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,514529201