cf.BoundsFromNodesArray.get_cell_dimension

BoundsFromNodesArray.get_cell_dimension(default=ValueError())[source]

Return the position of the cell dimension.

In UGRID, this is provided by one of the the “edge_dimension”, “face_dimension” or “volume_dimension” variables.

Added in version (cfdm): 1.11.0.0

Parameters:
default: optional

Return the value of the default parameter if there is no cell dimension position.

If set to an Exception instance then it will be raised instead.

Returns:
int

The position of the cell dimension.