mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:40:05 +00:00
Threshold for display of bins should be no less than 2
This commit is contained in:
parent
be2f9fe674
commit
f8f5a36f48
1 changed files with 3 additions and 2 deletions
|
|
@ -443,8 +443,9 @@ void Level2ProductView::ComputeSweep()
|
||||||
cfpMoments.shrink_to_fit();
|
cfpMoments.shrink_to_fit();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compute threshold at which to display an individual bin
|
// Compute threshold at which to display an individual bin (minimum of 2)
|
||||||
const uint16_t snrThreshold = momentData0->snr_threshold_raw();
|
const uint16_t snrThreshold =
|
||||||
|
std::max<int16_t>(2, momentData0->snr_threshold_raw());
|
||||||
|
|
||||||
// Azimuth resolution spacing:
|
// Azimuth resolution spacing:
|
||||||
// 1 = 0.5 degrees
|
// 1 = 0.5 degrees
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue