Commit graph

544 commits

Author SHA1 Message Date
929e6b4351 Hardcode lapse() to perform dry lapse 2025-03-04 22:57:01 -05:00
706a1cf41e Implement rendering of dry adiabats 2025-03-04 21:52:00 -05:00
56c1dc608e Fix lapse() calculation 2025-03-04 21:49:34 -05:00
65c500b9be Implement pressure_height() 2025-03-04 21:49:27 -05:00
2f492dd16c Make hodograph zoom, alignment optional 2025-03-04 11:03:27 -05:00
d0e1b763a7 Better alignment 2025-03-04 00:19:57 -05:00
6a00aad2a1 Show direction legends in all four cardinals 2025-03-03 23:46:38 -05:00
59a82534dc No need for stroke() after show_text() 2025-03-03 23:46:10 -05:00
0eecc40839 Draw basic direction legends at the top and bottom of graph 2025-03-03 22:15:10 -05:00
df0b885447 Remove unnecessary run.sh 2025-03-03 21:14:12 -05:00
f58dd8816f Draw direction lines every 30 degrees 2025-03-03 17:51:04 -05:00
8f96849fc4 Render speed legends both N and S 2025-03-03 17:50:43 -05:00
ea38bdaa50 Draw legends over plotted data 2025-03-03 17:33:33 -05:00
ea3e49aa3b Fix speed circle radius calculation 2025-03-03 17:32:19 -05:00
5307498522 Zoom hodograph out a bit 2025-03-03 17:20:29 -05:00
66ca08c1ff Nearly finished refactoring hodographs to zoom, scale automatically 2025-03-03 17:18:39 -05:00
87c192d000 Update .gitignore 2025-03-03 17:18:19 -05:00
71c42cd1ec Rename xmet-sounding-graph to -plot; add ability to plot hodographs 2025-03-03 10:43:18 -05:00
e3df02db87 Skip plotting unknown height values 2025-03-03 10:43:03 -05:00
2221dd6770 Fix wind speed/direction calculation (again) 2025-03-02 22:49:17 -05:00
1b09b29d59 Add comment indicating where to obtain documentation 2025-03-02 21:32:26 -05:00
5708e02704 Fix wind speed/direction calculation 2025-03-02 21:31:44 -05:00
131b01640c Stop parsing TTAA levels at the tropopause 2025-03-02 20:57:01 -05:00
e5cbb9675a Implement parsing for 700mb level 2025-03-02 20:56:37 -05:00
bfc3d87d73 Gate db.add() around --dry-run to ensure other logic exercised 2025-03-02 20:56:24 -05:00
f902201702 Remove unnecessary statement 2025-03-02 20:04:49 -05:00
6d7b8023c2 Look up IGRA stations when possible
Other changes:

* Refactor Database.query() to accept a list of clauses, rather than a
  dict of key-value pairs to build '{k} = :{k}' clauses from
2025-03-02 20:02:09 -05:00
c9f667301e I think this might be better? 2025-03-02 18:11:22 -05:00
bca617b318 Use 200mb height calculation for <=250mb 2025-03-02 17:49:47 -05:00
fb078eb7c4 Fix --dry-run to not touch database at all 2025-03-02 17:07:24 -05:00
3a8f5ae850 Add wrapper functions to RAOBReader 2025-03-02 17:06:56 -05:00
5dc8c90d17 Don't try to convert None to meters/second 2025-03-02 17:06:45 -05:00
e0438ac8f9 Convert RAOB wind speeds to meters/second from knots 2025-03-02 16:27:50 -05:00
edf1af526f Try to automatically zoom into hodograph activity 2025-03-02 16:27:28 -05:00
72d8195943 Add sample_to_graph() to make code easier to read 2025-03-02 13:46:50 -05:00
d83e52acb7 Refactor RAOBObs.parse_ttaa() to return Sounding object 2025-03-02 13:38:26 -05:00
8787a37773 Fix IGRA release timestamp 2025-03-02 13:13:31 -05:00
60bfe3fa09 Replace RAOBSample with SoundingSample 2025-03-02 11:37:36 -05:00
e2f27b1470 Whitespace alignment 2025-03-02 11:22:56 -05:00
547cf6320e Add __slots__ for performance 2025-03-02 11:22:48 -05:00
0d7656acb2 Rename 'value' to 'token' in RAOB parser 2025-03-02 10:49:47 -05:00
368846cb60 Rename rawins.py to raob.py 2025-03-02 01:02:37 -05:00
af6d2809b5 Whitespace 2025-03-02 00:18:43 -05:00
244f06de9b s/scale/zoom/ 2025-03-01 22:59:06 -05:00
9e78bcba86 Use magic constants for hodograph screen offset 2025-03-01 22:51:57 -05:00
712f96191c Remove directions legends from hodograph 2025-03-01 22:34:53 -05:00
b2cbb3fccd Nailed it? 2025-03-01 22:08:42 -05:00
b6ec014608 So close to complete TTAA parsing 2025-03-01 21:33:38 -05:00
d1269d0e2f Get better at parsing heights at different pressures 2025-03-01 21:04:43 -05:00
16693a686b Fix sign on temperature parsing 2025-03-01 18:27:01 -05:00