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

Former-commit-id: 3f217c08bb [formerly 16dae5953e] [formerly b49c25a46e] [formerly 3f217c08bb [formerly 16dae5953e] [formerly b49c25a46e] [formerly 70f211a2f1 [formerly b49c25a46e [formerly ca3abb631efec6159b1da0b4ab08a579a3f137fc]]]]
Former-commit-id: 70f211a2f1
Former-commit-id: a3202f5d12 [formerly 689d12d439] [formerly 3b0032c2e8097710bad6e223325989cd93a35c14 [formerly 53862d8df5]]
Former-commit-id: b5bfd8536c47881c09986a7c8256969538530447 [formerly b7da338e2f]
Former-commit-id: a0c7807b51
This commit is contained in:
Nate Jensen 2014-01-20 14:02:42 -06:00 committed by Gerrit Code Review
commit 813db46e7d

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);