Merge "Issue #2359 fix annoying ncep null pointer" into omaha_14.2.1
Former-commit-id:783e76158b
[formerlyd2e203303f
] [formerlyff34eb99c8
] [formerlyff34eb99c8
[formerlya52587bdd1
]] [formerlycde0d54b62
[formerlyff34eb99c8
[formerlya52587bdd1
] [formerlycde0d54b62
[formerly ec701d2b15a629bf58656b3566493afe8c28db0b]]]] Former-commit-id:cde0d54b62
Former-commit-id: ae382513c25640b09431941cf8199065d7df88ae [formerly 17a1bf34605552140361c01742500e1c16aeb935] [formerly3e97d86000
[formerlyc68447f9b2
]] Former-commit-id:3e97d86000
Former-commit-id:496c5d5ac1
This commit is contained in:
commit
6991f62e7a
1 changed files with 10 additions and 6 deletions
|
@ -11,6 +11,7 @@
|
|||
* 07/2011 F. J. Yen Fix for RTN TTR 9973--ConvSigment Decoder Ignoring
|
||||
* time range (NonConvsigmet, too). Set the rangeEnd
|
||||
* time to the endTime
|
||||
* Jan 17, 2014 njensen Handle if one or more locations not found in LatLonLocTbl
|
||||
*
|
||||
* This code has been developed by the SIB for use in the AWIPS2 system.
|
||||
*/
|
||||
|
@ -344,14 +345,17 @@ public class NonConvSigmetParser {
|
|||
currentLocation.setLocationLine(lines);
|
||||
currentLocation.setLocation(location);
|
||||
point = LatLonLocTbl.getLatLonPoint(location, "vors");
|
||||
currentLocation.setIndex(idxLocation + 1);
|
||||
idxLocation++;
|
||||
currentLocation.setLatitude(point
|
||||
if(point != null) {
|
||||
currentLocation.setIndex(idxLocation + 1);
|
||||
idxLocation++;
|
||||
currentLocation.setLatitude(point
|
||||
.getLatitude(LatLonPoint.INDEGREES));
|
||||
currentLocation.setLongitude(point
|
||||
currentLocation.setLongitude(point
|
||||
.getLongitude(LatLonPoint.INDEGREES));
|
||||
recordTable.addNonConvSigmetLocation(currentLocation);
|
||||
recordTable.addNonConvSigmetLocation(currentLocation);
|
||||
}
|
||||
}
|
||||
hasLocationLine = (idxLocation > 0);
|
||||
} else {
|
||||
hasLocationLine = false;
|
||||
}
|
||||
|
@ -406,4 +410,4 @@ public class NonConvSigmetParser {
|
|||
return currentRecord;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue