oceanspy.OceanDataset.merge_into_oceandataset

OceanDataset.merge_into_oceandataset(obj, overwrite=False)[source]

Merge a Dataset or DataArray into the OceanDataset.

Parameters
obj: xarray.DataArray or xarray.Dataset

object to merge.

overwrite: bool or None

If True, overwrite existing DataArrays with same name. If False, use xarray.merge.