Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 871 Bytes

FAQ.md

File metadata and controls

24 lines (18 loc) · 871 Bytes

Frequently asked questions

How to include my own units?

VSS standard catalog uses the units defined in this file. They are also described in the VSS documentation.

It is possible to replace the default units by the -u parameter, see vspec2x documentation.

The syntax of the file with units shall follow this pattern:

puncheon:
  definition: Volume measure in puncheons (1 puncheon = 318 liters)
  unit: Puncheon
  quantity: volume
  allowed_datatypes: ['uint16', 'int16']
hogshead:
  definition: Volume measure in hogsheads (1 hogshead = 238 liters)
  unit: Hogshead
  quantity: volume
  allowed_datatypes: ['numeric']