Issue #1179 fix radar imagery to not display when there is no dual pol precip.
Former-commit-id:71391cdb59
[formerly 5eb3c4d62bcbdb458bc2895172601cb3fa38fa4b] Former-commit-id:798e28b218
This commit is contained in:
parent
06777dfc7c
commit
3c5497f87f
1 changed files with 5 additions and 1 deletions
|
@ -386,7 +386,11 @@ public class RadarImageResource<D extends IDescriptor> extends
|
|||
if (image == null || image.getCoverage() == null) {
|
||||
VizRadarRecord record = getRadarRecord(dataTime);
|
||||
if (record != null) {
|
||||
if (record.getStoredDataAsync() == null) {
|
||||
if (record.getNumRadials() == 0 || record.getNumBins() == 0) {
|
||||
// This is expected for dual pol precip products(DSD,DOD)
|
||||
// when it isn't raining.
|
||||
return null;
|
||||
} else if (record.getStoredDataAsync() == null) {
|
||||
issueRefresh();
|
||||
} else {
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue