In order to facilitate unit conversion, we need the configuration array that contains rows with the following:
- Unit Q-ID
- Primary unit Q-ID
- Unit name in GNU Units
- Multiplier from this unit to primary unit (from GNU Units)
Example:
Q253276 | Q11573 | mile | 1609.344 |
Q11573 | Q11573 | m | 1 |
Primary units will have first two items the same and 1 as the multiplier.
The full configuration file should be generated by the script from the user-editable config that contains only three first items.