Module:Convert/data/sandbox: Difference between revisions

Content deleted Content added
update from Module talk:Convert/makeunits to remove excess digits in scale
Line 49:
symbol = "km/(h·s)",
utype = "acceleration",
scale = 0.27777777777777779011358916250227777777777777779,
default = "mph/s",
link = "Acceleration",
Line 322:
usename = 1,
utype = "area",
scale = 3.30578512396694224051429955583057851239669422,
default = "m2",
},
Line 392:
usename = 1,
utype = "area",
scale = 3.30578512396694224051429955583057851239669422,
default = "m2",
link = "Japanese units of measurement#Area",
Line 511:
symbol = "sq ft/acre",
utype = "area per unit area",
scale = 2.29568411386593195335544675961e295684113865932e-5,
default = "m2/ha",
},
Line 604:
symbol = "lbCO2/US gal",
utype = "co2 per unit volume",
scale = 119.82642731689662696226150728882642731689663,
default = "kgCO2/L",
link = "Exhaust gas",
Line 766:
symbol = "lb/cu ft",
utype = "density",
scale = 16.0184633739601416380082810065018463373960142,
default = "g/cm3",
link = "Density",
Line 775:
symbol = "lb/cu in",
utype = "density",
scale = 27679.9047102031217946205288172904710203122,
default = "g/cm3",
link = "Density",
Line 784:
symbol = "lb/cu yd",
utype = "density",
scale = 0.5932764212577829043837596145755932764212577829,
default = "kg/m3",
link = "Density",
Line 793:
symbol = "lb/imp gal",
utype = "density",
scale = 99.7763726631016965029630227946776372663101697,
default = "kg/L",
link = "Density",
Line 802:
symbol = "lb/cu in",
utype = "density",
scale = 27679.9047102031217946205288172904710203122,
default = "g/cm3",
link = "Density",
Line 811:
symbol = "lb/U.S. gal",
utype = "density",
scale = 119.82642731689662696226150728882642731689663,
default = "kg/L",
link = "Density",
Line 820:
symbol = "lb/US bu",
utype = "density",
scale = 12.8718597809744714766111428617871859780974471,
default = "kg/m3",
link = "Bushel",
Line 829:
symbol = "lb/US gal",
utype = "density",
scale = 119.82642731689662696226150728882642731689663,
default = "kg/L",
link = "Density",
Line 838:
symbol = "lbm/cu in",
utype = "density",
scale = 27679.9047102031217946205288172904710203122,
default = "g/cm3",
link = "Density",
Line 858:
symbol = "oz/cu in",
utype = "density",
scale = 1729.994044387695112163783051079940443876951,
default = "g/cm3",
link = "Density",
Line 2,706:
symbol = "BTU/lb",
utype = "energy per unit mass",
scale = 429.92261414790345952496863901692261414790346,
default = "kJ/kg",
link = "British thermal unit",
Line 2,867:
symbol = "g/mi",
utype = "exhaust emission",
scale = 6.21371192237333967411092895683e2137119223733397e-7,
default = "g/km",
link = "Exhaust gas",
Line 2,887:
symbol = "g(CO<sub>2</sub>)/mi",
utype = "exhaust emission",
scale = 6.21371192237333967411092895683e2137119223733397e-7,
default = "gCO2/km",
link = "Exhaust gas",
Line 2,918:
symbol = "lb/mi",
utype = "exhaust emission",
scale = 0.00028184923173665794382883320601300028184923173665794,
default = "kg/km",
link = "Exhaust gas",
Line 2,927:
symbol = "lb(CO<sub>2</sub>)/mi",
utype = "exhaust emission",
scale = 0.00028184923173665794382883320601300028184923173665794,
default = "kgCO2/km",
link = "Exhaust gas",
Line 2,936:
symbol = "oz/mi",
utype = "exhaust emission",
scale = 1.76155769835411214893020753758e7615576983541121e-5,
default = "g/km",
link = "Exhaust gas",
Line 2,945:
symbol = "oz(CO<sub>2</sub>)/mi",
utype = "exhaust emission",
scale = 1.76155769835411214893020753758e7615576983541121e-5,
default = "gCO2/km",
link = "Exhaust gas",
Line 2,954:
symbol = "cu&nbsp;ft/a",
utype = "flow",
scale = 8.9730672142368241566446146148e9730672142368242e-10,
default = "m3/a",
link = "Cubic foot per second",
Line 2,963:
symbol = "cu&nbsp;ft/d",
utype = "flow",
scale = 3.27741280000000032720332060129e2774128000000003e-7,
default = "m3/d",
link = "Cubic foot per second",
Line 2,972:
symbol = "cu&nbsp;ft/h",
utype = "flow",
scale = 7.86579072000000036177149581595e8657907200000004e-6,
default = "m3/h",
link = "Cubic foot per second",
Line 2,981:
symbol = "cu&nbsp;ft/min",
utype = "flow",
scale = 0.00047194744319999998782497185878500047194744319999999,
default = "m3/min",
link = "Cubic foot#cubic foot per second",
Line 2,998:
symbol = "cu&nbsp;mi/a",
utype = "flow",
scale = 132.0817117094005652688792906708171170940057,
default = "km3/a",
link = "Cubic foot per second",
Line 3,007:
symbol = "cuyd/h",
utype = "flow",
scale = 0.00021237634944000000807376449252200021237634944000001,
default = "m3/h",
link = "Cubic foot per minute",
Line 3,016:
symbol = "cu&nbsp;yd/s",
utype = "flow",
scale = 0.76455485798400002472874348313876455485798400002,
default = "m3/s",
},
Line 3,024:
symbol = "Gbbl/a",
utype = "flow",
scale = 5.038003362993383582590922742380380033629933836,
default = "v * 1.58987294928 < 10 ! e6 ! e9 ! m3/a",
link = "Barrel per day",
Line 3,033:
symbol = "imp&nbsp;gal/h",
utype = "flow",
scale = 1.26280277777777785956755864788e2628027777777779e-6,
default = "m3/h",
link = "Gallon",
Line 3,042:
symbol = "imp gal/min",
utype = "flow",
scale = 7.57681666666666707270205716185e5768166666666671e-5,
default = "m3/s",
link = "Gallon",
Line 3,062:
symbol = "km<sup>3</sup>/a",
utype = "flow",
scale = 31.688087814028950361944225733268808781402895,
default = "cumi/a",
link = "Cubic metre per second",
Line 3,071:
symbol = "kbbl/a",
utype = "flow",
scale = 5.03800336299338414811077591082e0380033629933841e-6,
default = "v * 1.58987294928 < 10 ! ! e3 ! m3/a",
link = "Barrel per day",
Line 3,080:
symbol = "kbbl/d",
utype = "flow",
scale = 0.001840130728333333465229770808950018401307283333335,
default = "v * 1.58987294928 < 10 ! ! e3 ! m3/d",
link = "Barrel per day",
Line 3,091:
symbol = "L/h",
utype = "flow",
scale = 2.77777777777777759325635595702e7777777777777776e-7,
default = "impgal/h USgal/h",
link = "Cubic metre per second",
Line 3,102:
symbol = "L/min",
utype = "flow",
scale = 1.66666666666666674653622670643e6666666666666667e-5,
default = "impgal/min USgal/min",
link = "Cubic metre per second",
Line 3,124:
symbol = "m<sup>3</sup>/a",
utype = "flow",
scale = 3.16880878140289472458082686065e1688087814028947e-8,
default = "cuft/a",
link = "Cubic metre per second",
Line 3,135:
symbol = "m<sup>3</sup>/d",
utype = "flow",
scale = 1.15740740740740734993465335667e1574074074074073e-5,
default = "cuft/d",
link = "Cubic metre per second",
Line 3,146:
symbol = "m<sup>3</sup>/h",
utype = "flow",
scale = 0.0002777777777777777775368439616700027777777777777778,
default = "cuft/h",
link = "Cubic metre per second",
Line 3,157:
symbol = "m<sup>3</sup>/min",
utype = "flow",
scale = 0.0166666666666666664353702032031016666666666666666,
default = "cuft/min",
link = "Cubic metre per second",
Line 3,176:
symbol = "Mbbl/a",
utype = "flow",
scale = 0.005038003362993383714429906916620050380033629933837,
default = "v * 1.58987294928 < 10 ! e3 ! e6 ! m3/a",
link = "Barrel per day",
Line 3,185:
symbol = "Mbbl/d",
utype = "flow",
scale = 1.840130728333333465229770808958401307283333335,
default = "v * 1.58987294928 < 10 ! e3 ! e6 ! m3/d",
link = "Barrel per day",
Line 3,194:
symbol = "bbl/a",
utype = "flow",
scale = 5.038003362993384088553771807e0380033629933841e-9,
default = "m3/a",
link = "Barrel per day",
Line 3,203:
symbol = "bbl/d",
utype = "flow",
scale = 1.84013072833333355840339500692e8401307283333336e-6,
default = "m3/d",
},
Line 3,211:
symbol = "Tbbl/a",
utype = "flow",
scale = 5038.003362993383234424982219930033629933832,
default = "v * 1.58987294928 < 10 ! e9 ! e12 ! m3/a",
link = "Barrel per day",
Line 3,220:
symbol = "U.S.&nbsp;gal/d",
utype = "flow",
scale = 4.38126363888888929872341857982e3812636388888893e-8,
default = "m3/s",
customary= 1,
Line 3,229:
symbol = "gal/h",
utype = "flow",
scale = 1.05150327333333343169362045916e0515032733333334e-6,
default = "m3/h",
link = "Gallon",
Line 3,239:
symbol = "U.S.&nbsp;gal/min",
utype = "flow",
scale = 6.30901964000000033605183857865e3090196400000003e-5,
default = "m3/s",
link = "Gallon",
Line 3,248:
symbol = "US&nbsp;gal/a",
utype = "flow",
scale = 1.19952461023651991030111362998e1995246102365199e-10,
default = "m3/s",
link = "US gallon per day",
Line 3,257:
symbol = "US&nbsp;gal/d",
utype = "flow",
scale = 4.38126363888888929872341857982e3812636388888893e-8,
default = "m3/s",
},
Line 3,265:
symbol = "gal/h",
utype = "flow",
scale = 1.05150327333333343169362045916e0515032733333334e-6,
default = "m3/h",
link = "Gallon",
Line 3,275:
symbol = "US&nbsp;gal/min",
utype = "flow",
scale = 6.30901964000000033605183857865e3090196400000003e-5,
default = "m3/s",
link = "Gallon",
Line 3,804:
symbol = "ft/mi",
utype = "gradient",
scale = 0.00018939393939393939377512088295700018939393939393939,
default = "v < 5.28 ! c ! ! m/km",
link = "Grade (slope)",
Line 3,813:
symbol = "ft/nmi",
utype = "gradient",
scale = 0.00016457883369330454539740393737900016457883369330455,
default = "v < 6.076 ! c ! ! m/km",
link = "Grade (slope)",
Line 3,822:
symbol = "in/ft",
utype = "gradient",
scale = 0.0833333333333333287074040640618083333333333333329,
default = "mm/m",
link = "Grade (slope)",
Line 3,831:
symbol = "in/mi",
utype = "gradient",
scale = 1.57828282828282828145934069131e5782828282828283e-5,
default = "v < 0.6336 ! m ! c ! m/km",
link = "Grade (slope)",
Line 3,896:
usename = 1,
utype = "length",
scale = 0.003030303030303030300401934127310030303030303030303,
default = "mm",
link = "Japanese units of measurement#Length",
Line 4,193:
usename = 1,
utype = "length",
scale = 0.30303030303030303871381079261530303030303030304,
default = "m",
link = "Japanese units of measurement#Length",
Line 4,218:
usename = 1,
utype = "length",
scale = 0.0303030303030303038713810792615030303030303030304,
default = "mm",
link = "Japanese units of measurement#Length",
Line 4,385:
symbol = "lb/ft",
utype = "linear density",
scale = 1.488163943569553948620409755684881639435695539,
default = "kg/m",
link = "Linear density",
Line 4,394:
symbol = "lb/yd",
utype = "linear density",
scale = 0.49605464785651798287346991855949605464785651798,
default = "kg/m",
link = "Linear density",
Line 4,534:
symbol = "imp&nbsp;gal H<sub>2</sub>O",
utype = "mass",
scale = 4.535923699999949931793707946785359236999999499,
default = "lb kg",
link = "Imperial gallon",
Line 4,761:
symbol = "US&nbsp;gal H<sub>2</sub>O",
utype = "mass",
scale = 3.777621583605112576265128154777776215836051126,
default = "lb kg",
link = "United States customary units#Fluid volume",
Line 4,823:
symbol = "lb/hp",
utype = "mass per unit power",
scale = 0.00060827738784176115221374869790300060827738784176115,
default = "kg/kW",
link = "Horsepower",
Line 4,842:
symbol = "g-mol/d",
utype = "molar rate",
scale = 1.15740740740740734993465335667e1574074074074073e-5,
default = "µmol/s",
link = "Mole (unit)",
Line 4,851:
symbol = "g-mol/h",
utype = "molar rate",
scale = 0.0002777777777777777775368439616700027777777777777778,
default = "mmol/s",
link = "Mole (unit)",
Line 4,860:
symbol = "g-mol/min",
utype = "molar rate",
scale = 0.0166666666666666664353702032031016666666666666666,
default = "g-mol/s",
link = "Mole (unit)",
Line 4,878:
symbol = "gmol/d",
utype = "molar rate",
scale = 1.15740740740740734993465335667e1574074074074073e-5,
default = "µmol/s",
link = "Mole (unit)",
Line 4,887:
symbol = "gmol/h",
utype = "molar rate",
scale = 0.0002777777777777777775368439616700027777777777777778,
default = "mmol/s",
link = "Mole (unit)",
Line 4,896:
symbol = "gmol/min",
utype = "molar rate",
scale = 0.0166666666666666664353702032031016666666666666666,
default = "gmol/s",
link = "Mole (unit)",
Line 4,914:
symbol = "kmol/d",
utype = "molar rate",
scale = 0.0115740740740740734315838977864011574074074074073,
default = "mmol/s",
link = "Mole (unit)",
Line 4,923:
symbol = "kmol/h",
utype = "molar rate",
scale = 0.27777777777777779011358916250227777777777777779,
default = "mol/s",
link = "Mole (unit)",
Line 4,932:
symbol = "kmol/min",
utype = "molar rate",
scale = 16.6666666666666678509045596002666666666666668,
default = "mol/s",
link = "Kilomole (unit)",
Line 4,950:
symbol = "lb-mol/d",
utype = "molar rate",
scale = 0.005249911689814814111376684024890052499116898148141,
default = "mmol/s",
link = "Mole (unit)#Other units called \"mole\"",
Line 4,959:
symbol = "lb-mol/h",
utype = "molar rate",
scale = 0.12599788055555555255082822441212599788055555555,
default = "mol/s",
link = "Mole (unit)#Other units called \"mole\"",
Line 4,968:
symbol = "lb-mol/min",
utype = "molar rate",
scale = 7.559872833333333375094298389745598728333333334,
default = "mol/s",
link = "Mole (unit)#Other units called \"mole\"",
Line 4,986:
symbol = "lbmol/d",
utype = "molar rate",
scale = 0.005249911689814814111376684024890052499116898148141,
default = "mmol/s",
link = "Mole (unit)#Other units called \"mole\"",
Line 4,995:
symbol = "lbmol/h",
utype = "molar rate",
scale = 0.12599788055555555255082822441212599788055555555,
default = "mol/s",
link = "Mole (unit)#Other units called \"mole\"",
Line 5,004:
symbol = "lbmol/min",
utype = "molar rate",
scale = 7.559872833333333375094298389745598728333333334,
default = "mol/s",
link = "Mole (unit)#Other units called \"mole\"",
Line 5,031:
symbol = "mol/d",
utype = "molar rate",
scale = 1.15740740740740734993465335667e1574074074074073e-5,
default = "µmol/s",
link = "Mole (unit)",
Line 5,040:
symbol = "mol/h",
utype = "molar rate",
scale = 0.0002777777777777777775368439616700027777777777777778,
default = "mmol/s",
link = "Mole (unit)",
Line 5,049:
symbol = "mol/min",
utype = "molar rate",
scale = 0.0166666666666666664353702032031016666666666666666,
default = "mol/s",
link = "Mole (unit)",
Line 5,083:
usename = 1,
utype = "per unit area",
scale = 247.10538146716532992286374792510538146716533,
default = "/ha",
link = "Acre",
Line 5,112:
symbol = "/in<sup>2</sup>",
utype = "per unit area",
scale = 1550003100.006200075149536132810062001,
default = "/sqcm",
link = "Square inch",
Line 5,132:
symbol = "/sq&nbsp;mi",
utype = "per unit area",
scale = 0.38610215854244583910670485238438610215854244584,
default = "/sqkm",
link = "Square mile",
Line 5,142:
usename = 1,
utype = "per unit area",
scale = 247.10538146716532992286374792510538146716533,
default = "PD/ha",
link = "Acre",
Line 5,171:
symbol = "/sq&nbsp;mi",
utype = "per unit area",
scale = 0.38610215854244583910670485238438610215854244584,
default = "PD/sqkm",
link = "Square mile",
Line 5,243:
symbol = "Cal/d",
utype = "power",
scale = 0.0484259259259259278174170049169048425925925925928,
default = "kJ/d",
link = "Calorie",
Line 5,252:
symbol = "Cal/h",
utype = "power",
scale = 1.162222222222222267618008118011622222222222223,
default = "kJ/h",
link = "Calorie",
Line 5,261:
symbol = "cal/h",
utype = "power",
scale = 0.001162222222222222258944390738120011622222222222223,
default = "W",
link = "Calorie",
Line 5,327:
symbol = "kcal/h",
utype = "power",
scale = 1.162222222222222267618008118011622222222222223,
default = "kW",
link = "Calorie",
Line 5,336:
symbol = "kJ/d",
utype = "power",
scale = 0.0115740740740740734315838977864011574074074074073,
default = "Cal/d",
link = "Kilojoule",
Line 5,345:
symbol = "kJ/h",
utype = "power",
scale = 0.27777777777777779011358916250227777777777777779,
default = "W",
link = "Kilojoule",
Line 5,413:
symbol = "hp/LT",
utype = "power per unit mass",
scale = 0.73392268125000004186375690551473392268125000004,
default = "kW/t",
link = "Power-to-weight ratio",
Line 5,446:
symbol = "lb/in<sup>2</sup>",
utype = "pressure",
scale = 6894.757293168360774870961904537572931683608,
default = "kPa kgf/cm2",
link = "Pounds per square inch",
Line 5,534:
symbol = "ksi",
utype = "pressure",
scale = 6894757.293168361298739910125732931683613,
default = "MPa",
link = "Pounds per square inch",
Line 5,543:
symbol = "lbf/in<sup>2</sup>",
utype = "pressure",
scale = 6894.757293168360774870961904537572931683608,
default = "kPa kgf/cm2",
link = "Pounds-force per square inch",
Line 5,588:
symbol = "psf",
utype = "pressure",
scale = 47.8802589803358387143816798925880258980335839,
default = "kPa",
link = "Pounds per square inch",
Line 5,597:
symbol = "psi",
utype = "pressure",
scale = 6894.757293168360774870961904537572931683608,
default = "kPa",
link = "Pounds per square inch",
Line 5,605:
symbol = "Torr",
utype = "pressure",
scale = 133.32236842105263008306792471632236842105263,
default = "kPa",
},
Line 5,730:
symbol = "cm/h",
utype = "speed",
scale = 2.77777777777777748737723755024e7777777777777775e-6,
default = "in/h",
link = "Metre per second",
Line 5,752:
symbol = "cm/year",
utype = "speed",
scale = 3.16887385068114303827923047827e168873850681143e-10,
default = "in/year",
link = "Orders of magnitude (speed)",
Line 5,788:
usename = 1,
utype = "speed",
scale = 0.00016630952380952381463793954274900016630952380952381,
default = "km/h mph",
link = "FFF System",
Line 5,797:
symbol = "in/h",
utype = "speed",
scale = 7.05555555555555585978870850039e0555555555555559e-6,
default = "cm/h",
link = "Inch",
Line 5,815:
symbol = "in/year",
utype = "speed",
scale = 8.04893958073010239699081394955e0489395807301024e-10,
default = "cm/year",
link = "Orders of magnitude (speed)",
Line 5,826:
symbol = "km/h",
utype = "speed",
scale = 0.27777777777777779011358916250227777777777777779,
default = "mph",
link = "Kilometres per hour",
Line 5,845:
symbol = "kn",
utype = "speed",
scale = 0.51444444444444448194531105400551444444444444448,
default = "km/h mph",
link = "Knot (unit)",
Line 5,856:
symbol = "m/min",
utype = "speed",
scale = 0.0166666666666666664353702032031016666666666666666,
default = "ft/min",
link = "Metre per second",
Line 5,896:
symbol = "mm/h",
utype = "speed",
scale = 2.77777777777777812265194799096e7777777777777781e-7,
default = "in/h",
link = "Metre per second",
Line 5,958:
usesymbol= 1,
utype = "temperature",
scale = 0.55555555555555558022717832500355555555555555558,
offset = 32-273.15*(9/5),
iscomplex= true,
Line 6,002:
usesymbol= 1,
utype = "temperature",
scale = 0.55555555555555558022717832500355555555555555558,
offset = 0,
iscomplex= true,
Line 6,037:
usesymbol= 1,
utype = "temperature change",
scale = 0.55555555555555558022717832500355555555555555558,
default = "C-change",
link = "Fahrenheit",
Line 6,071:
symbol = "lb/(h·lbf)",
utype = "thrust specific fuel consumption",
scale = 2.83254503604980033119355165017e8325450360498003e-5,
default = "g/s.kN",
link = "Thrust specific fuel consumption",
Line 6,456:
sym_us = "12&nbsp;U.S.&nbsp;fl&nbsp;oz (355&nbsp;mL) serving",
utype = "volume",
scale = 0.00035488235475000004092577254866100035488235475000004,
default = "mL",
link = "Beverage can#Capacity",
Line 6,465:
sym_us = "12&nbsp;U.S.&nbsp;fl&nbsp;oz (355&nbsp;ml) serving",
utype = "volume",
scale = 0.00035488235475000004092577254866100035488235475000004,
default = "ml",
link = "Beverage can#Capacity",
Line 6,474:
sym_us = "12&nbsp;U.S.&nbsp;fl&nbsp;oz serving",
utype = "volume",
scale = 0.00035488235475000004092577254866100035488235475000004,
default = "mL",
link = "Beverage can#Capacity",
Line 6,773:
symbol = "MTON",
utype = "volume",
scale = 1.1326738636800000037396785046413267386368,
default = "m3",
},
Line 7,316:
usename = 1,
utype = "volume per unit area",
scale = 8.70776387613508875127667219207e7077638761350888e-6,
default = "m3/ha",
link = "Bushel",