-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Description
The xarray merge function will change its default values for function parameters. To ensure that cmethods can handle this, changes need to be made.
/home/btschwertfeger/src/python-cmethods/cmethods/core.py:249: FutureWarning: In a future version of xarray the default value for compat will change from compat='no_conflicts' to compat='override'. This is likely to lead to different results when combining overlapping variables with the same name. To opt in to new defaults and get rid of these warnings now use `set_options(use_new_combine_kwarg_defaults=True) or set compat explicitly.
/home/btschwertfeger/src/python-cmethods/cmethods/core.py:249: FutureWarning: In a future version of xarray the default value for join will change from join='outer' to join='exact'. This change will result in the following ValueError: cannot be aligned with join='exact' because index/labels/sizes are not equal along these coordinates (dimensions): 'time' ('time',) The recommendation is to set join explicitly for this case.
result = monthly_result if result is None else xr.merge([result, monthly_result], compat="no_conflicts")