mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:00:04 +00:00
Initial indexing capability
This commit is contained in:
parent
ab616b0c62
commit
3e92847901
6 changed files with 153 additions and 54 deletions
|
|
@ -182,15 +182,15 @@ void RadarProductManager::LoadLevel2Data(const std::string& filename)
|
|||
|
||||
std::shared_ptr<wsr88d::rda::ElevationScan>
|
||||
RadarProductManager::GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType,
|
||||
uint8_t elevationIndex,
|
||||
uint16_t elevation,
|
||||
std::chrono::system_clock::time_point time)
|
||||
{
|
||||
std::shared_ptr<wsr88d::rda::ElevationScan> radarData = nullptr;
|
||||
|
||||
if (p->level2VolumeScans_.size() > 0)
|
||||
{
|
||||
radarData =
|
||||
p->level2VolumeScans_.crbegin()->second->radar_data()[elevationIndex];
|
||||
radarData = p->level2VolumeScans_.crbegin()->second->GetElevationScan(
|
||||
dataBlockType, elevation, time);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ public:
|
|||
|
||||
std::shared_ptr<wsr88d::rda::ElevationScan>
|
||||
GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType,
|
||||
uint8_t elevationIndex,
|
||||
uint16_t elevation,
|
||||
std::chrono::system_clock::time_point time = {});
|
||||
|
||||
signals:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue