Merge "Issue #2359 fix ncep pirep decoding null pointer" into omaha_14.2.1

Former-commit-id: 70f211a2f1 [formerly ca3abb631efec6159b1da0b4ab08a579a3f137fc]
Former-commit-id: b49c25a46e
This commit is contained in:
Nate Jensen 2014-01-20 14:02:42 -06:00 committed by Gerrit Code Review
commit 16dae5953e

View file

@ -54,6 +54,7 @@ import com.raytheon.uf.common.time.DataTime;
* 09/27/2011 286 qzhou Make TB, IC, SK records all start from 0 in the arrays. * 09/27/2011 286 qzhou Make TB, IC, SK records all start from 0 in the arrays.
* Fixed visibility . * Fixed visibility .
* Sep 05, 2013 2316 bsteffen Unify pirep and ncpirep. * Sep 05, 2013 2316 bsteffen Unify pirep and ncpirep.
* Jan 20, 2014 njensen Fix storage of turbulence top height
* </pre> * </pre>
* *
* @author qzhou * @author qzhou
@ -277,7 +278,7 @@ public class PirepPointDataTransform {
pdv.setInt(TURB_BASE_HEIGHT, pld.getTurbBaseHeight(), iTb); pdv.setInt(TURB_BASE_HEIGHT, pld.getTurbBaseHeight(), iTb);
} }
if (pld.getTurbTopHeight() != null) { if (pld.getTurbTopHeight() != null) {
pdv.setInt(TURB_TOP_HEIGHT, pld.getTurbBaseHeight(), iTb); pdv.setInt(TURB_TOP_HEIGHT, pld.getTurbTopHeight(), iTb);
} }
if (pld.getIceBaseHeight() != null) { if (pld.getIceBaseHeight() != null) {
pdv.setInt(ICE_BASE_HEIGHT, pld.getIceBaseHeight(), iIc); pdv.setInt(ICE_BASE_HEIGHT, pld.getIceBaseHeight(), iIc);