VLab Issue #6615 - DR_17086 Derived TDWR products do not have green time; fixes #6615

Change-Id: Id810ac9ef4fdf0840253c30f52ca9ea3384d2da0

Former-commit-id: 728f2cdcf0 [formerly 9c3f0157d1d231555bd984d901204915c26bbf6d]
Former-commit-id: 76b867c6f9
This commit is contained in:
Zihou Wang 2015-02-27 16:19:31 +00:00
parent 7d1e615b62
commit 47107e5c45

View file

@ -100,6 +100,7 @@ import com.raytheon.uf.edex.database.cluster.ClusterTask;
* Jan 21, 2014 2627 njensen Removed decode()'s try/catch, camel route will do try/catch
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
* Dec 26, 2014 ASM#632 dhuffman Added AlertMessageSanityCheck() for this DR.
* Feb 27, 2015 17086 zwang Corrected the elevation of volume based TDWR products
*
* </pre>
*
@ -348,7 +349,8 @@ public class RadarDecoder extends AbstractDecoder {
// determine to use the primary elevations or the elevation
// in the terminal radar configuration file
if (TerminalRadarUtils.isTerminalRadar(record.getIcao())) {
if (TerminalRadarUtils.isTerminalRadar(record.getIcao())
&& info.isElevation()) {
Double elevation = TerminalRadarUtils.getPrimarysMap(
record.getIcao()).get(
TiltAngleBin.getPrimaryElevationAngle(record