Commit graph

570 commits

Author SHA1 Message Date
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
fbb3cdf4d5 Do a better job of calculating surface pressure 2025-03-01 18:15:20 -05:00
9dcebc58b8 Fix height/pressure calculation 2025-03-01 17:55:50 -05:00
98a900f249 Slight adjustment to 'end of sounding' test 2025-03-01 17:00:39 -05:00
22a95be5c9 Slowly nudge TEMP data into better parseability 2025-03-01 14:58:23 -05:00
d51c61dd5e Add convenience generators to loop over soundings 2025-03-01 14:17:00 -05:00
4b5b69ca21 Filter out soundings with incomplete set of levels 2025-03-01 14:02:20 -05:00
8b03ed0c46 Parse data into objects 2025-03-01 13:12:54 -05:00
291b439f00 Less code needed 2025-03-01 12:47:02 -05:00
4f27157438 Less nesting of timestamp data 2025-03-01 12:38:46 -05:00
aa2b18f3dd Allow complete parsing of TTAA data 2025-03-01 12:30:30 -05:00
78b1c0e5b6 Try to implement parsing for all samples in TTAA observation 2025-03-01 12:08:23 -05:00
221142a08e Implement parsing significant pressures 2025-03-01 10:44:08 -05:00
ca79d788f0 Implement parsing for pressure heights 2025-03-01 00:16:56 -05:00
f19af8d4cf Implement parsing wind speed/direction 2025-02-28 23:58:49 -05:00
bfc178481a Start to parse individual values 2025-02-28 21:28:12 -05:00
908f1f7024 Whitespace alignment 2025-02-28 20:48:39 -05:00
d18a1da787 Tiny increments 2025-02-28 20:38:28 -05:00
de4b9e5650 Fix typo 2025-02-28 20:34:05 -05:00
44f55167f7 Pare down rawinsonde parser a bit (for now) 2025-02-28 18:51:56 -05:00
0ca324b9b5 Whitespace alignment 2025-02-28 16:05:04 -05:00
22a4a83f27 Remove useless statement 2025-02-28 16:00:47 -05:00
8eedb5393a Move SoundingSample type annotations into __init__() 2025-02-28 16:00:00 -05:00
a8aa3ea771 Initial commit of rawins.py 2025-02-28 13:07:17 -05:00
2afcf59ba0 Move each_chunk into util.py 2025-02-27 20:49:16 -05:00