xarray.DataArray.pr.combine_first#
- DataArray.pr.combine_first(da_combine: DataArray) DataArray #
Combine data from multiple arrays.
Wrapper for :py:meth`xarray.DataArray.combine_first` which ensures that additional coordinates present in the calling dataset are also present in the result. The default :py:meth`xarray.DataArray.combine_first` implementation silently drops additional (non-indexed) coordinates if they need alignment (do not cover the same values in both DataArrays)
- Parameters:
- da_combine
DataArray used to combine with the calling DataArray
- Returns:
- combined
calling DataArray combined with da_combine