intake / intake-xarray

Intake plugin for xarray
https://intake-xarray.readthedocs.io/
BSD 2-Clause "Simplified" License
76 stars 36 forks source link

Fix FutureWarning in intake_xarray.netcdf.NetCDFSource() #55

Closed christine-e-smit closed 5 years ago

christine-e-smit commented 5 years ago

This change removes the future warning:

FutureWarning: In xarray version 0.14 the default behaviour of `open_mfdataset`
will change. To retain the existing behavior, pass
combine='nested'. To use future default behavior, pass
combine='by_coords'. See
http://xarray.pydata.org/en/stable/combining.html#combining-multi

in the intake_xarray/tests/test_intake_xarray.py unit test. Issue is documented in https://github.com/intake/intake-xarray/issues/54.

jsignell commented 5 years ago

Looks good to me! Thanks for the contribution!