Return a dictionary whose values are the cell measures which span the given dimension and keys of the cell measure identifiers.
Parameters : |
|
---|---|
Returns : |
|
Examples
>>> d.dimensions
{'data': ['dim0', 'dim1', 'dim2'],
'dim0': ['dim0'],
'dim1': ['dim1'],
'dim2': ['dim2'],
'cm0' : ['dim1', 'dim2'],
'cm1' : ['dim1', 'dim2', 'dim3']}
>>> d.cell_measures()
{'cm0': <CF CellMeasure: ...>,
'cm1': <CF CellMeasure: ...>}
>>> d.cell_measures('dim3')
{'cm1': <CF CellMeasure: ...>}
>>> d.cell_measures('dim0')
{}