mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:40:06 +00:00
partiallaly complete merging of radar data
This commit is contained in:
parent
ac6d6093ec
commit
8b7a3e9781
4 changed files with 157 additions and 2 deletions
|
|
@ -1525,6 +1525,16 @@ RadarProductManager::GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType,
|
|||
//TODO decide when to use chunked vs archived data.
|
||||
if (true)
|
||||
{
|
||||
auto currentFile = std::dynamic_pointer_cast<wsr88d::Ar2vFile>(
|
||||
p->level2ChunksProviderManager_->provider_->LoadLatestObject());
|
||||
auto lastFile = std::dynamic_pointer_cast<wsr88d::Ar2vFile>(
|
||||
p->level2ChunksProviderManager_->provider_->LoadSecondLatestObject());
|
||||
auto radarFile =
|
||||
std::make_shared<wsr88d::Ar2vFile>(currentFile, lastFile);
|
||||
std::tie(radarData, elevationCut, elevationCuts) =
|
||||
radarFile->GetElevationScan(dataBlockType, elevation, time);
|
||||
|
||||
/*
|
||||
auto currentFile = std::dynamic_pointer_cast<wsr88d::Ar2vFile>(
|
||||
p->level2ChunksProviderManager_->provider_->LoadLatestObject());
|
||||
std::shared_ptr<wsr88d::rda::ElevationScan> currentRadarData = nullptr;
|
||||
|
|
@ -1587,6 +1597,7 @@ RadarProductManager::GetLevel2Data(wsr88d::rda::DataBlockType dataBlockType,
|
|||
elevationCuts = std::move(lastElevationCuts);
|
||||
foundTime = collectionTime;
|
||||
}
|
||||
*/
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue