Commit graph

2289 commits

Author SHA1 Message Date
Dan Paulat
b084ccb1f4
Merge pull request #425 from dpaulat/feature/archive-warnings
Archive Warnings
2025-05-06 00:08:37 -05:00
Dan Paulat
3c5b126c67 Adding const to locks in AlertProxyModel 2025-05-05 23:24:01 -05:00
Dan Paulat
73355c9424 Fix line repopulation on alert removal 2025-05-05 22:52:50 -05:00
Dan Paulat
4532327f50 AlertModel::HandleAlert should find the alert index from the UUID 2025-05-05 22:13:18 -05:00
Dan Paulat
dc074b0262 More clang-tidy fixes 2025-05-05 21:50:01 -05:00
Dan Paulat
86926178df Call QSortFilterProxyModel::invalidate instead of invalidateRowsFilter (public vs. protected API) 2025-05-05 21:49:41 -05:00
Dan Paulat
1fdefe83de invalidateRowsFilter must be called from UI thread 2025-05-05 00:30:23 -05:00
Dan Paulat
490989ac2a Make archive event pruning more robust 2025-05-05 00:25:28 -05:00
Dan Paulat
0c59a0d4d2 Alert model clang-tidy cleanupp 2025-05-04 23:10:22 -05:00
Dan Paulat
f40c24ce6f Alert layer warning cleanup 2025-05-04 23:10:22 -05:00
Dan Paulat
671ec1d658 Handle removed alerts from alert layer 2025-05-04 23:10:22 -05:00
Dan Paulat
f37a77a9f7 Add text event pruning
- Still need to prune AlertLayer
- Still need to test alerts reload after being pruned
2025-05-04 23:10:22 -05:00
Dan Paulat
4719badc54 clang-tidy fixes 2025-05-04 23:10:21 -05:00
Dan Paulat
228ec191f6 Add year to Text Event Key 2025-05-04 23:10:21 -05:00
Dan Paulat
34fc6d584f Updating include for IEM API Provider test 2025-05-04 23:10:21 -05:00
Dan Paulat
82ba51909e Breaking circular header dependency 2025-05-04 23:10:21 -05:00
Dan Paulat
56961efe76 Correcting clang-tidy fix compile error 2025-05-04 23:10:21 -05:00
Dan Paulat
81f09e07f0 Archive warnings clang-tidy fixes 2025-05-04 23:10:21 -05:00
Dan Paulat
8cdd8526eb Archive warning fixes for gcc 2025-05-04 23:10:21 -05:00
Dan Paulat
2f2516b998 Fix: selected time is uninitialized on layer initialization 2025-05-04 23:10:21 -05:00
Dan Paulat
3ba569354e Ensure the alert layer schedules a render when an alert is added or updated 2025-05-04 23:10:21 -05:00
Dan Paulat
104fe790fb Update segment end time logic for alert layer
- Only earlier segments should have their end time updated
- The current message should end when the next message begins
2025-05-04 23:10:21 -05:00
Dan Paulat
ae24991432 Load archive warnings in a dedicated thread 2025-05-04 23:10:21 -05:00
Dan Paulat
8dde98d2a9 Add debug log statements to archive warning loading 2025-05-04 23:10:21 -05:00
Dan Paulat
65e3a66750 Update IemApiProvider to use template functions 2025-05-04 23:10:21 -05:00
Dan Paulat
1a1c668d62 Finish windowed load. Not all polygon updates are shown on the map. 2025-05-04 23:10:21 -05:00
Dan Paulat
33e18765b7 Start of implementation to load a window of archive warning data, currently broken 2025-05-04 23:10:20 -05:00
Dan Paulat
e3ccce5d5b Text event manager should use filtered ranges to request archived products 2025-05-04 23:10:20 -05:00
Dan Paulat
e82fa93fb0 Use ranges instead of vectors for listing text products 2025-05-04 23:10:20 -05:00
Dan Paulat
7a8a0302e0 Provide interface to request multiple text product lists in parallel 2025-05-04 23:10:20 -05:00
Dan Paulat
33c73ef0e2 Add range-v3 dependency 2025-05-04 23:10:20 -05:00
Dan Paulat
1bdfdcafad Missing AWIPS Identifier Line in WMO header should not be treated as an error 2025-05-04 23:10:20 -05:00
Dan Paulat
b117d2088a Add missing date includes to IEM API provider 2025-05-04 23:10:20 -05:00
Dan Paulat
05ff080d78 Allow a 1 character bulletin ID in the WMO header 2025-05-04 23:10:20 -05:00
Dan Paulat
53ade7fc53 Don't load archived text products for days that have full coverage of live warning data 2025-05-04 23:10:20 -05:00
Dan Paulat
02ec27dd2f Ignore default date/time selections for archive warnings 2025-05-04 23:10:20 -05:00
Dan Paulat
33cfd4bc0e Don't reload archive text products that have already been loaded 2025-05-04 23:10:20 -05:00
Dan Paulat
cc54e4d834 Load archived warnings when making a timeline selection 2025-05-04 23:10:20 -05:00
Dan Paulat
e4fc13aa92 Add an option for enabling/disabling the release console at build time 2025-05-04 23:10:20 -05:00
Dan Paulat
1e1422a3dd Only handle the most recent message for each event in the alert model 2025-05-04 23:10:20 -05:00
Dan Paulat
16507adbe9 Alert layer should handle alerts by UUID if messages are received out of sequence 2025-05-04 23:10:20 -05:00
Dan Paulat
3f83c8e4a9 IEM API provider should use std::string instead of std::string_view for abseil compatibility 2025-05-04 23:10:20 -05:00
Dan Paulat
d00b2fe063 Use const std::string& instead of std::string_view with RE2 to avoid abseil issues 2025-05-04 23:10:20 -05:00
Dan Paulat
d3d9823459 More clang-tidy fixes 2025-05-04 23:10:20 -05:00
Dan Paulat
a6ba312f6b Provide year/month hint to WMO header parser based on filename 2025-05-04 23:10:20 -05:00
Dan Paulat
46972e8769 Formatting iem_api_provider.cpp 2025-05-04 23:10:19 -05:00
Dan Paulat
d63c2a3ef9 Insert text product messages in chronological order 2025-05-04 23:10:19 -05:00
Dan Paulat
163b703964 Use constexpr instead of #define where possible in time.cpp 2025-05-04 23:10:19 -05:00
Dan Paulat
b60318c393 WMO header clang-tidy fixes 2025-05-04 23:10:19 -05:00
Dan Paulat
8646c3da6d Add WMO header test 2025-05-04 23:10:19 -05:00