mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 19:00:04 +00:00
Adding interface to radar data, correcting scaling
This commit is contained in:
parent
63c0034b64
commit
3a3843c280
4 changed files with 46 additions and 5 deletions
|
|
@ -1,7 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
#include <scwx/wsr88d/rda/digital_radar_data.hpp>
|
||||
#include <scwx/wsr88d/rda/volume_coverage_pattern_data.hpp>
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace scwx
|
||||
{
|
||||
|
|
@ -27,6 +31,12 @@ public:
|
|||
Ar2vFile(Ar2vFile&&) noexcept;
|
||||
Ar2vFile& operator=(Ar2vFile&&) noexcept;
|
||||
|
||||
std::unordered_map<
|
||||
uint16_t,
|
||||
std::unordered_map<uint16_t, std::shared_ptr<rda::DigitalRadarData>>>
|
||||
radar_data() const;
|
||||
std::shared_ptr<const rda::VolumeCoveragePatternData> vcp_data() const;
|
||||
|
||||
bool LoadFile(const std::string& filename);
|
||||
|
||||
private:
|
||||
|
|
|
|||
|
|
@ -88,8 +88,11 @@ public:
|
|||
|
||||
uint16_t number_of_data_moment_gates() const;
|
||||
float data_moment_range() const;
|
||||
uint16_t data_moment_range_raw() const;
|
||||
float data_moment_range_sample_interval() const;
|
||||
uint16_t data_moment_range_sample_interval_raw() const;
|
||||
float snr_threshold() const;
|
||||
int16_t snr_threshold_raw() const;
|
||||
uint8_t data_word_size() const;
|
||||
float scale() const;
|
||||
float offset() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue