Commit graph

341 commits

Author SHA1 Message Date
0303060343 Remove unused declaration 2025-03-12 23:12:51 -04:00
69f6218f32 Hack: Multiply lapse rate by magic factor of 1.08 2025-03-12 22:53:18 -04:00
49647f1fdc Remove unused imports 2025-03-12 21:36:41 -04:00
77970e89ba Remove unused variables 2025-03-12 21:30:29 -04:00
fe3cd6bb4b Calculate lapse rate between pressure intervals 2025-03-12 21:22:21 -04:00
6eb06d98a6 Plot adiabats every 5°C 2025-03-12 21:17:31 -04:00
4071c73bd1 Go back to even 45° skew 2025-03-12 21:17:13 -04:00
15ec7b561f Move to and line to in correct order 2025-03-12 11:49:20 -04:00
9f18968a56 Rename variable 2025-03-11 17:17:55 -04:00
604ce577a1 Remove unnecessary statement 2025-03-10 16:49:15 -04:00
9309393189 Add PRESSURE_MSL magic constant 2025-03-09 23:59:25 -04:00
2724e7e28f Use 0.6 skew 2025-03-09 21:58:00 -04:00
52a5dceddf Begin moist, dry adiabats at 1000mb 2025-03-09 20:25:02 -04:00
9337ba3eb0 Add 0.7 skew factor to look more like other charts 2025-03-09 20:13:00 -04:00
3087fc1c9e Do not render intermediate isobars 2025-03-09 19:50:46 -04:00
d8831609d5 Ensure initial temp, pressure value visited 2025-03-09 17:45:24 -04:00
0860e19695 This is actually necessary 2025-03-09 17:02:59 -04:00
1b5f126687 Remove unnecessary saturated_vapor_pressure() 2025-03-09 16:54:45 -04:00
f69daea4ac Remove unneeded imports 2025-03-09 16:47:24 -04:00
698a7d34c8 Simplify 2025-03-09 16:45:31 -04:00
d777934a6f Use same gravitational force across codebase 2025-03-09 16:14:55 -04:00
362ee0a2f4 Do not compute lapse on first height 2025-03-09 16:14:20 -04:00
cae2cb0b3f Ensure gravitational force is applied to CAPE 2025-03-09 15:22:25 -04:00
bb9b2e2dbf Remove unnecessary parens 2025-03-09 15:22:10 -04:00
25540d0ef7 Initial implementation of CAPE calculation
Initial implementation of CAPE calculation; need to fix EL calculation
to achieve valid results
2025-03-09 14:40:38 -04:00
00f623f5ae Move neighbor calculation to neighbors() 2025-03-09 13:43:17 -04:00
e5f00ee85f Move parameter derivation to SoundingParameters 2025-03-09 13:29:01 -04:00
5b33653dcf Move cmp() to SeriesIntersection 2025-03-09 13:16:25 -04:00
c1f85adeec Slight whitespace fix 2025-03-09 12:38:02 -04:00
6faef30524 Redo Sounding.find_el() with Series.intersect() 2025-03-09 12:36:14 -04:00
68880816ac Allow Series.intersect() to have start value 2025-03-09 12:36:00 -04:00
c2f17fa139 Drop Sounding.find_lfc() for Series.intersect() 2025-03-09 12:18:40 -04:00
2edea01934 Redo Sounding.find_lcl() with Series.intersect() 2025-03-09 12:16:34 -04:00
74678d6a32 Redo Sounding.find_el() with Series.intersect() 2025-03-09 12:15:24 -04:00
830425980d Only follow temperature line once 2025-03-09 12:08:50 -04:00
5f55060b09 Iterate over 1.0mb pressure increments 2025-03-09 12:02:42 -04:00
38c1a48e01 Explicitly specify manner of intersection 2025-03-09 11:58:09 -04:00
ebae24b38e Implement finding equilibrium level
Other changes:

* Rework Series.intersect() to return a tuple containing temperature,
  pressure

* Rework other methods returning Series to return a tuple containing
  temperature, pressure
2025-03-08 22:39:41 -05:00
30a8e15bf6 Neurotic alignment 2025-03-08 21:45:26 -05:00
06d5658c73 Allow specifying pressure increments following saturated mixing ratio line 2025-03-08 21:33:32 -05:00
36d4d17da2 Add docstrings to Series derivations 2025-03-08 14:36:46 -05:00
53ea99803e Move parameter derivation to sounding.py 2025-03-08 12:03:07 -05:00
50cdf4052d Move thermo series functions to thermo.py 2025-03-08 12:00:02 -05:00
9be71c7e44 Do not hardcode pressure steps 2025-03-08 11:58:41 -05:00
b3eeeab4d7 Initial implementation of Series in series.py 2025-03-08 11:55:33 -05:00
5894fb5d68 Initial implementation of derived LCL and LFC params 2025-03-07 20:46:13 -05:00
d431f36989 Implement cmp() in util.py 2025-03-07 18:41:14 -05:00
9de6ac0d56 Fix docstring 2025-03-07 14:50:05 -05:00
944bae9303 Constants alignment on decimal 2025-03-07 14:39:43 -05:00
7c9af22d51 Implement mixing_ratio_temp() 2025-03-07 13:58:58 -05:00