Merge "Omaha #3628 Move bufr packages and classes from decodertools plugin to bufrtools plugin" into omaha_14.4.1
Former-commit-id:bd1aba7a24
[formerlyc52a832f1a
] [formerly6273bfd13e
] [formerlybd1aba7a24
[formerlyc52a832f1a
] [formerly6273bfd13e
] [formerlycdcaf9962d
[formerly6273bfd13e
[formerly 0ff3f331f61b98e5132dc497d247a61828a8fdf0]]]] Former-commit-id:cdcaf9962d
Former-commit-id:904a012a20
[formerly632fa47154
] [formerly 489f80b726ea7ca65e35ab6e1540328e707c3322 [formerlybfa3d7d8e2
]] Former-commit-id: f9cf4b460e00ce82c25e80768324398afaafc856 [formerly8133f5958e
] Former-commit-id:9bfbabcd4d
This commit is contained in:
commit
e157514bcf
14 changed files with 84 additions and 75 deletions
|
@ -19,8 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.edex.plugin.bufrua.decoder;
|
package com.raytheon.edex.plugin.bufrua.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
|
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
@ -34,6 +32,7 @@ import com.raytheon.uf.common.pointdata.Dimension;
|
||||||
import com.raytheon.uf.common.pointdata.PointDataDescription;
|
import com.raytheon.uf.common.pointdata.PointDataDescription;
|
||||||
import com.raytheon.uf.common.pointdata.PointDataView;
|
import com.raytheon.uf.common.pointdata.PointDataView;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
|
@ -48,6 +47,7 @@ import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
* Mar 03, 2008 969 jkorman Initial implementation.
|
* Mar 03, 2008 969 jkorman Initial implementation.
|
||||||
* Dec 05, 2013 2612 bsteffen Fix max wind decoding.
|
* Dec 05, 2013 2612 bsteffen Fix max wind decoding.
|
||||||
* Dec 17, 2013 2639 bsteffen Validate mandatory level heights.
|
* Dec 17, 2013 2639 bsteffen Validate mandatory level heights.
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -131,7 +131,8 @@ public class BUFRUAManLevelAdapter extends AbstractBUFRUAAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((dataPoint instanceof BUFRSublistPacket)
|
if ((dataPoint instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(dataPoint.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(dataPoint
|
||||||
|
.getUnits()))) {
|
||||||
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
||||||
.getValue();
|
.getValue();
|
||||||
int manIdx = 0;
|
int manIdx = 0;
|
||||||
|
@ -221,7 +222,8 @@ public class BUFRUAManLevelAdapter extends AbstractBUFRUAAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((dataPoint instanceof BUFRSublistPacket)
|
if ((dataPoint instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(dataPoint.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(dataPoint
|
||||||
|
.getUnits()))) {
|
||||||
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
||||||
.getValue();
|
.getValue();
|
||||||
int maxWindIdx = 0;
|
int maxWindIdx = 0;
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.edex.plugin.bufrua.decoder;
|
package com.raytheon.edex.plugin.bufrua.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import com.raytheon.edex.plugin.bufrua.util.SigWindHeightConversionManager;
|
import com.raytheon.edex.plugin.bufrua.util.SigWindHeightConversionManager;
|
||||||
|
@ -30,6 +28,7 @@ import com.raytheon.uf.common.pointdata.Dimension;
|
||||||
import com.raytheon.uf.common.pointdata.PointDataDescription;
|
import com.raytheon.uf.common.pointdata.PointDataDescription;
|
||||||
import com.raytheon.uf.common.pointdata.PointDataView;
|
import com.raytheon.uf.common.pointdata.PointDataView;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
|
@ -45,6 +44,7 @@ import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
* ------------- -------- ----------- --------------------------
|
* ------------- -------- ----------- --------------------------
|
||||||
* Jul 21, 2009 jkorman Initial creation
|
* Jul 21, 2009 jkorman Initial creation
|
||||||
* Dec 05, 2013 2612 bsteffen Convert heights for sig wind layers.
|
* Dec 05, 2013 2612 bsteffen Convert heights for sig wind layers.
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -110,7 +110,8 @@ public class BUFRUASigLevelAdapter extends AbstractBUFRUAAdapter {
|
||||||
IBUFRDataPacket dataPoint, PointDataView view) {
|
IBUFRDataPacket dataPoint, PointDataView view) {
|
||||||
|
|
||||||
if ((dataPoint instanceof BUFRSublistPacket)
|
if ((dataPoint instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(dataPoint.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(dataPoint
|
||||||
|
.getUnits()))) {
|
||||||
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
||||||
.getValue();
|
.getValue();
|
||||||
int tempIdx = 0;
|
int tempIdx = 0;
|
||||||
|
@ -173,7 +174,8 @@ public class BUFRUASigLevelAdapter extends AbstractBUFRUAAdapter {
|
||||||
PointDataView view) {
|
PointDataView view) {
|
||||||
|
|
||||||
if ((dataPoint instanceof BUFRSublistPacket)
|
if ((dataPoint instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(dataPoint.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(dataPoint
|
||||||
|
.getUnits()))) {
|
||||||
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
List<IBUFRDataPacket> datList = (List<IBUFRDataPacket>) dataPoint
|
||||||
.getValue();
|
.getValue();
|
||||||
int windIdx = 0;
|
int windIdx = 0;
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.edex.plugin.goessounding.decoder;
|
package com.raytheon.edex.plugin.goessounding.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -47,6 +45,7 @@ import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
import com.raytheon.uf.common.wmo.WMOHeader;
|
import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
|
|
||||||
|
@ -63,6 +62,7 @@ import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
* work without dataURI.
|
* work without dataURI.
|
||||||
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
* Jul 23, 2014 3410 bclement location changed to floats
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -281,7 +281,8 @@ public class GOESSoundingDataAdapter {
|
||||||
// get the replication sublist for the sounding data
|
// get the replication sublist for the sounding data
|
||||||
IBUFRDataPacket p = dataList.get(SAT_SOUNDERDATA_POS);
|
IBUFRDataPacket p = dataList.get(SAT_SOUNDERDATA_POS);
|
||||||
if ((p instanceof BUFRSublistPacket)
|
if ((p instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(p.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(p
|
||||||
|
.getUnits()))) {
|
||||||
|
|
||||||
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
||||||
.getValue();
|
.getValue();
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.edex.plugin.profiler.decoder;
|
package com.raytheon.edex.plugin.profiler.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
@ -45,6 +43,7 @@ import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
import com.raytheon.uf.common.wmo.WMOHeader;
|
import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
|
|
||||||
|
@ -63,6 +62,7 @@ import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
||||||
* added breaks/default to switch
|
* added breaks/default to switch
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
* Jul 23, 2014 3410 bclement location changed to floats
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -126,7 +126,8 @@ public class ProfilerDataAdapter {
|
||||||
// get the replication sublist
|
// get the replication sublist
|
||||||
IBUFRDataPacket p = dataList.get(21);
|
IBUFRDataPacket p = dataList.get(21);
|
||||||
if ((p instanceof BUFRSublistPacket)
|
if ((p instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(p.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType()
|
||||||
|
.equals(p.getUnits()))) {
|
||||||
|
|
||||||
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
||||||
.getValue();
|
.getValue();
|
||||||
|
@ -145,7 +146,8 @@ public class ProfilerDataAdapter {
|
||||||
hIncrement = getHeightIncrement(dataList, 22);
|
hIncrement = getHeightIncrement(dataList, 22);
|
||||||
p = dataList.get(23);
|
p = dataList.get(23);
|
||||||
if ((p instanceof BUFRSublistPacket)
|
if ((p instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(p.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType()
|
||||||
|
.equals(p.getUnits()))) {
|
||||||
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
||||||
.getValue();
|
.getValue();
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: Bufrtools Plug-in
|
Bundle-Name: Bufrtools Plug-in
|
||||||
Bundle-SymbolicName: com.raytheon.uf.edex.bufrtools
|
Bundle-SymbolicName: com.raytheon.uf.edex.bufrtools
|
||||||
Bundle-Version: 1.12.1174.qualifier
|
Bundle-Version: 1.14.0.qualifier
|
||||||
Bundle-Vendor: RAYTHEON
|
Bundle-Vendor: RAYTHEON
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||||
Require-Bundle: com.raytheon.uf.common.dataplugin;bundle-version="1.12.1174",
|
Require-Bundle: com.raytheon.uf.common.dataplugin;bundle-version="1.12.1174",
|
||||||
com.raytheon.uf.common.datastorage;bundle-version="1.12.1174",
|
com.raytheon.uf.common.datastorage;bundle-version="1.12.1174",
|
||||||
com.raytheon.uf.common.serialization;bundle-version="1.12.1174",
|
com.raytheon.uf.common.serialization;bundle-version="1.12.1174",
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.bufrtools.impl;
|
package com.raytheon.uf.edex.bufrtools.impl;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.SubSetList;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -40,6 +37,7 @@ import com.raytheon.uf.edex.bufrtools.exceptions.BUFRDecoderException;
|
||||||
import com.raytheon.uf.edex.bufrtools.io.BUFRBitInputStream;
|
import com.raytheon.uf.edex.bufrtools.io.BUFRBitInputStream;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFROperatorPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFROperatorPacket;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -54,7 +52,7 @@ import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
* 20080214 862 jkorman BUFRMOS implementation changes.
|
* 20080214 862 jkorman BUFRMOS implementation changes.
|
||||||
* 07/2009 55 T. Lee Added number of bits to skip for Table C
|
* 07/2009 55 T. Lee Added number of bits to skip for Table C
|
||||||
* 04/2010 208 F. J. Yen Updated arguments for execute in processTableB
|
* 04/2010 208 F. J. Yen Updated arguments for execute in processTableB
|
||||||
* 9/16/2014 #3628 mapeters Moved from uf.edex.decodertools plugin.
|
* 9/16/2014 #3628 mapeters Moved from uf.edex.decodertools plugin, replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -138,7 +136,8 @@ public class CompressedExecuteEngine extends ExecuteEngine {
|
||||||
} // for()
|
} // for()
|
||||||
// package all of the data into a SubListPacket
|
// package all of the data into a SubListPacket
|
||||||
BUFRSublistPacket p = new BUFRSublistPacket(packetData,
|
BUFRSublistPacket p = new BUFRSublistPacket(packetData,
|
||||||
SubSetList.getPacketType(), new BUFRSublistDescriptor(
|
DataPacketTypes.SubSetList.getPacketType(),
|
||||||
|
new BUFRSublistDescriptor(
|
||||||
BUFRSublistDescriptor.SUBSET_LIST_DESC, 0));
|
BUFRSublistDescriptor.SUBSET_LIST_DESC, 0));
|
||||||
data.addPacket(p);
|
data.addPacket(p);
|
||||||
|
|
||||||
|
@ -288,7 +287,8 @@ public class CompressedExecuteEngine extends ExecuteEngine {
|
||||||
sList.add(t.get(0));
|
sList.add(t.get(0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BUFRSublistPacket p = new BUFRSublistPacket(sList, RepSubList.getPacketType(),
|
BUFRSublistPacket p = new BUFRSublistPacket(sList,
|
||||||
|
DataPacketTypes.RepSubList.getPacketType(),
|
||||||
new BUFRSublistDescriptor(
|
new BUFRSublistDescriptor(
|
||||||
BUFRSublistDescriptor.REP_SUBLIST_DESC, 0));
|
BUFRSublistDescriptor.REP_SUBLIST_DESC, 0));
|
||||||
packets.add(p);
|
packets.add(p);
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.bufrtools.impl;
|
package com.raytheon.uf.edex.bufrtools.impl;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.SubSetList;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -41,6 +38,7 @@ import com.raytheon.uf.edex.bufrtools.io.BUFRBitInputStream;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRNumericPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRNumericPacket;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFROperatorPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFROperatorPacket;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -55,7 +53,7 @@ import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
* 20080214 862 jkorman BUFRMOS implementation changes.
|
* 20080214 862 jkorman BUFRMOS implementation changes.
|
||||||
* 07/2009 55 T. Lee Added number of bits to skip for Table C
|
* 07/2009 55 T. Lee Added number of bits to skip for Table C
|
||||||
* 04/21/2010 208 F. J. Yen Updated arguments for execute in processTableB
|
* 04/21/2010 208 F. J. Yen Updated arguments for execute in processTableB
|
||||||
* 9/16/2014 #3628 mapeters Moved from uf.edex.decodertools plugin.
|
* 9/16/2014 #3628 mapeters Moved from uf.edex.decodertools plugin, replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -137,7 +135,8 @@ public class NonCompressedExecuteEngine extends ExecuteEngine {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
BUFRSublistPacket p = new BUFRSublistPacket(packetData,
|
BUFRSublistPacket p = new BUFRSublistPacket(packetData,
|
||||||
SubSetList.getPacketType(), new BUFRSublistDescriptor(
|
DataPacketTypes.SubSetList.getPacketType(),
|
||||||
|
new BUFRSublistDescriptor(
|
||||||
BUFRSublistDescriptor.SUBSET_LIST_DESC, i));
|
BUFRSublistDescriptor.SUBSET_LIST_DESC, i));
|
||||||
data.addPacket(p);
|
data.addPacket(p);
|
||||||
}
|
}
|
||||||
|
@ -254,7 +253,9 @@ public class NonCompressedExecuteEngine extends ExecuteEngine {
|
||||||
if (delayedCount == 0) {
|
if (delayedCount == 0) {
|
||||||
// Insert an empty sublist for the missing data.
|
// Insert an empty sublist for the missing data.
|
||||||
List<IBUFRDataPacket> d = new ArrayList<IBUFRDataPacket>();
|
List<IBUFRDataPacket> d = new ArrayList<IBUFRDataPacket>();
|
||||||
packets.add(new BUFRSublistPacket(d, RepSubList.getPacketType(), descriptor));
|
packets.add(new BUFRSublistPacket(d,
|
||||||
|
DataPacketTypes.RepSubList.getPacketType(),
|
||||||
|
descriptor));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
processReplication(packets, subList, delayedCount);
|
processReplication(packets, subList, delayedCount);
|
||||||
|
@ -310,7 +311,8 @@ public class NonCompressedExecuteEngine extends ExecuteEngine {
|
||||||
|
|
||||||
EngineData tdata = engine.descriptorExecutor(bitStream);
|
EngineData tdata = engine.descriptorExecutor(bitStream);
|
||||||
BUFRSublistPacket p = new BUFRSublistPacket(tdata.getPacketData(),
|
BUFRSublistPacket p = new BUFRSublistPacket(tdata.getPacketData(),
|
||||||
RepSubList.getPacketType(), new BUFRSublistDescriptor(
|
DataPacketTypes.RepSubList.getPacketType(),
|
||||||
|
new BUFRSublistDescriptor(
|
||||||
BUFRSublistDescriptor.REP_SUBLIST_DESC, 0));
|
BUFRSublistDescriptor.REP_SUBLIST_DESC, 0));
|
||||||
packets.add(p);
|
packets.add(p);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,13 +2,12 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: Decodertools Plug-in
|
Bundle-Name: Decodertools Plug-in
|
||||||
Bundle-SymbolicName: com.raytheon.uf.edex.decodertools
|
Bundle-SymbolicName: com.raytheon.uf.edex.decodertools
|
||||||
Bundle-Version: 1.12.1174.qualifier
|
Bundle-Version: 1.14.0.qualifier
|
||||||
Bundle-Vendor: RAYTHEON
|
Bundle-Vendor: RAYTHEON
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||||
Require-Bundle: com.raytheon.edex.common;bundle-version="1.11.1",
|
Require-Bundle: com.raytheon.edex.common;bundle-version="1.11.1",
|
||||||
com.raytheon.uf.common.localization,
|
com.raytheon.uf.common.localization,
|
||||||
com.raytheon.uf.common.pointdata,
|
com.raytheon.uf.common.pointdata,
|
||||||
javax.measure;bundle-version="1.0.0",
|
|
||||||
org.geotools;bundle-version="2.5.2",
|
org.geotools;bundle-version="2.5.2",
|
||||||
com.raytheon.uf.common.site;bundle-version="1.12.1174",
|
com.raytheon.uf.common.site;bundle-version="1.12.1174",
|
||||||
com.raytheon.uf.edex.ndm;bundle-version="1.0.0",
|
com.raytheon.uf.edex.ndm;bundle-version="1.0.0",
|
||||||
|
|
|
@ -19,11 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.plugin.acars.decoder;
|
package com.raytheon.uf.edex.plugin.acars.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.SubSetList;
|
|
||||||
import static com.raytheon.uf.edex.plugin.acars.common.ACARSConstants.NO_ICING;
|
|
||||||
import static com.raytheon.uf.edex.plugin.acars.common.ACARSConstants.RESERVE_13;
|
|
||||||
|
|
||||||
import java.text.DecimalFormat;
|
import java.text.DecimalFormat;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
|
@ -42,7 +37,9 @@ import com.raytheon.uf.common.time.util.TimeUtil;
|
||||||
import com.raytheon.uf.common.wmo.WMOHeader;
|
import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.descriptors.BUFRDescriptor;
|
import com.raytheon.uf.edex.bufrtools.descriptors.BUFRDescriptor;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
|
import com.raytheon.uf.edex.plugin.acars.common.ACARSConstants;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adapter used to decode ACARS data in BUFR format.
|
* Adapter used to decode ACARS data in BUFR format.
|
||||||
|
@ -60,6 +57,7 @@ import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
* Jun 12, 2014 2061 bsteffen Generate unique stationid
|
* Jun 12, 2014 2061 bsteffen Generate unique stationid
|
||||||
* Jul 22, 2014 3392 nabowle ACARSRecord has Float fields instead of Double
|
* Jul 22, 2014 3392 nabowle ACARSRecord has Float fields instead of Double
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
* Jul 23, 2014 3410 bclement location changed to floats
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -281,7 +279,8 @@ public class ACARSDataAdapter {
|
||||||
getFlightPhase(subList, rpt, 9);
|
getFlightPhase(subList, rpt, 9);
|
||||||
|
|
||||||
IBUFRDataPacket wxData = subList.get(10);
|
IBUFRDataPacket wxData = subList.get(10);
|
||||||
if (RepSubList.getPacketType().equals(
|
if (DataPacketTypes.RepSubList
|
||||||
|
.getPacketType().equals(
|
||||||
wxData.getUnits())) {
|
wxData.getUnits())) {
|
||||||
List<IBUFRDataPacket> dataList = (List<IBUFRDataPacket>) wxData
|
List<IBUFRDataPacket> dataList = (List<IBUFRDataPacket>) wxData
|
||||||
.getValue();
|
.getValue();
|
||||||
|
@ -640,7 +639,8 @@ public class ACARSDataAdapter {
|
||||||
}
|
}
|
||||||
|
|
||||||
Integer ice = record.getIcing();
|
Integer ice = record.getIcing();
|
||||||
if ((ice != null) && (ice > NO_ICING) && (ice < RESERVE_13)) {
|
if ((ice != null) && (ice > ACARSConstants.NO_ICING)
|
||||||
|
&& (ice < ACARSConstants.RESERVE_13)) {
|
||||||
if (record.getIceBaseHgt() == null) {
|
if (record.getIceBaseHgt() == null) {
|
||||||
record.setIceBaseHgt(record.getFlightLevel());
|
record.setIceBaseHgt(record.getFlightLevel());
|
||||||
}
|
}
|
||||||
|
@ -672,7 +672,8 @@ public class ACARSDataAdapter {
|
||||||
|
|
||||||
List<IBUFRDataPacket> subList = null;
|
List<IBUFRDataPacket> subList = null;
|
||||||
IBUFRDataPacket packet = dataList.get(0);
|
IBUFRDataPacket packet = dataList.get(0);
|
||||||
if (SubSetList.getPacketType().equals(packet.getUnits())) {
|
if (DataPacketTypes.SubSetList.getPacketType()
|
||||||
|
.equals(packet.getUnits())) {
|
||||||
subList = (List<IBUFRDataPacket>) packet.getValue();
|
subList = (List<IBUFRDataPacket>) packet.getValue();
|
||||||
if ((subList != null) && (subList.size() >= 6)) {
|
if ((subList != null) && (subList.size() >= 6)) {
|
||||||
packet = subList.get(0); // Height
|
packet = subList.get(0); // Height
|
||||||
|
|
|
@ -19,14 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.plugin.bufrmos.decoder;
|
package com.raytheon.uf.edex.plugin.bufrmos.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_AVN;
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_ETA;
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_GFS;
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_HPC;
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_LAMP;
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_MRF;
|
|
||||||
import static com.raytheon.uf.edex.plugin.bufrmos.decoder.BUFRMOSStaticData.MODEL_NGM;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
|
@ -46,7 +38,8 @@ import com.raytheon.uf.edex.bufrtools.descriptors.IDescriptorFactorySelector;
|
||||||
*
|
*
|
||||||
* Date Ticket# Engineer Description
|
* Date Ticket# Engineer Description
|
||||||
* ------------ ---------- ----------- --------------------------
|
* ------------ ---------- ----------- --------------------------
|
||||||
*
|
* jkorman Initial creation.
|
||||||
|
* Sep 16, 2014 #3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -62,19 +55,20 @@ public class MOSDescriptorDelegate implements IDescriptorFactoryDelegate {
|
||||||
private static Map<String, DescriptorFactory> factories;
|
private static Map<String, DescriptorFactory> factories;
|
||||||
static {
|
static {
|
||||||
factories = new HashMap<String, DescriptorFactory>();
|
factories = new HashMap<String, DescriptorFactory>();
|
||||||
factories.put(MODEL_AVN,
|
factories.put(BUFRMOSStaticData.MODEL_AVN,
|
||||||
createFactory("AVNBufrTableB", "AVNBufrTableD"));
|
createFactory("AVNBufrTableB", "AVNBufrTableD"));
|
||||||
factories.put(MODEL_ETA,
|
factories.put(BUFRMOSStaticData.MODEL_ETA,
|
||||||
createFactory("ETABufrTableB", "ETABufrTableD"));
|
createFactory("ETABufrTableB", "ETABufrTableD"));
|
||||||
factories.put(MODEL_GFS,
|
factories.put(BUFRMOSStaticData.MODEL_GFS,
|
||||||
createFactory("GFSBufrTableB", "GFSBufrTableD"));
|
createFactory("GFSBufrTableB", "GFSBufrTableD"));
|
||||||
factories.put(MODEL_HPC,
|
factories.put(BUFRMOSStaticData.MODEL_HPC,
|
||||||
createFactory("HPCBufrTableB", "HPCBufrTableD"));
|
createFactory("HPCBufrTableB", "HPCBufrTableD"));
|
||||||
factories.put(MODEL_LAMP, createFactory("LAMPBufrTableB",
|
factories.put(BUFRMOSStaticData.MODEL_LAMP,
|
||||||
|
createFactory("LAMPBufrTableB",
|
||||||
"LAMPBufrTableD"));
|
"LAMPBufrTableD"));
|
||||||
factories.put(MODEL_MRF,
|
factories.put(BUFRMOSStaticData.MODEL_MRF,
|
||||||
createFactory("MRFBufrTableB", "MRFBufrTableD"));
|
createFactory("MRFBufrTableB", "MRFBufrTableD"));
|
||||||
factories.put(MODEL_NGM,
|
factories.put(BUFRMOSStaticData.MODEL_NGM,
|
||||||
createFactory("NGMBufrTableB", "NGMBufrTableD"));
|
createFactory("NGMBufrTableB", "NGMBufrTableD"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.plugin.bufrncwf.decoder;
|
package com.raytheon.uf.edex.plugin.bufrncwf.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.SubSetList;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
@ -39,6 +36,7 @@ import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRPointDataAdapter;
|
import com.raytheon.uf.edex.bufrtools.BUFRPointDataAdapter;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.DecoderTools;
|
import com.raytheon.uf.edex.decodertools.core.DecoderTools;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
|
@ -59,6 +57,7 @@ import com.vividsolutions.jts.geom.Coordinate;
|
||||||
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
||||||
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
* Jul 23, 2014 3410 bclement location changed to floats
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -352,9 +351,11 @@ public class BUFRncwfDataAdapter extends BUFRPointDataAdapter<BUFRncwf> {
|
||||||
private static List<IBUFRDataPacket> getPacketSubList(IBUFRDataPacket packet) {
|
private static List<IBUFRDataPacket> getPacketSubList(IBUFRDataPacket packet) {
|
||||||
List<IBUFRDataPacket> list = null;
|
List<IBUFRDataPacket> list = null;
|
||||||
if (packet instanceof BUFRSublistPacket) {
|
if (packet instanceof BUFRSublistPacket) {
|
||||||
if (RepSubList.getPacketType().equals(packet.getUnits())) {
|
if (DataPacketTypes.RepSubList.getPacketType().equals(
|
||||||
|
packet.getUnits())) {
|
||||||
list = (List<IBUFRDataPacket>) packet.getValue();
|
list = (List<IBUFRDataPacket>) packet.getValue();
|
||||||
} else if (SubSetList.getPacketType().equals(packet.getUnits())) {
|
} else if (DataPacketTypes.SubSetList.getPacketType().equals(
|
||||||
|
packet.getUnits())) {
|
||||||
list = (List<IBUFRDataPacket>) packet.getValue();
|
list = (List<IBUFRDataPacket>) packet.getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,9 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.plugin.bufrsigwx.decoder;
|
package com.raytheon.uf.edex.plugin.bufrsigwx.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.SubSetList;
|
|
||||||
|
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -39,6 +36,7 @@ import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRPointDataAdapter;
|
import com.raytheon.uf.edex.bufrtools.BUFRPointDataAdapter;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
|
@ -55,6 +53,7 @@ import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
* Jul 06, 2009 2538 jsanchez Added latitude,longitude to point data.
|
* Jul 06, 2009 2538 jsanchez Added latitude,longitude to point data.
|
||||||
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
||||||
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -241,9 +240,11 @@ public abstract class SigWxDataAdapter extends BUFRPointDataAdapter<SigWxData> {
|
||||||
static List<IBUFRDataPacket> getPacketSubList(IBUFRDataPacket packet) {
|
static List<IBUFRDataPacket> getPacketSubList(IBUFRDataPacket packet) {
|
||||||
List<IBUFRDataPacket> list = null;
|
List<IBUFRDataPacket> list = null;
|
||||||
if (packet instanceof BUFRSublistPacket) {
|
if (packet instanceof BUFRSublistPacket) {
|
||||||
if (RepSubList.getPacketType().equals(packet.getUnits())) {
|
if (DataPacketTypes.RepSubList.getPacketType().equals(
|
||||||
|
packet.getUnits())) {
|
||||||
list = (List<IBUFRDataPacket>) packet.getValue();
|
list = (List<IBUFRDataPacket>) packet.getValue();
|
||||||
} else if (SubSetList.getPacketType().equals(packet.getUnits())) {
|
} else if (DataPacketTypes.SubSetList.getPacketType().equals(
|
||||||
|
packet.getUnits())) {
|
||||||
list = (List<IBUFRDataPacket>) packet.getValue();
|
list = (List<IBUFRDataPacket>) packet.getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.plugin.bufrssmi.decoder;
|
package com.raytheon.uf.edex.plugin.bufrssmi.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
|
@ -37,6 +35,7 @@ import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRPointDataAdapter;
|
import com.raytheon.uf.edex.bufrtools.BUFRPointDataAdapter;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
|
@ -57,6 +56,7 @@ import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
||||||
* Oct 21, 2013 2379 bsteffen Fix a null pointer exception.
|
* Oct 21, 2013 2379 bsteffen Fix a null pointer exception.
|
||||||
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
* May 14, 2014 2536 bclement moved WMO Header to common, removed TimeTools usage
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
* Jul 23, 2014 3410 bclement location changed to floats
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -170,10 +170,12 @@ public class SSMIDataAdapter extends BUFRPointDataAdapter<SSMIScanData> {
|
||||||
List<IBUFRDataPacket> pointList = null;
|
List<IBUFRDataPacket> pointList = null;
|
||||||
if ((p1 instanceof BUFRSublistPacket)
|
if ((p1 instanceof BUFRSublistPacket)
|
||||||
&& (p1 instanceof BUFRSublistPacket)) {
|
&& (p1 instanceof BUFRSublistPacket)) {
|
||||||
if (RepSubList.getPacketType().equals(p1.getUnits())) {
|
if (DataPacketTypes.RepSubList.getPacketType().equals(
|
||||||
|
p1.getUnits())) {
|
||||||
locList = (List<IBUFRDataPacket>) p1.getValue();
|
locList = (List<IBUFRDataPacket>) p1.getValue();
|
||||||
}
|
}
|
||||||
if (RepSubList.getPacketType().equals(p2.getUnits())) {
|
if (DataPacketTypes.RepSubList.getPacketType().equals(
|
||||||
|
p2.getUnits())) {
|
||||||
pointList = (List<IBUFRDataPacket>) p2.getValue();
|
pointList = (List<IBUFRDataPacket>) p2.getValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,8 +19,6 @@
|
||||||
**/
|
**/
|
||||||
package com.raytheon.uf.edex.plugin.modelsounding.decoder;
|
package com.raytheon.uf.edex.plugin.modelsounding.decoder;
|
||||||
|
|
||||||
import static com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes.RepSubList;
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.Calendar;
|
import java.util.Calendar;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -45,6 +43,7 @@ import com.raytheon.uf.common.wmo.WMOHeader;
|
||||||
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
import com.raytheon.uf.edex.bufrtools.BUFRDataDocument;
|
||||||
import com.raytheon.uf.edex.bufrtools.descriptors.BUFRDescriptor;
|
import com.raytheon.uf.edex.bufrtools.descriptors.BUFRDescriptor;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.BUFRSublistPacket;
|
||||||
|
import com.raytheon.uf.edex.bufrtools.packets.DataPacketTypes;
|
||||||
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
import com.raytheon.uf.edex.bufrtools.packets.IBUFRDataPacket;
|
||||||
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
import com.raytheon.uf.edex.decodertools.core.IDecoderConstants;
|
||||||
import com.raytheon.uf.edex.plugin.modelsounding.SoundingModelTemporalData;
|
import com.raytheon.uf.edex.plugin.modelsounding.SoundingModelTemporalData;
|
||||||
|
@ -65,6 +64,7 @@ import com.raytheon.uf.edex.plugin.modelsounding.common.SoundingModels;
|
||||||
* temporal information into its own function.
|
* temporal information into its own function.
|
||||||
* Dec 02, 2013 2537 bsteffen Use SoundingSite setters instead of view.
|
* Dec 02, 2013 2537 bsteffen Use SoundingSite setters instead of view.
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
* Jul 23, 2014 3410 bclement location changed to floats
|
||||||
|
* Sep 16, 2014 3628 mapeters Replaced static imports.
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
|
@ -304,7 +304,8 @@ public class ModelSoundingDataAdapter {
|
||||||
// get the replication sublist for the sounding data
|
// get the replication sublist for the sounding data
|
||||||
IBUFRDataPacket p = dataList.get(5);
|
IBUFRDataPacket p = dataList.get(5);
|
||||||
if ((p instanceof BUFRSublistPacket)
|
if ((p instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(p.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(p
|
||||||
|
.getUnits()))) {
|
||||||
|
|
||||||
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
||||||
.getValue();
|
.getValue();
|
||||||
|
@ -391,7 +392,8 @@ public class ModelSoundingDataAdapter {
|
||||||
// get the replication sublist for the sounding data
|
// get the replication sublist for the sounding data
|
||||||
IBUFRDataPacket p = dataList.get(7);
|
IBUFRDataPacket p = dataList.get(7);
|
||||||
if ((p instanceof BUFRSublistPacket)
|
if ((p instanceof BUFRSublistPacket)
|
||||||
&& (RepSubList.getPacketType().equals(p.getUnits()))) {
|
&& (DataPacketTypes.RepSubList.getPacketType().equals(p
|
||||||
|
.getUnits()))) {
|
||||||
|
|
||||||
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
List<IBUFRDataPacket> subList = (List<IBUFRDataPacket>) p
|
||||||
.getValue();
|
.getValue();
|
||||||
|
|
Loading…
Add table
Reference in a new issue