Expose additional fields from level 2 and level 3 files

This commit is contained in:
Dan Paulat 2022-02-13 11:17:43 -06:00
parent 8f362cc881
commit 3829b77994
4 changed files with 16 additions and 3 deletions

View file

@ -32,8 +32,9 @@ public:
Ar2vFile(Ar2vFile&&) noexcept;
Ar2vFile& operator=(Ar2vFile&&) noexcept;
uint32_t julian_date() const;
uint32_t milliseconds() const;
uint32_t julian_date() const;
uint32_t milliseconds() const;
std::string icao() const;
std::chrono::system_clock::time_point start_time() const;
std::chrono::system_clock::time_point end_time() const;

View file

@ -1,5 +1,6 @@
#pragma once
#include <scwx/awips/wmo_header.hpp>
#include <scwx/wsr88d/nexrad_file.hpp>
#include <scwx/wsr88d/rpg/level3_message.hpp>
@ -25,6 +26,7 @@ public:
Level3File(Level3File&&) noexcept;
Level3File& operator=(Level3File&&) noexcept;
std::shared_ptr<awips::WmoHeader> wmo_header() const;
std::shared_ptr<rpg::Level3Message> message() const;
bool LoadFile(const std::string& filename);