cf.DimensionCoordinate.__setitem__

DimensionCoordinate.__setitem__(indices, value)[source]

Called to implement assignment to x[indices]

x.__setitem__(indices, y) <==> x[indices] = y

Bounds

When assigning an object that has bounds to an object that also has bounds, then the bounds are also assigned, if possible. This is the only circumstance that allows bounds to be updated during assignment by index.

Interior ring assignment can only occur if both x and y have interior ring arrays. An exception will be raised only one of x and y has an interior ring array.