Expand the domain with a new dimension in place.
The new dimension may by of any size greater then 0.
A dimension coordinate for the new dimension. The new dimension’s size is set to the size of the coordinate’s array.
The size of the new dimension. By default a dimension of size 1 is introduced. Ignored if coord is set.
None
Examples
>>> d.expand_dims() >>> d.expand_dims(size=12) >>> c <CF Coordinate: > >>> d.expand_dims(coord=c)
cf.Domain.equivalent_transform
cf.Domain.finalize
Enter search terms or a module, class or function name.