Issue #1179 fix radar imagery to not display when there is no dual pol precip.
Former-commit-id:71391cdb59
[formerly798e28b218
[formerly 5eb3c4d62bcbdb458bc2895172601cb3fa38fa4b]] Former-commit-id:798e28b218
Former-commit-id:3c5497f87f
This commit is contained in:
parent
70f4285bd3
commit
114b9ce95b
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) {
|
if (image == null || image.getCoverage() == null) {
|
||||||
VizRadarRecord record = getRadarRecord(dataTime);
|
VizRadarRecord record = getRadarRecord(dataTime);
|
||||||
if (record != null) {
|
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();
|
issueRefresh();
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue