The SEDRIS Data Representation Model
APPENDIX A - Classes Enumeration Axis |
---|
An instance of this DRM class is an <Axis> that uses EDCS Enumerant Codes rather than numerical values as hash marks.
Consider a <Property Grid> containing data that varies by ocean bottom material composition. The <Property Grid> therefore has an <Enumeration Axis> of axis_type = EAC_WATER_BODY_FLOOR_MATERIAL_TYPE. The axis_value_array[] contains corresponding values such as EEC_WTRBDFLRMATTY_CLAY_AND_SILT.
Consider a <Property Table> containing data that varies by season of the year. The <Property Table> therefore has an <Enumeration Axis> of axis_type = EAC_SEASON. The axis_value_array[] contains some or all of the values: EEC_SEASON_WINTER, EEC_SEASON_SPRING, EEC_SEASON_SUMMER, or EEC_SEASON_AUTUMN.
If the values on the <Enumeration Axis> represent different values of some variable (days of the week, colours, seasons, states), the data provider should use an <Enumeration Axis> (request a new EAC enumeration if justified). Multiple <Table Property Description> instances should be used when the <Data Table> contains different kinds of dependent data, such as temperature, pressure, and humidity.
SE_Element_Type | axis_type; | (notes) |
---|---|---|
EDCS_Unit_Code | value_unit; | (notes) |
EDCS_Scale_Code | value_scale; | (notes) |
SE_Short_Integer_Positive | axis_value_count; | (notes) |
EDCS_Enumerant_Code | axis_value_array[]; |
---|
This specifies the property being described by the given <Axis>.
This specifies the unit of measurement of the given <Axis>, which shall be compatible with the requirements imposed by axis_type. If axis_type does not require a unit of measurement (for example, if axis_type requires a value type of STRING), then value_unit shall be set to EUC_UNITLESS.
This specifies the scale applicable to value_unit. If axis_type does not require a unit of measurement (for example, if axis_type requires a value type of STRING), then value_scale shall be set to ESC_UNI.
This is the number of "hash marks" along the given <Axis>.
|