cf.Field.analyse_items¶
-
Field.
analyse_items
(relaxed_identities=None)[source]¶ Analyse a domain.
- Returns
dict
A description of the domain.
Examples
>>> print(f) Axes : time(3) = [1979-05-01 12:00:00, ..., 1979-05-03 12:00:00] gregorian : air_pressure(5) = [850.000061035, ..., 50.0000038147] hPa : grid_longitude(106) = [-20.5400109887, ..., 25.6599887609] degrees : grid_latitude(110) = [23.3200002313, ..., -24.6399995089] degrees Aux coords : latitude(grid_latitude(110), grid_longitude(106)) = [[67.1246607722, ..., 22.8886948065]] degrees_N : longitude(grid_latitude(110), grid_longitude(106)) = [[-45.98136251, ..., 35.2925499052]] degrees_E Coord refs : <CF CoordinateReference: rotated_latitude_longitude>
>>> f.analyse_items() { 'dim_coords': {'dim0': <CF Dim ....>, 'aux_coords': {'N-d': {'aux0': <CF AuxiliaryCoordinate: latitude(110, 106) degrees_N>, 'aux1': <CF AuxiliaryCoordinate: longitude(110, 106) degrees_E>}, 'dim0': {'1-d': {}, 'N-d': {},}, 'dim1': {'1-d': {}, 'N-d': {},}, 'dim2': {'1-d': {}, 'N-d': {'aux0': <CF AuxiliaryCoordinate: latitude(110, 106) degrees_N>, 'aux1': <CF AuxiliaryCoordinate: longitude(110, 106) degrees_E>},}, 'dim3': {'1-d': {}, 'N-d': {'aux0': <CF AuxiliaryCoordinate: latitude(110, 106) degrees_N>, 'aux1': <CF AuxiliaryCoordinate: longitude(110, 106) degrees_E>},},}, 'axis_to_coord': {'dim0': <CF DimensionCoordinate: time(3) gregorian>, 'dim1': <CF DimensionCoordinate: air_pressure(5) hPa>, 'dim2': <CF DimensionCoordinate: grid_latitude(110) degrees>, 'dim3': <CF DimensionCoordinate: grid_longitude(106) degrees>}, 'axis_to_id': {'dim0': 'time', 'dim1': 'air_pressure', 'dim2': 'grid_latitude', 'dim3': 'grid_longitude'}, 'cell_measures': {'N-d': {}, 'dim0': {'1-d': {}, 'N-d': {},}, 'dim1': {'1-d': {}, 'N-d': {},}, 'dim2': {'1-d': {}, 'N-d': {},}, 'dim3': {'1-d': {}, 'N-d': {},}, }, 'id_to_aux': {}, 'id_to_axis': {'air_pressure': 'dim1', 'grid_latitude': 'dim2', 'grid_longitude': 'dim3', 'time': 'dim0'}, 'id_to_coord': {'air_pressure': <CF DimensionCoordinate: air_pressure(5) hPa>, 'grid_latitude': <CF DimensionCoordinate: grid_latitude(110) degrees>, 'grid_longitude': <CF DimensionCoordinate: grid_longitude(106) degrees>, 'time': <CF DimensionCoordinate: time(3) gregorian>}, 'id_to_key': {'air_pressure': 'dim1', 'grid_latitude': 'dim2', 'grid_longitude': 'dim3', 'time': 'dim0'}, 'undefined_axes': [], 'warnings': [], }