
units = {}

units['nfo'] = {'type': 'nfo', 'convert': 1} #don't convert, take value literal

#Speed (reference: m/s)
units['mph'] = {'type': 'speed', 'convert': 2.236936}
units['km/h'] = {'type': 'speed', 'convert': 3.6}
units['m/s'] = {'type': 'speed', 'convert': 1}

#Power (reference: hp)
units['hp'] = {'type': 'power', 'convert': 1}

#Weight (reference: ton)
units['ton'] = {'type': 'weight', 'convert': 1}
units['tons'] = {'type': 'weight', 'convert': 1}
