A dictionary mapping the domain’s dimensions to their sizes.
Keys are dimension identifiers ('dimN') and values are integers giving the size of each dimension.
The N part of each key identifier should be replaced by an arbitrary integer greater then or equal to zero, the only restriction being that the resulting identifier is not already in use. No meaning should be inferred from the integer part of the identifiers, which need not include zero nor be consecutive (although these will commonly be the case).
The dimensions attribute stores how these dimensions relate to the domain’s dimensions and auxiliary coordinates and cell measures, as well as the containing field’s data array.
Examples
In this example, the domain has four dimensions denoted 'dim1', 'dim2', 'dim3' and 'dim7' with sizes 73, 96, 12 and 1 respectively.
>>> d.dimension_sizes
{'dim7': 1, 'dim3': 12, 'dim1': 73, 'dim2': 96}