Issue #2359 fix ncep pirep decoding null pointer

Change-Id: Id255abcda2d8c661ce8d7d0b022addc69f7635ea

Former-commit-id: 5a860252ad [formerly 7f7f05b8ba [formerly 5f554ec21fcedc7f8ef5b3b00fc951527bb424bb]]
Former-commit-id: 7f7f05b8ba
Former-commit-id: 7961052b41
This commit is contained in:
Nate Jensen 2014-01-20 13:11:36 -06:00
parent 3f3b8a521d
commit 104f88b3ea

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