Skip to content

Instantly share code, notes, and snippets.

@jthielen
Created September 3, 2019 21:37
Show Gist options
  • Save jthielen/a45f090c8cfdc5002de14abcf1589f02 to your computer and use it in GitHub Desktop.
Save jthielen/a45f090c8cfdc5002de14abcf1589f02 to your computer and use it in GitHub Desktop.
MetPy Constants change from Pint v0.9 to Pint v0.10
diff --git a/metpy_constants_pint_0_9.txt b/metpy_constants_pint_0_10.txt
index e9af145..0558c33 100644
--- a/metpy_constants_pint_0_9.txt
+++ b/metpy_constants_pint_0_10.txt
@@ -11,10 +11,10 @@ earth_avg_radius
6371200.0 meter
G
-6.673840000000001e-11 meter ** 3 / kilogram / second ** 2
+6.6743e-11 meter ** 3 / kilogram / second ** 2
gravitational_constant
-6.673840000000001e-11 meter ** 3 / kilogram / second ** 2
+6.6743e-11 meter ** 3 / kilogram / second ** 2
omega
7.292115855306589e-05 / second
@@ -49,7 +49,7 @@ me
5.9722e+24 kilogram
R
-8.3144621 kilogram * meter ** 2 / kelvin / mole / second ** 2
+8.31446261815324 kilogram * meter ** 2 / kelvin / mole / second ** 2
Mw
0.01801528 kilogram / mole
@@ -58,10 +58,10 @@ water_molecular_weight
0.01801528 kilogram / mole
Rv
-461.52277955158064 meter ** 2 / kelvin / second ** 2
+461.5228083134561 meter ** 2 / kelvin / second ** 2
water_gas_constant
-461.52277955158064 meter ** 2 / kelvin / second ** 2
+461.5228083134561 meter ** 2 / kelvin / second ** 2
rho_l
1000.0 kilogram / meter ** 3
@@ -118,10 +118,10 @@ dry_air_molecular_weight
0.0289644 kilogram / mole
Rd
-287.0579780696303 meter ** 2 / kelvin / second ** 2
+287.05799595894405 meter ** 2 / kelvin / second ** 2
dry_air_gas_constant
-287.0579780696303 meter ** 2 / kelvin / second ** 2
+287.05799595894405 meter ** 2 / kelvin / second ** 2
dry_air_spec_heat_ratio
@@ -138,10 +138,10 @@ dry_air_spec_heat_vol
717.8571428571429 meter ** 2 / kelvin / second ** 2
rho_d
-1.2753493748844333 kilogram / meter ** 3
+1.2753492954052845 kilogram / meter ** 3
dry_air_density_stp
-1.2753493748844333 kilogram / meter ** 3
+1.2753492954052845 kilogram / meter ** 3
P0
99999.99999999999 kilogram / meter / second ** 2
@@ -150,10 +150,10 @@ pot_temp_ref_press
99999.99999999999 kilogram / meter / second ** 2
kappa
-0.28562982892500527 dimensionless
+0.28562984672531744 dimensionless
poisson_exponent
-0.28562982892500527 dimensionless
+0.28562984672531744 dimensionless
gamma_d
0.009757860696517412 kelvin / meter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment