cf.Field.constructs

Field.constructs()[source]

Return all of the data model constructs of the field.

New in version 2.0.

See also

dump

Examples 1:
>>> f.constructs()
Returns:
out: list

The objects correposnding CF data model constructs.

Examples 2:
>>> print f
eastward_wind field summary
---------------------------
Data           : eastward_wind(air_pressure(15), latitude(72), longitude(96)) m s-1
Cell methods   : time: mean
Axes           : time(1) = [2057-06-01T00:00:00Z] 360_day
               : air_pressure(15) = [1000.0, ..., 10.0] hPa
               : latitude(72) = [88.75, ..., -88.75] degrees_north
               : longitude(96) = [1.875, ..., 358.125] degrees_east
>>> f.constructs()
[<CF Field: eastward_wind(air_pressure(15), latitude(72), longitude(96)) m s-1>,
 <CF DomainAxis: 96>,
 <CF DomainAxis: 1>,
 <CF DomainAxis: 15>,
 <CF DomainAxis: 72>,
 <CF CellMethod: dim3: mean>,
 <CF DimensionCoordinate: longitude(96) degrees_east>,
 <CF DimensionCoordinate: time(1) 360_day>,
 <CF DimensionCoordinate: air_pressure(15) hPa>,
 <CF DimensionCoordinate: latitude(72) degrees_north>]