semantique.processor.arrays.Array.drop_non_dimension_coords#
- Array.drop_non_dimension_coords(keep=None)[source]#
Drop non-dimension coordinates from the array.
Non-dimension coordinates are coordinates that are used for e.g. auxiliary labeling or metadata storage. See the xarray documentation.
- Parameters:
keep (
list
, optional) – List of non-dimension coordinate names that should not be dropped.- Returns:
xarray.DataArray
– The input array without non-dimension coordinates