pds-data-dictionaries / PDS4-LDD-Issue-Repo

Issue repository for tracking all PDS4 Discipline Dictionary-related issues, new feature requests, and releases.
Apache License 2.0
2 stars 1 forks source link

[ldd-disp] Add Sanity-check on names of display axes #206

Open acraugh opened 2 years ago

acraugh commented 2 years ago

Issue Type validation Enhancement.

Describe the issue identified (if applicable) There is no constraint that the horizontal and vertical display axes have different names in the Display_Settings class. Similarly, the Movie_Settings and Color_Display_Settings require specification of a time and color axis, respectively, but there is no validation check to ensure that the name provided for the time/color axis is not the same as the name of either the horizontal or vertical display axes.

Describe the solution you'd like While it might be reasonable for the same axis to be used for both color and movie display, it is not reasonable for that to be true for the identified horizontal and vertical axes, or for the time/color axis to coincide with either the horizontal or display axes. This should be validated to avoid cut & paste errors and typos in product labels that would cause the data to be visualized incorrectly.

Describe alternatives you've considered None.

LDD Dictionary Version 1.5.1.0

PDS4 IM Version 1.18.0.0

Need-by Date ASAP

Additional context DMSP Workshop follow-up