Tools: new parameter units

This commit is contained in:
Andrew Tridgell 2024-04-26 19:06:36 +10:00
parent 1976f3d2d6
commit 6199147fe2

View File

@ -127,10 +127,12 @@ known_units = {
'gravities': 'standard acceleration due to gravity' , # g_n would be a more correct unit, but IMHO no one understands what g_n means 'gravities': 'standard acceleration due to gravity' , # g_n would be a more correct unit, but IMHO no one understands what g_n means
'octal' : 'octal' , 'octal' : 'octal' ,
'RPM' : 'Revolutions Per Minute', 'RPM' : 'Revolutions Per Minute',
'kg' : 'kilograms',
'kg/m/m' : 'kilograms per square meter', # metre is the SI unit name, meter is the american spelling of it 'kg/m/m' : 'kilograms per square meter', # metre is the SI unit name, meter is the american spelling of it
'kg/m/m/m': 'kilograms per cubic meter', 'kg/m/m/m': 'kilograms per cubic meter',
'litres' : 'litres', 'litres' : 'litres',
'Ohm' : 'Ohm', 'Ohm' : 'Ohm',
'N' : 'Newtons',
} }
required_param_fields = [ required_param_fields = [