mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:10:05 +00:00
Fix level 2 empty radial data crash
This commit is contained in:
parent
96db63d5f3
commit
774d08a63e
1 changed files with 6 additions and 0 deletions
|
|
@ -422,6 +422,12 @@ void Ar2vFileImpl::IndexFile()
|
|||
std::shared_ptr<rda::DigitalRadarData> radial0 =
|
||||
(*elevationCut.second)[0];
|
||||
|
||||
if (radial0 == nullptr)
|
||||
{
|
||||
logger_->warn("Empty radial data");
|
||||
continue;
|
||||
}
|
||||
|
||||
for (rda::DataBlockType dataBlockType :
|
||||
rda::MomentDataBlockTypeIterator())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue