earthlab / cft

Climate futures toolbox: easy MACA (MACAv2) climate data access 📦
https://www.earthdatascience.org/cft/index.html
25 stars 6 forks source link

Future open_mfdataset warning #38

Closed WilliamsTravis closed 4 years ago

WilliamsTravis commented 4 years ago

We've been getting this message for a while. It sounds like the xarray dev team is updating the multiple file combination function to accept concatenation along multiple dimensions, so they changed the automatic shared dimension detection process.

FutureWarning: In xarray version 0.15 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

My attempts to implement this change have, so far, all failed. This might be a syntax issue with reticulate.

I think it would be good to figure this out and avoid these awful warning messages!

WilliamsTravis commented 4 years ago

@mbjoseph I can no longer recreate this issue...is it still happening for you?