mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:30:06 +00:00
Ignore milliseconds when retrieving scan from level 2 file by time
This commit is contained in:
parent
e522f85a72
commit
c94e483c6e
1 changed files with 1 additions and 1 deletions
|
|
@ -188,7 +188,7 @@ Ar2vFile::GetElevationScan(rda::DataBlockType dataBlockType,
|
|||
|
||||
for (auto& scan : elevationScans)
|
||||
{
|
||||
auto& scanTime = scan.first;
|
||||
auto scanTime = std::chrono::floor<std::chrono::seconds>(scan.first);
|
||||
|
||||
if (elevationScan == nullptr ||
|
||||
(scanTime <= time && scanTime > foundTime))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue