Return the item corresponding to an internal identifier.
Parameters : |
|
---|---|
Returns : |
|
Examples
>>> d.get('dim0')
<CF DimensionCoordinate: atmosphere_hybrid_height_coordinate(1)>
>>> d.get('aux1')
<CF AuxiliaryCoordinate: latitude(10, 9) degree_N>
>>> d.get('cm0')
<CF CellMeasure: area(9, 10) km 2>
>>> d.get('trans0')
<CF Transform: rotated_latitude_longitude>
>>> d.get('bad_id')
ValueError: Domain doesn't have internal identifier 'bad_id'
>>> print d.get('bad_id', None)
None