xarray.Dataset.merge (original) (raw)

Dataset.merge(other, overwrite_vars=frozenset({}), compat='no_conflicts', join='outer', fill_value=, combine_attrs='override')[source]#

Merge the arrays of two datasets into a single dataset.

This method generally does not allow for overriding data, with the exception of attributes, which are ignored on the second dataset. Variables with the same name are checked for conflicts via the equals or identical methods.

Parameters:

Returns:

merged (Dataset) – Merged dataset.

Raises:

MergeError – If any variables conflict (see compat).