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

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

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.
* Fixed visibility .
* Sep 05, 2013 2316 bsteffen Unify pirep and ncpirep.
* Jan 20, 2014 njensen Fix storage of turbulence top height
* </pre>
*
* @author qzhou
@ -277,7 +278,7 @@ public class PirepPointDataTransform {
pdv.setInt(TURB_BASE_HEIGHT, pld.getTurbBaseHeight(), iTb);
}
if (pld.getTurbTopHeight() != null) {
pdv.setInt(TURB_TOP_HEIGHT, pld.getTurbBaseHeight(), iTb);
pdv.setInt(TURB_TOP_HEIGHT, pld.getTurbTopHeight(), iTb);
}
if (pld.getIceBaseHeight() != null) {
pdv.setInt(ICE_BASE_HEIGHT, pld.getIceBaseHeight(), iIc);