From 7a21a919bf3deb459d17ede7ad5492eaeeed3c77 Mon Sep 17 00:00:00 2001 From: Baudouin Raoult Date: Mon, 9 Nov 2020 17:29:03 +0000 Subject: [PATCH] units --- units.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/units.py b/units.py index e74b24a5a..42ce8b5da 100644 --- a/units.py +++ b/units.py @@ -94,7 +94,7 @@ FIX = { "m2 kg-1 s-1": "m**2 kg**-1 s**-1", "kg m2": "kg m**2", " m2": "m**2", - "m s-2": "m s-**2", + "m s-2": "m s**-2", "m/s": "m s**-1", "m s-1": "m s**-1", " m/s": "m s**-1", @@ -169,6 +169,25 @@ FIX = { "ug/m**3": "ug m**-3", "kg m-1 s-2": "kg m**-1 s**-2", "Bq m-2": "Bq m**-2", + "Degree": "degree", + "degrees": "degree", + "m2 2**-2": "m**2 s**-2", + "m**2/3 s**-1": "m**(2/3) s**-1", + "m2/3 s-1": "m**(2/3) s**-1", + "s-1 10-5": "10**-5 s**-1", + "W s m**-2": "W m**-2 s", + "mol m-2": "mol m**-2", + "Deg true": "degree_true", + "Deg. true": "degree_true", + "deg. true": "degree_true", + "Degree true": "degree_true", + "degree true": "degree_true", + "Gpm": "gpm", + "Degree E": "degree_east", + "deg E": "degree_east", + "deg N": "degree_north", + "deg": "degree", + "m s-**2": "m s**-2", # C = CO2, S = SOX "kg C m**-2 s**-1": "kg m**-2 s**-1", "mg S/m**2": "mg m**-2",