Skip to content

Commit

Permalink
Example how to add unit aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
VelizarVESSELINOV committed Apr 14, 2016
1 parent 3ae43bf commit c56f796
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion uom/unit_alias.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Unit alias dictionary."""

# Alias: UOM
unit_alias_dict = {
"deg": "dega",
"lbm/gal": "lbf/gal[US]",
Expand All @@ -9,7 +10,11 @@
"deg/100ft": "0.01 dega/ft",
"feet": "ft",
"FT": "ft",
"foot": "ft"
"foot": "ft",
"ft/ht": "ft/h",
"1/30 deg/m": "1/30 dega/m",
"1000 ft.lbf": "1000 lbf.ft",
"1000 lbf": "klbf"
}


Expand Down

0 comments on commit c56f796

Please sign in to comment.