Issue #1179 fix radar imagery to not display when there is no dual pol precip.

Former-commit-id: 798e28b218 [formerly 798e28b218 [formerly 5eb3c4d62bcbdb458bc2895172601cb3fa38fa4b]]
Former-commit-id: 71391cdb59
Former-commit-id: 918e74fe20
This commit is contained in:
Ben Steffensmeier 2012-09-18 18:05:09 -05:00
parent 6b5f9bb712
commit a6374581ba

View file

@ -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 {