Start of implementation to load a window of archive warning data, currently broken

This commit is contained in:
Dan Paulat 2025-04-15 00:16:39 -05:00
parent e3ccce5d5b
commit 33e18765b7
4 changed files with 163 additions and 30 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include <scwx/awips/text_product_file.hpp>
#include <scwx/types/iem_types.hpp>
#include <memory>
#include <string>
@ -36,11 +37,12 @@ public:
IemApiProvider(IemApiProvider&&) noexcept;
IemApiProvider& operator=(IemApiProvider&&) noexcept;
static boost::outcome_v2::result<std::vector<std::string>>
static boost::outcome_v2::result<std::vector<types::iem::AfosEntry>>
ListTextProducts(std::chrono::sys_time<std::chrono::days> date,
std::optional<std::string_view> cccc = {},
std::optional<std::string_view> pil = {});
static boost::outcome_v2::result<std::vector<std::string>> ListTextProducts(
static boost::outcome_v2::result<std::vector<types::iem::AfosEntry>>
ListTextProducts(
ranges::any_view<std::chrono::sys_time<std::chrono::days>> dates,
ranges::any_view<std::string_view> ccccs = {},
ranges::any_view<std::string_view> pils = {});