Skip to content

Commit

Permalink
Update cape value
Browse files Browse the repository at this point in the history
  • Loading branch information
zbruick committed Oct 11, 2019
1 parent b753f01 commit f8b6217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/calc/test_thermo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ def test_cape_cin_value_error():
-35.9, -26.7, -37.7, -43.1, -33.9, -40.9, -46.1, -34.9, -33.9,
-33.7, -33.3, -42.5, -50.3, -49.7, -49.5, -58.3, -61.3]) * units.degC
cape, cin = surface_based_cape_cin(pressure, temperature, dewpoint)
expected_cape, expected_cin = [2010.4136 * units('joules/kg'), -10 * units('joules/kg')]
expected_cape, expected_cin = [2074.6824 * units('joules/kg'), -10 * units('joules/kg')]
assert_almost_equal(cape, expected_cape, 3)
assert_almost_equal(cin, expected_cin, 3)

Expand Down

0 comments on commit f8b6217

Please sign in to comment.