Merge "VLab Issue #6615 - DR_17086 Derived TDWR products do not have green time; fixes #6615" into field_15.1.1

Former-commit-id: 76e7f1dc1382745bf014041e29856b05198d8d65
This commit is contained in:
Ana Rivera 2015-03-03 18:53:03 +00:00 committed by Gerrit Code Review
commit a4b5bf232f

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