Provide year/month hint to WMO header parser based on filename

This commit is contained in:
Dan Paulat 2025-02-18 23:33:58 -06:00
parent 46972e8769
commit a6ba312f6b
4 changed files with 31 additions and 5 deletions

View file

@ -29,7 +29,7 @@ public:
std::shared_ptr<TextProductMessage> message(size_t i) const;
bool LoadFile(const std::string& filename);
bool LoadData(std::istream& is);
bool LoadData(std::string_view filename, std::istream& is);
private:
std::unique_ptr<TextProductFileImpl> p;