Commit graph

469 commits

Author SHA1 Message Date
6d1b47ebee Rename archive.py to nexrad.py 2025-04-20 15:28:20 -04:00
1cec726451 Add type annotations to lib/xmet/db.py 2025-04-19 11:34:57 -04:00
a447cfe86d Formatting 2025-04-18 08:21:34 -04:00
ec716c28fe Slight reformatting 2025-04-17 09:49:16 -04:00
d0cb897725 Move magic value into class variable 2025-04-16 11:17:50 -04:00
d1f961ecf2 Obtain and set surface elevation where possible 2025-04-15 12:34:47 -04:00
79e1d4d3e3 Save a few lines of code on setting parameters 2025-04-15 12:21:58 -04:00
cd1a587c22 Slight reformatting 2025-04-14 11:28:30 -04:00
ff65688774 Implement BUFRSounding.valid_by_timestamp() 2025-04-14 11:20:38 -04:00
17df1e1dba Split BUFRSounding.latest() into separate methods 2025-04-14 11:04:33 -04:00
854cfa65e4 Simplify code a bit 2025-04-14 09:16:15 -04:00
b8903a69f8 Handle missing wind data; ensure samples by height are included 2025-04-13 20:53:18 -04:00
1046b1c22d Handle -9999 BUFR pressure, height values 2025-04-13 20:39:12 -04:00
55b7cfb819 Fill out other Sounding attributes 2025-04-13 14:52:05 -04:00
6e13729a8c Find observed timestamp of BUFR sounding 2025-04-13 13:11:41 -04:00
322c7fa6bb Ensure samples are added to Sounding.samples list 2025-04-13 10:57:32 -04:00
082e201ad8 Fix typo 2025-04-13 10:57:05 -04:00
86444caee6 Fix BUFRSounding 2025-04-12 11:25:50 -04:00
d55c83f54c Initial commit of lib/xmet/bufr.py 2025-04-11 18:05:10 -04:00
445d43c702 Move color setting to SPCOutlookMap 2025-04-10 18:52:27 -04:00
8f679c5337 Ensure city names are rendered correctly in dark mode 2025-04-09 21:50:59 -04:00
d357734996 Ensure legends colored properly in dark mode 2025-04-09 21:39:38 -04:00
f692b2061c Formatting 2025-04-09 00:12:50 -04:00
8e850de88f Pass module name as parameter 2025-04-08 23:17:48 -04:00
be4f14250c Implement SPCOutlook.for_timestamp() 2025-04-07 12:25:59 -04:00
1ce5afee41 Implement Database.get_many()
Implement Database.get_many(); reimplement Database.get() using the
former
2025-04-07 12:15:17 -04:00
4e2bf52ad2 Tweak SPC outlook parser to ingest all archival products 2025-04-05 18:30:43 -04:00
8f854a78e8 Add guard clauses to prevent parsing incomplete data 2025-04-04 12:09:18 -04:00
665a3da997 Improve config class 2025-04-03 23:22:40 -04:00
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
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