Skip to content

Switch to using q instead of u for user unit#6196

Merged
PaulWessel merged 1 commit intomasterfrom
use-q-for-user-quantity
Jan 6, 2022
Merged

Switch to using q instead of u for user unit#6196
PaulWessel merged 1 commit intomasterfrom
use-q-for-user-quantity

Conversation

@PaulWessel
Copy link
Member

This change is driven by the fact u is already one of the recognized map distance units (survey foot) and hence we want a unique letter to indicate 'user unit'. Such units are used in a few places, for instance the width of a vertical bar may be specified in x-units and for columns it may separately be specified as x and/or y-units. With coming improvements to geovector where a user quantity is needed and u is already a valid unit we need to change. Of course, the u is still handled via backwards compatibility. The new and improved unit is called q for quantity.

I also fixed missing usage message for the 3-D cube symbol in psxyz and made sure all tests worked with the old 'u' before changing them to 'q' and rechecking the tests. Also, ex43 had an outdated syntax for the bar base.

This change is driven by the fact u is already one of the recognized map distance units (survey foot) and hence we want a unique letter to indicate 'user unit'.  Such units are used in a few places, for instance the width of a vertical bar may be specified in x-units and for columns it may separately be specified as x and/or y-units.

Fixed missing usage message for teh 3-D cube symbol in psxyz and made sure all tests worked with the old 'u' before changing that to 'q' and rechecking the tests.
@PaulWessel PaulWessel added maintenance Boring but important stuff for the core devs deprecation Deprecating a feature labels Jan 5, 2022
@PaulWessel PaulWessel added this to the 6.4.0 milestone Jan 5, 2022
@PaulWessel PaulWessel requested a review from maxrjones January 5, 2022 21:46
@PaulWessel PaulWessel self-assigned this Jan 5, 2022
@PaulWessel PaulWessel merged commit 00003b6 into master Jan 6, 2022
@PaulWessel PaulWessel deleted the use-q-for-user-quantity branch January 6, 2022 00:33
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add-changelog Add PR to the changelog deprecation Deprecating a feature maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants