Commit graph

530 commits

Author SHA1 Message Date
8b45d696a1 Implement config file loader
Changes:

* Implement config file loader

* Add config-based database connector

* Remove database path argument from all tools in bin/
2025-04-03 21:48:21 -04:00
86ca31b445 Fuck that place 2025-04-03 21:07:40 -04:00
a384eb7130 Skip samples with no required readings 2025-04-03 00:21:42 -04:00
b25d3951ca Reduce width of box around legend colors 2025-04-02 17:33:36 -04:00
c7e5b92c8d Adjust timestamp highlighting 2025-04-02 14:26:39 -04:00
955136e2fa Make legend box lighter (thanks Tay!) 2025-04-02 11:40:48 -04:00
cc5ae8c9b3 Add more cities 2025-04-01 22:57:20 -04:00
d15ed8668f Use SPC colors 2025-04-01 14:46:54 -04:00
4f26493ff1 Add missing colors to probabilistic key 2025-04-01 14:44:17 -04:00
5647279e2c Add timestamps to SPC outlook maps 2025-04-01 12:06:17 -04:00
ef23e296c7 Increase size of some city dots 2025-04-01 11:05:28 -04:00
5fd10a24a3 Add #/5 text to categorical legends 2025-03-31 23:03:23 -04:00
bbd07b7f3a Implement drawing map legends 2025-03-31 18:09:19 -04:00
0c841ec4e9 Implement draw.py to draw rounded rectangles 2025-03-31 18:08:21 -04:00
0d1489d641 Adjust city dot sizes a bit 2025-03-31 18:08:04 -04:00
902ae26b80 Fix capitalization on map annotations 2025-03-31 15:30:48 -04:00
ed7c5bf317 Draw cities on SPC outlook maps 2025-03-31 15:19:16 -04:00
8c4b93d50e Improve legibility of map elements with hatching 2025-03-31 14:49:55 -04:00
1552bd6242 Add SPC map city list 2025-03-31 14:36:08 -04:00
330117dea5 Pass limit argument to Database.query() 2025-03-31 14:35:37 -04:00
7da2dd34f2 Add limit argument to Database.query() 2025-03-31 14:35:24 -04:00
2a43e7f379 Fix City.each_within_poly() 2025-03-31 12:38:27 -04:00
Alexandra Hrefna Maheu
8668b3b4a5 Implement City.each_within_poly() 2025-03-31 09:43:55 -04:00
Alexandra Hrefna Maheu
c4c5336e53 Actually render cities of any size when passed 2025-03-31 09:43:43 -04:00
Alexandra Hrefna Maheu
9dcb6f043e Add xmet_city table 2025-03-30 21:12:32 -04:00
Alexandra Hrefna Maheu
f7599e8e9b Update requirements.txt 2025-03-30 20:47:59 -04:00
69f28a60d5 Pare down city fields; add more cities 2025-03-30 20:29:18 -04:00
64d655879a Add more cities 2025-03-30 18:46:03 -04:00
af29de2754 Implement city.py 2025-03-30 18:10:38 -04:00
Alexandra Hrefna Maheu
0f30130f40 Reformat data 2025-03-30 18:00:25 -04:00
Alexandra Hrefna Maheu
17b98696e7 Add doc/cities.tsv 2025-03-30 17:15:55 -04:00
66e49a2b24 Better utilize Sounding.hodograph_samples() 2025-03-30 14:19:12 -04:00
90187f9f4b Ignore parsing short TTAA readings 2025-03-30 14:07:20 -04:00
1602b447d2 Render every sample with height in hodographs 2025-03-30 14:02:17 -04:00
af666f9c98 Fix TTAA parsing 2025-03-30 13:57:08 -04:00
5b63b52dab Skip samples with no wind speed/direction in hodographs 2025-03-30 13:55:56 -04:00
ee801726a8 Improve robustness of TTBB parser 2025-03-30 13:16:56 -04:00
14b06f9667 Don't try to convert wind direction to m/s ya dingus 2025-03-30 01:51:10 -04:00
c5c7778772 Fix units for wind heights aloft 2025-03-30 01:46:50 -04:00
857814bdbf Use Sounding.hodograph_samples() 2025-03-30 01:13:30 -04:00
e5b95b3079 Implement hodograph_samples() to return sorted samples w/heights 2025-03-30 01:09:24 -04:00
606dda3c14 Fix linter complaint 2025-03-30 00:32:27 -04:00
66392f0612 Avoid division by zero in hodograph production 2025-03-30 00:32:02 -04:00
eee4c781cc Be more tolerant of missing elements of height values 2025-03-30 00:29:33 -04:00
cc368ad442 Handle wind directions with ambiguous digits 2025-03-30 00:23:56 -04:00
c1d3e57fa0 Use height of 0 for surface (For now) 2025-03-30 00:23:30 -04:00
2c7c1cfc84 Do not care about pressure when drawing hodographs 2025-03-29 21:01:05 -04:00
37cac68e87 Implement Sounding.__str__() 2025-03-29 21:00:41 -04:00
d8af90872f Improved method of stopping at tropopause 2025-03-29 19:49:17 -04:00
57c3f2fe65 Fix check for null pressures 2025-03-29 18:49:29 -04:00