Remove a coordinate from the domain in place, preserving internal consistency.
Note that this will never remove a dimension from the domain.
Parameters : |
|
---|---|
Returns : |
|
Examples
>>> d.dimension_sizes
{'dim0': 73, 'dim1': 96, 'dim2': 1}
>>> d.dimensions
{'dim0': ['dim0'],
'dim1': ['dim1'],
'aux0': ['dim2'],
'data': ['dim2', 'dim0, 'dim1']}
>>> d.remove_coordinate('aux0')
>>> d.remove_coordinate('dim1')
>>> d.dimension_sizes
{'dim0': 73, 'dim1': 96, 'dim2': 1}}
>>> d.dimensions
{'dim0': ['dim0'],
'data': ['dim2', 'dim0, 'dim1']}