diff --git a/cave/com.raytheon.uf.viz.acarssounding/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.acarssounding/META-INF/MANIFEST.MF index 368d2be29f..5a896a0a4a 100644 --- a/cave/com.raytheon.uf.viz.acarssounding/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.acarssounding/META-INF/MANIFEST.MF @@ -15,10 +15,8 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.8.0", com.raytheon.uf.common.pointdata;bundle-version="1.12.1174", com.raytheon.uf.common.dataplugin;bundle-version="1.12.1174", com.raytheon.uf.common.datastorage;bundle-version="1.12.1174", - com.raytheon.uf.common.derivparam;bundle-version="1.12.1174", com.raytheon.uf.common.dataplugin.level;bundle-version="1.12.1174", com.raytheon.uf.viz.core;bundle-version="1.12.1174", - com.raytheon.uf.viz.derivparam;bundle-version="1.12.1174", com.raytheon.viz.pointdata;bundle-version="1.12.1174", com.raytheon.uf.common.wxmath, gov.noaa.nws.ncep.edex.common;bundle-version="1.0.0", @@ -26,4 +24,8 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.8.0", com.raytheon.uf.viz.d2d.nsharp;bundle-version="1.0.0", org.geotools;bundle-version="2.6.4", javax.measure;bundle-version="1.0.0", - com.raytheon.viz.volumebrowser;bundle-version="1.12.1174" + com.raytheon.viz.volumebrowser;bundle-version="1.12.1174", + com.raytheon.uf.common.comm;bundle-version="1.12.1174", + com.raytheon.uf.common.derivparam;bundle-version="1.14.0" +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.viz.datacube diff --git a/cave/com.raytheon.uf.viz.acarssounding/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.uf.viz.acarssounding/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 0f1568d90a..0000000000 --- a/cave/com.raytheon.uf.viz.acarssounding/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.uf.viz.acarssounding.ACARSSoundingDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.acarssounding/build.properties b/cave/com.raytheon.uf.viz.acarssounding/build.properties index e9863e281e..7a58d205b0 100644 --- a/cave/com.raytheon.uf.viz.acarssounding/build.properties +++ b/cave/com.raytheon.uf.viz.acarssounding/build.properties @@ -2,4 +2,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ .,\ - plugin.xml + plugin.xml,\ + res/ diff --git a/cave/com.raytheon.uf.viz.acarssounding/res/spring/acarssounding-datacube-spring.xml b/cave/com.raytheon.uf.viz.acarssounding/res/spring/acarssounding-datacube-spring.xml new file mode 100644 index 0000000000..9d8521d478 --- /dev/null +++ b/cave/com.raytheon.uf.viz.acarssounding/res/spring/acarssounding-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.acarssounding/src/com/raytheon/uf/viz/acarssounding/ACARSSoundingDataCubeAdapter.java b/cave/com.raytheon.uf.viz.acarssounding/src/com/raytheon/uf/viz/acarssounding/ACARSSoundingDataCubeAdapter.java index 761b797585..6415297134 100644 --- a/cave/com.raytheon.uf.viz.acarssounding/src/com/raytheon/uf/viz/acarssounding/ACARSSoundingDataCubeAdapter.java +++ b/cave/com.raytheon.uf.viz.acarssounding/src/com/raytheon/uf/viz/acarssounding/ACARSSoundingDataCubeAdapter.java @@ -29,6 +29,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.acarssounding.ACARSSoundingLayer; import com.raytheon.uf.common.dataplugin.acarssounding.ACARSSoundingRecord; @@ -38,13 +39,12 @@ import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.datastorage.records.IntegerDataRecord; import com.raytheon.uf.common.datastorage.records.LongDataRecord; import com.raytheon.uf.common.datastorage.records.StringDataRecord; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.wxmath.ZToPsa; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; import com.raytheon.viz.pointdata.util.AbstractPointDataInventory; import com.raytheon.viz.pointdata.util.PointDataCubeAdapter; @@ -132,7 +132,7 @@ public class ACARSSoundingDataCubeAdapter extends PointDataCubeAdapter { pointInventory.initTree(DerivedParameterGenerator .getDerParLibrary()); this.inventory = pointInventory; - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } @@ -141,7 +141,8 @@ public class ACARSSoundingDataCubeAdapter extends PointDataCubeAdapter { @Override public PointDataContainer getBaseRecords(Collection baseParameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { List baseParams = new ArrayList(baseParameters); PluginDataObject[] pdos = getData(queryParams, null); diff --git a/cave/com.raytheon.uf.viz.coopprecip/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.coopprecip/META-INF/MANIFEST.MF index b2f39e7575..dcd12344e3 100644 --- a/cave/com.raytheon.uf.viz.coopprecip/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.coopprecip/META-INF/MANIFEST.MF @@ -6,10 +6,12 @@ Bundle-Version: 1.0.0.qualifier Bundle-Activator: com.raytheon.uf.viz.coopprecip.Activator Bundle-Vendor: RAYTHEON Eclipse-RegisterBuddy: com.raytheon.viz.core, com.raytheon.uf.viz.core -Require-Bundle: org.eclipse.core.runtime +Require-Bundle: org.eclipse.core.runtime, + com.raytheon.uf.viz.datacube Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy -Import-Package: com.raytheon.uf.common.dataplugin, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.dataplugin, com.raytheon.uf.common.dataplugin.text, com.raytheon.uf.common.dataplugin.text.db, com.raytheon.uf.common.dataplugin.text.request, diff --git a/cave/com.raytheon.uf.viz.coopprecip/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.uf.viz.coopprecip/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 5f55a902b3..0000000000 --- a/cave/com.raytheon.uf.viz.coopprecip/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.uf.viz.coopprecip.CoopPrecipDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.coopprecip/build.properties b/cave/com.raytheon.uf.viz.coopprecip/build.properties index 34d2e4d2da..5791d48d5f 100644 --- a/cave/com.raytheon.uf.viz.coopprecip/build.properties +++ b/cave/com.raytheon.uf.viz.coopprecip/build.properties @@ -1,4 +1,5 @@ source.. = src/ output.. = bin/ bin.includes = META-INF/,\ - . + .,\ + res/ diff --git a/cave/com.raytheon.uf.viz.coopprecip/res/spring/coopprecip-datacube-spring.xml b/cave/com.raytheon.uf.viz.coopprecip/res/spring/coopprecip-datacube-spring.xml new file mode 100644 index 0000000000..d0f6e9bd61 --- /dev/null +++ b/cave/com.raytheon.uf.viz.coopprecip/res/spring/coopprecip-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipDataCubeAdapter.java b/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipDataCubeAdapter.java index 9812a550bc..2d540ab396 100644 --- a/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipDataCubeAdapter.java +++ b/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipDataCubeAdapter.java @@ -29,6 +29,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; @@ -43,10 +44,9 @@ import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.catalog.DirectDbQuery; -import com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.localization.LocalizationManager; +import com.raytheon.uf.viz.datacube.IDataCubeAdapter; import com.raytheon.viz.pointdata.StaticPlotInfoPV; import com.raytheon.viz.pointdata.StaticPlotInfoPV.SPIEntry; import com.vividsolutions.jts.geom.Coordinate; @@ -127,7 +127,7 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { @Override public List> timeQuery(List requests) - throws VizException { + throws DataCubeException { List> results = new ArrayList>( requests.size()); for (TimeQueryRequest request : requests) { @@ -143,7 +143,7 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { } public DataTime[] timeQuery(Map queryParams, - boolean latestOnly, BinOffset binOffset) throws VizException { + boolean latestOnly, BinOffset binOffset) throws DataCubeException { String nnnid = getNNNid(queryParams); @@ -177,10 +177,16 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { return nnnid; } - private PointDataContainer getData(String nnnid) throws VizException { - List queryResult = DirectDbQuery.executeQuery( - "select refTime, product from stdtextproducts where nnnid = '" - + nnnid + "'", "fxa", DirectDbQuery.QueryLanguage.SQL); + private PointDataContainer getData(String nnnid) throws DataCubeException { + List queryResult; + try { + queryResult = DirectDbQuery.executeQuery( + "select refTime, product from stdtextproducts where nnnid = '" + + nnnid + "'", "fxa", + DirectDbQuery.QueryLanguage.SQL); + } catch (VizException e) { + throw new DataCubeException(e); + } List times = new ArrayList(queryResult.size()); List products = new ArrayList(queryResult.size()); for (Object[] objArr : queryResult) { @@ -197,7 +203,7 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { } private PointDataContainer getFfgData(List times, - List products) throws VizException { + List products) throws DataCubeException { Map stationCoordMap = getFfgCoords(); PointDataContainer pdc = PointDataContainer.build(ffgDescription); @@ -257,7 +263,7 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { } private PointDataContainer getRtpData(List times, - List products) throws VizException { + List products) throws DataCubeException { Map stationCoordMap = getRtpSpi(); PointDataContainer pdc = PointDataContainer.build(rtpDescription); @@ -335,12 +341,18 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { return pdc; } - private Map getFfgCoords() throws VizException { + private Map getFfgCoords() throws DataCubeException { Map result = new HashMap(); String cwa = LocalizationManager.getInstance().getCurrentSite(); - List queryResult = DirectDbQuery.executeQuery( - "select lat, lon, fips, state from mapdata.county where cwa = '" - + cwa + "'", "maps", DirectDbQuery.QueryLanguage.SQL); + List queryResult; + try { + queryResult = DirectDbQuery.executeQuery( + "select lat, lon, fips, state from mapdata.county where cwa = '" + + cwa + "'", "maps", + DirectDbQuery.QueryLanguage.SQL); + } catch (VizException e) { + throw new DataCubeException(e); + } for (Object[] arr : queryResult) { Number lat = (Number) arr[0]; Number lon = (Number) arr[1]; @@ -350,9 +362,14 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { result.put(stationId, new Coordinate(lon.doubleValue(), lat.doubleValue())); } - queryResult = DirectDbQuery.executeQuery( - "select lat, lon, zone, state from mapdata.zone where cwa = '" - + cwa + "'", "maps", DirectDbQuery.QueryLanguage.SQL); + try { + queryResult = DirectDbQuery.executeQuery( + "select lat, lon, zone, state from mapdata.zone where cwa = '" + + cwa + "'", "maps", + DirectDbQuery.QueryLanguage.SQL); + } catch (VizException e) { + throw new DataCubeException(e); + } for (Object[] arr : queryResult) { Number lat = (Number) arr[0]; Number lon = (Number) arr[1]; @@ -372,7 +389,8 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { @Override public PointDataContainer getPoints(String plugin, String[] parameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { return getPoints(plugin, parameters, null, queryParams); } @@ -380,33 +398,33 @@ public class CoopPrecipDataCubeAdapter implements IDataCubeAdapter { @Override public PointDataContainer getPoints(String plugin, String[] parameters, String levelKey, Map queryParams) - throws VizException { + throws DataCubeException { String nnnid = getNNNid(queryParams); return getData(nnnid); } @Override public IDataRecord[] getRecord(PluginDataObject obj) - throws VizDataCubeException { + throws DataCubeException { return null; } @Override public IDataRecord[] getRecord(PluginDataObject obj, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { return null; } @Override public void getRecords(List objs, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { } @Override public PluginDataObject[] getData( Map constraints, DataTime[] selectedTimes) - throws VizException { + throws DataCubeException { return null; } diff --git a/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipPlotInfoRetriever.java b/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipPlotInfoRetriever.java index 487dfb8a25..a85c3a10ae 100644 --- a/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipPlotInfoRetriever.java +++ b/cave/com.raytheon.uf.viz.coopprecip/src/com/raytheon/uf/viz/coopprecip/CoopPrecipPlotInfoRetriever.java @@ -27,14 +27,15 @@ import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.IResourceDataChanged; import com.raytheon.uf.viz.core.rsc.IResourceDataChanged.ChangeType; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.PlotData; import com.raytheon.viz.pointdata.PlotInfo; import com.raytheon.viz.pointdata.rsc.retrieve.AbstractPlotInfoRetriever; @@ -61,9 +62,14 @@ public class CoopPrecipPlotInfoRetriever extends AbstractPlotInfoRetriever { @Override public void getStations(IResourceDataChanged listener, DataTime time, HashMap metadataMap) throws VizException { - PointDataContainer pdc = DataCubeContainer.getPointData(metadataMap - .get("pluginName").getConstraintValue(), new String[] { - "latitude", "longitude", "time" }, metadataMap); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData(metadataMap.get("pluginName") + .getConstraintValue(), new String[] { "latitude", + "longitude", "time" }, metadataMap); + } catch (DataCubeException e) { + throw new VizException(e); + } List info = new ArrayList(); if (pdc != null) { for (int uriCounter = 0; uriCounter < pdc.getCurrentSz(); uriCounter++) { diff --git a/cave/com.raytheon.uf.viz.core.feature/feature.xml b/cave/com.raytheon.uf.viz.core.feature/feature.xml index 84cec8a7a2..c9dbb8c5d6 100644 --- a/cave/com.raytheon.uf.viz.core.feature/feature.xml +++ b/cave/com.raytheon.uf.viz.core.feature/feature.xml @@ -68,13 +68,13 @@ version="0.0.0"/> @@ -133,7 +133,7 @@ download-size="0" install-size="0" version="0.0.0"/> - + + + + + + diff --git a/cave/com.raytheon.uf.viz.core/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.core/META-INF/MANIFEST.MF index 43d029ca97..a30602cc98 100644 --- a/cave/com.raytheon.uf.viz.core/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.core/META-INF/MANIFEST.MF @@ -86,3 +86,5 @@ Export-Package: com.raytheon.uf.viz.core, com.raytheon.viz.core.slice.request, com.raytheon.viz.core.units Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.viz.datacube diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/catalog/LayerProperty.java b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/catalog/LayerProperty.java index d9040730bb..9a2b525e9f 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/catalog/LayerProperty.java +++ b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/catalog/LayerProperty.java @@ -24,16 +24,19 @@ import java.util.Arrays; import java.util.HashMap; import java.util.Map; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.NoDataAvailableException; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.ResourceType; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** + * + * Deprecated: Use ThriftClient or DataCubeContainer instead. * * Stores the contents of a entry that will be used to create a layer within * CAVE. @@ -53,6 +56,7 @@ import com.raytheon.uf.viz.core.rsc.ResourceType; * @author brockwoo * @version 1.0 */ +@Deprecated public class LayerProperty { private static final String TIME_FIELD = "dataTime"; @@ -236,8 +240,12 @@ public class LayerProperty { } private void requestEntryTimes(BinOffset binOffset) throws VizException { - this.entryTimes = DataCubeContainer.performTimeQuery( - entryQueryParameters, false, binOffset); + try { + this.entryTimes = DataCubeContainer.performTimeQuery( + entryQueryParameters, false, binOffset); + } catch (DataCubeException e) { + throw new VizException(e); + } if (this.entryTimes == null) { throw new NoDataAvailableException(); diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/AbstractRequestableResourceData.java b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/AbstractRequestableResourceData.java index 07c8762be9..8b487d0e9e 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/AbstractRequestableResourceData.java +++ b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/AbstractRequestableResourceData.java @@ -37,6 +37,7 @@ import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; import org.apache.commons.lang.Validate; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataplugin.annotations.DataURIUtil; @@ -52,13 +53,13 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.RecordFactory; import com.raytheon.uf.viz.core.alerts.AbstractAlertMessageParser; import com.raytheon.uf.viz.core.alerts.AlertMessage; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.drawables.IDescriptor; import com.raytheon.uf.viz.core.exception.NoDataAvailableException; import com.raytheon.uf.viz.core.exception.NoMatchingTimesException; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; import com.raytheon.uf.viz.core.rsc.IResourceDataChanged.ChangeType; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Provides a base implementation for data types that are requestable from the @@ -543,8 +544,13 @@ public abstract class AbstractRequestableResourceData extends } List slice = selectedEntryTimes.subList(start, end); - PluginDataObject[] pdos = DataCubeContainer.getData( - getMetadataMap(), slice.toArray(new DataTime[0])); + PluginDataObject[] pdos; + try { + pdos = DataCubeContainer.getData(getMetadataMap(), + slice.toArray(new DataTime[0])); + } catch (DataCubeException e) { + throw new VizException(e); + } responses.addAll(Arrays.asList(pdos)); } @@ -597,8 +603,12 @@ public abstract class AbstractRequestableResourceData extends Map constraintMap, BinOffset binOffset) throws VizException { Validate.notNull(constraintMap); - return DataCubeContainer.performTimeQuery(constraintMap, false, - binOffset); + try { + return DataCubeContainer.performTimeQuery(constraintMap, false, + binOffset); + } catch (DataCubeException e) { + throw new VizException(e); + } } /** diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/ResourceCatalog.java b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/ResourceCatalog.java index aab670da78..0698c519c7 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/ResourceCatalog.java +++ b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/ResourceCatalog.java @@ -27,9 +27,9 @@ import java.util.Set; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.viz.core.VizApp; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.rsc.AbstractVizResource.ResourceStatus; import com.raytheon.uf.viz.core.rsc.updater.DataUpdateTree; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Manages a catalog of resource utilization diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/URICatalog.java b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/URICatalog.java index c197b9489a..5055d5b624 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/URICatalog.java +++ b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/rsc/URICatalog.java @@ -31,15 +31,16 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.DecisionTree; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.URICatalog.IURIRefreshCallback; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * @@ -301,7 +302,12 @@ public class URICatalog extends DecisionTree> { private void doCallbacks(Map map, List runnable) throws VizException { - DataTime[] dt = DataCubeContainer.performTimeQuery(map, true); + DataTime[] dt; + try { + dt = DataCubeContainer.performTimeQuery(map, true); + } catch (DataCubeException e) { + throw new VizException(e); + } DataTime newDataTime = null; if (dt != null && dt.length > 0) { newDataTime = dt[dt.length - 1]; diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/tile/RecordTileSetRenderable.java b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/tile/RecordTileSetRenderable.java index c6e4e9c952..33e05741f4 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/tile/RecordTileSetRenderable.java +++ b/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/tile/RecordTileSetRenderable.java @@ -36,13 +36,13 @@ import org.opengis.coverage.grid.GridEnvelope; import com.raytheon.uf.common.colormap.image.ColorMapData; import com.raytheon.uf.common.colormap.prefs.ColorMapParameters; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.geospatial.ISpatialObject; import com.raytheon.uf.common.geospatial.MapUtil; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.viz.core.DrawableImage; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.IGraphicsTarget.RasterMode; import com.raytheon.uf.viz.core.IMesh; diff --git a/cave/com.raytheon.uf.viz.cwat/src/com/raytheon/uf/viz/cwat/CWATResourceData.java b/cave/com.raytheon.uf.viz.cwat/src/com/raytheon/uf/viz/cwat/CWATResourceData.java index 2f095f7b24..a23de24820 100644 --- a/cave/com.raytheon.uf.viz.cwat/src/com/raytheon/uf/viz/cwat/CWATResourceData.java +++ b/cave/com.raytheon.uf.viz.cwat/src/com/raytheon/uf/viz/cwat/CWATResourceData.java @@ -27,12 +27,12 @@ import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.cwat.CWATRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; import com.raytheon.uf.viz.core.rsc.AbstractVizResource; diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.d2d.xy.adapters/META-INF/MANIFEST.MF index 21fd8fcd28..f919588be3 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/META-INF/MANIFEST.MF @@ -24,8 +24,11 @@ Require-Bundle: com.raytheon.uf.viz.core;bundle-version="1.14.0", com.raytheon.uf.common.style, com.raytheon.uf.common.comm, javax.measure, - org.eclipse.swt;bundle-version="3.8.0" -Import-Package: com.raytheon.viz.core.map + org.eclipse.swt;bundle-version="3.8.0", + com.raytheon.uf.viz.datacube;bundle-version="1.14.0" +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.viz.datacube, + com.raytheon.viz.core.map Export-Package: com.raytheon.uf.viz.d2d.xy.adapters.crosssection, com.raytheon.uf.viz.d2d.xy.adapters.timeseries, com.raytheon.uf.viz.d2d.xy.adapters.varheight diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/GridCSAdapter.java b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/GridCSAdapter.java index bd265171b0..30dd7928ab 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/GridCSAdapter.java +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/GridCSAdapter.java @@ -35,6 +35,7 @@ import org.geotools.coverage.grid.GridGeometry2D; import org.geotools.geometry.DirectPosition2D; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.level.Level; @@ -46,8 +47,8 @@ import com.raytheon.uf.common.geospatial.MapUtil; import com.raytheon.uf.common.geospatial.PointUtil; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.xy.InterpUtils; import com.raytheon.uf.viz.xy.crosssection.adapter.AbstractCrossSectionAdapter; import com.raytheon.uf.viz.xy.crosssection.display.CrossSectionDescriptor; @@ -196,7 +197,12 @@ public class GridCSAdapter extends AbstractCrossSectionAdapter { if (request == null) { continue; } - DataCubeContainer.getDataRecords(entry.getValue(), request, null); + try { + DataCubeContainer.getDataRecords(entry.getValue(), request, + null); + } catch (DataCubeException e) { + throw new VizException(e); + } } Coordinate[] coordinates = GeoUtil.splitLine(nx, @@ -363,8 +369,12 @@ public class GridCSAdapter extends AbstractCrossSectionAdapter { new RequestConstraint(descriptor.getHeightScale() .getParameter())); - PluginDataObject[] pdos = DataCubeContainer.getData(metadataMap, - time); + PluginDataObject[] pdos; + try { + pdos = DataCubeContainer.getData(metadataMap, time); + } catch (DataCubeException e) { + throw new VizException(e); + } yRecords = new HashSet(pdos.length); for (PluginDataObject pdo : pdos) { yRecords.add((GridRecord) pdo); diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/PointCSAdapter.java b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/PointCSAdapter.java index 40aaaa2ca0..df5e90cb6b 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/PointCSAdapter.java +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/crosssection/PointCSAdapter.java @@ -30,6 +30,7 @@ import javax.measure.unit.Unit; import org.geotools.coverage.grid.GridGeometry2D; import org.geotools.referencing.GeodeticCalculator; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; @@ -39,10 +40,10 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.DataTime.FLAG; import com.raytheon.uf.common.time.TimeRange; import com.raytheon.uf.common.time.util.TimeUtil; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.interp.IInterpolation; import com.raytheon.uf.viz.core.interp.InterpolationRequest; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.xy.InterpUtils; import com.raytheon.uf.viz.xy.crosssection.adapter.AbstractCrossSectionAdapter; import com.raytheon.uf.viz.xy.crosssection.graph.CrossSectionGraph; @@ -126,9 +127,15 @@ public class PointCSAdapter extends new RequestConstraint(TimeUtil .formatToSqlTimestamp(currentTime.getRefTime()))); } - PointDataContainer pdc = DataCubeContainer.getPointData(records.get(0) - .getPluginName(), new String[] { parameter, "stationId", - heightScale.getParameter() }, constraints); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData( + records.get(0).getPluginName(), new String[] { parameter, + "stationId", heightScale.getParameter() }, + constraints); + } catch (DataCubeException e) { + throw new VizException(e); + } unit = pdc.getDescription(parameter).getUnitObject(); Unit dataYUnit = pdc.getDescription(heightScale.getParameter()) .getUnitObject(); diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/GridTimeSeriesAdapter.java b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/GridTimeSeriesAdapter.java index 5b0bba4aca..3293753111 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/GridTimeSeriesAdapter.java +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/GridTimeSeriesAdapter.java @@ -30,6 +30,7 @@ import java.util.WeakHashMap; import javax.measure.unit.Unit; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.grid.util.GridLevelTranslator; @@ -46,10 +47,10 @@ import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.style.level.SingleLevel; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.CubeUtil; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.DisplayType; +import com.raytheon.uf.viz.datacube.CubeUtil; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.xy.timeseries.adapter.AbstractTimeSeriesAdapter; import com.raytheon.viz.core.graphing.xy.XYData; import com.raytheon.viz.core.graphing.xy.XYDataList; @@ -288,7 +289,12 @@ public class GridTimeSeriesAdapter extends for (GridRecord rec : gribs) { IDataRecord[] records = cache.get(rec); if (records == null) { - records = DataCubeContainer.getDataRecord(rec, request, null); + try { + records = DataCubeContainer.getDataRecord(rec, request, + null); + } catch (DataCubeException e) { + throw new VizException(e); + } cache.put(rec, records); } diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/PointDataTimeSeriesAdapter.java b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/PointDataTimeSeriesAdapter.java index 03443fa3ec..0fdfb7d020 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/PointDataTimeSeriesAdapter.java +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/timeseries/PointDataTimeSeriesAdapter.java @@ -35,6 +35,7 @@ import org.geotools.coverage.grid.GridGeometry2D; import org.geotools.geometry.GeneralEnvelope; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMapping; @@ -51,9 +52,9 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.DataTime.FLAG; import com.raytheon.uf.common.time.TimeRange; import com.raytheon.uf.common.time.util.TimeUtil; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.DisplayType; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.objectiveanalysis.rsc.OAGridTransformer; import com.raytheon.uf.viz.xy.timeseries.adapter.AbstractTimeSeriesAdapter; import com.raytheon.viz.core.graphing.xy.XYData; @@ -149,9 +150,14 @@ public class PointDataTimeSeriesAdapter extends PointDataConstants.DATASET_FORECASTHR, parameter }; } - PointDataContainer pdc = DataCubeContainer.getPointData( - recordsToLoad[0].getPluginName(), parameters, - resourceData.getLevelKey(), constraints); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData( + recordsToLoad[0].getPluginName(), parameters, + resourceData.getLevelKey(), constraints); + } catch (DataCubeException e) { + throw new VizException(e); + } boolean isWind = pdc.getParameters().contains(parameter + "[1]"); boolean isIcon = displayType == DisplayType.ICON; diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/GridVarHeightAdapter.java b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/GridVarHeightAdapter.java index 5f9ecab1ac..351a332306 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/GridVarHeightAdapter.java +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/GridVarHeightAdapter.java @@ -33,6 +33,7 @@ import javax.measure.unit.Unit; import org.geotools.geometry.DirectPosition2D; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.level.Level; @@ -46,8 +47,8 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.xy.InterpUtils; import com.raytheon.uf.viz.xy.varheight.adapter.AbstractVarHeightAdapter; import com.raytheon.viz.core.graphing.xy.XYData; @@ -227,7 +228,12 @@ public class GridVarHeightAdapter extends AbstractVarHeightAdapter { if (request == null) { continue; } - DataCubeContainer.getDataRecords(entry.getValue(), request, null); + try { + DataCubeContainer.getDataRecords(entry.getValue(), request, + null); + } catch (DataCubeException e) { + throw new VizException(e); + } } @@ -383,8 +389,13 @@ public class GridVarHeightAdapter extends AbstractVarHeightAdapter { metadataMap.put(GridInventory.PARAMETER_QUERY, new RequestConstraint(heightScale.getParameter())); - PluginDataObject[] pdos = DataCubeContainer.getData(metadataMap, - times.toArray(new DataTime[0])); + PluginDataObject[] pdos; + try { + pdos = DataCubeContainer.getData(metadataMap, + times.toArray(new DataTime[0])); + } catch (DataCubeException e) { + throw new VizException(e); + } for (PluginDataObject pdo : pdos) { GridRecord gRecord = (GridRecord) pdo; Set recordSet = yRecordMap.get(gRecord diff --git a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/PointDataVarHeightAdapter.java b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/PointDataVarHeightAdapter.java index d06e727fb7..141c05268e 100644 --- a/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/PointDataVarHeightAdapter.java +++ b/cave/com.raytheon.uf.viz.d2d.xy.adapters/src/com/raytheon/uf/viz/d2d/xy/adapters/varheight/PointDataVarHeightAdapter.java @@ -26,6 +26,7 @@ import java.util.Map; import javax.measure.unit.Unit; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; @@ -35,9 +36,9 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.DataTime.FLAG; import com.raytheon.uf.common.time.TimeRange; import com.raytheon.uf.common.time.util.TimeUtil; -import com.raytheon.uf.viz.core.datastructure.CubeUtil; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.CubeUtil; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.xy.varheight.adapter.AbstractVarHeightAdapter; import com.raytheon.viz.core.graphing.xy.XYData; import com.raytheon.viz.core.graphing.xy.XYWindImageData; @@ -135,9 +136,15 @@ public class PointDataVarHeightAdapter extends .formatToSqlTimestamp(currentTime.getRefTime()))); } String parameter = resourceData.getParameter(); - PointDataContainer pdc = DataCubeContainer.getPointData(records - .iterator().next().getPluginName(), new String[] { parameter, - heightScale.getParameter() }, constraints); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData(records.iterator().next() + .getPluginName(), + new String[] { parameter, heightScale.getParameter() }, + constraints); + } catch (DataCubeException e) { + throw new VizException(e); + } xUnit = pdc.getDescription(parameter).getUnitObject(); yUnit = pdc.getDescription(heightScale.getParameter()).getUnitObject(); for (int uriCounter = 0; uriCounter < pdc.getAllocatedSz(); uriCounter++) { diff --git a/cave/com.raytheon.uf.viz.derivparam/.classpath b/cave/com.raytheon.uf.viz.datacube/.classpath similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/.classpath rename to cave/com.raytheon.uf.viz.datacube/.classpath diff --git a/cave/com.raytheon.uf.viz.derivparam/.project b/cave/com.raytheon.uf.viz.datacube/.project similarity index 93% rename from cave/com.raytheon.uf.viz.derivparam/.project rename to cave/com.raytheon.uf.viz.datacube/.project index e683354abe..0cd0165e12 100644 --- a/cave/com.raytheon.uf.viz.derivparam/.project +++ b/cave/com.raytheon.uf.viz.datacube/.project @@ -1,6 +1,6 @@ - com.raytheon.uf.viz.derivparam + com.raytheon.uf.viz.datacube diff --git a/cave/com.raytheon.uf.viz.derivparam/.settings/org.eclipse.jdt.core.prefs b/cave/com.raytheon.uf.viz.datacube/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/.settings/org.eclipse.jdt.core.prefs rename to cave/com.raytheon.uf.viz.datacube/.settings/org.eclipse.jdt.core.prefs diff --git a/cave/com.raytheon.uf.viz.datacube/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.datacube/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..b9bfc13f17 --- /dev/null +++ b/cave/com.raytheon.uf.viz.datacube/META-INF/MANIFEST.MF @@ -0,0 +1,19 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Derived Parameter Plug-in +Bundle-SymbolicName: com.raytheon.uf.viz.datacube;singleton:=true +Bundle-Version: 1.14.0.qualifier +Bundle-Vendor: RAYTHEON +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Bundle-ActivationPolicy: lazy +Require-Bundle: com.raytheon.uf.common.derivparam, + com.raytheon.uf.common.serialization.comm;bundle-version="1.12.1174", + com.raytheon.uf.common.inventory;bundle-version="1.14.0", + com.raytheon.uf.common.time;bundle-version="1.12.1174", + com.raytheon.uf.common.dataplugin;bundle-version="1.12.1174", + com.raytheon.uf.common.dataquery;bundle-version="1.0.0", + com.raytheon.uf.common.datastorage;bundle-version="1.12.1174", + com.raytheon.uf.common.pointdata;bundle-version="1.13.0", + com.raytheon.uf.common.geospatial;bundle-version="1.14.0", + com.raytheon.uf.common.status;bundle-version="1.12.1174" +Export-Package: com.raytheon.uf.viz.datacube diff --git a/cave/com.raytheon.uf.viz.datacube/build.properties b/cave/com.raytheon.uf.viz.datacube/build.properties new file mode 100644 index 0000000000..5791d48d5f --- /dev/null +++ b/cave/com.raytheon.uf.viz.datacube/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + res/ diff --git a/cave/com.raytheon.uf.viz.derivparam/com.raytheon.uf.viz.derivparam.ecl b/cave/com.raytheon.uf.viz.datacube/com.raytheon.uf.viz.derivparam.ecl similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/com.raytheon.uf.viz.derivparam.ecl rename to cave/com.raytheon.uf.viz.datacube/com.raytheon.uf.viz.derivparam.ecl diff --git a/cave/com.raytheon.uf.viz.datacube/res/spring/default-datacube-spring.xml b/cave/com.raytheon.uf.viz.datacube/res/spring/default-datacube-spring.xml new file mode 100644 index 0000000000..7f5c7c4ca3 --- /dev/null +++ b/cave/com.raytheon.uf.viz.datacube/res/spring/default-datacube-spring.xml @@ -0,0 +1,9 @@ + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AbstractDataCubeAdapter.java b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/AbstractDataCubeAdapter.java similarity index 92% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AbstractDataCubeAdapter.java rename to cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/AbstractDataCubeAdapter.java index 629e97a791..604e0fdd41 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AbstractDataCubeAdapter.java +++ b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/AbstractDataCubeAdapter.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.viz.datacube; import java.util.ArrayList; import java.util.Arrays; @@ -28,6 +28,10 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.DbQueryRequestSet; @@ -37,15 +41,10 @@ import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; import com.raytheon.uf.common.dataquery.responses.DbQueryResponseSet; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.inv.MetadataContainer; import com.raytheon.uf.common.serialization.comm.RequestRouter; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DefaultDataCubeAdapter; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.MetadataContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; /** * Abstract data cube adapter for standard data type that uses derived @@ -98,7 +97,7 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { */ @Override public List> timeQuery(List requests) - throws VizException { + throws DataCubeException { List containers = new ArrayList( requests.size()); List> requestLists = new ArrayList>( @@ -131,7 +130,7 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { responseSet = (DbQueryResponseSet) RequestRouter .route(requestSet); } catch (Exception e) { - throw new VizException(e); + throw new DataCubeException(e); } responses = responseSet.getResults(); } @@ -192,7 +191,7 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { @Override public PluginDataObject[] getData( Map constraints, DataTime[] selectedTimes) - throws VizException { + throws DataCubeException { List requests = evaluateRequestConstraints(new HashMap( constraints)); Set availability = null; @@ -240,7 +239,7 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { */ @Override public IDataRecord[] getRecord(PluginDataObject obj) - throws VizDataCubeException { + throws DataCubeException { return getRecord(obj, Request.ALL, null); } @@ -254,7 +253,7 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { */ @Override public IDataRecord[] getRecord(PluginDataObject obj, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { getRecords(Arrays.asList(obj), req, dataset); IDataRecord[] result = (IDataRecord[]) obj.getMessageData(); obj.setMessageData(null); @@ -276,7 +275,7 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { * @return */ protected abstract List timeAgnosticQuery( - Map queryTerms) throws VizException; + Map queryTerms) throws DataCubeException; /** * @param requesters @@ -285,5 +284,5 @@ public abstract class AbstractDataCubeAdapter extends DefaultDataCubeAdapter { protected abstract List getData( Map constraints, DataTime[] selectedTimes, List requesters) - throws VizException; + throws DataCubeException; } diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/CubeUtil.java b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/CubeUtil.java similarity index 91% rename from cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/CubeUtil.java rename to cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/CubeUtil.java index 7a8369caa4..ccb6455184 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/CubeUtil.java +++ b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/CubeUtil.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.core.datastructure; +package com.raytheon.uf.viz.datacube; import java.awt.Point; import java.io.File; @@ -27,6 +27,8 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; @@ -36,10 +38,6 @@ import com.raytheon.uf.common.geospatial.ISpatialEnabled; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.Activator; -import com.raytheon.uf.viz.core.HDF5Util; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.core.status.StatusConstants; /** * Utilities for the data cube @@ -95,12 +93,12 @@ public class CubeUtil { * @throws VizException */ public static IDataRecord retrieveData(PluginDataObject record, String type) - throws VizException { + throws DataCubeException { return retrieveData(record, type, Request.ALL, null); } public static IDataRecord retrieveData(PluginDataObject record, - String type, Request req, String dataset) throws VizException { + String type, Request req, String dataset) throws DataCubeException { IDataRecord dr = null; try { String fileName = getFilename(record, type); @@ -112,7 +110,7 @@ public class CubeUtil { IDataStore ds = DataStoreFactory.getDataStore(new File(fileName)); dr = ds.retrieve("", group + "/" + dataset, req); } catch (Exception e) { - throw new VizException("Error retrieving data for record.", e); + throw new DataCubeException("Error retrieving data for record.", e); } return dr; @@ -135,9 +133,9 @@ public class CubeUtil { records[i].setMessageData(recs[0]); } } - } catch (VizDataCubeException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, - "Error retrieving data", new VizException( + "Error retrieving data", new DataCubeException( "Error retrieving data for record: " + records[i].getDataURI(), e)); } @@ -158,7 +156,7 @@ public class CubeUtil { * @throws VizException */ public static float[] retrieveData(PluginDataObject[] record, int x, int y) - throws VizException { + throws DataCubeException { retrieveData(record); float[] endResult = new float[record.length]; for (int i = 0; i < record.length; i++) { @@ -192,7 +190,7 @@ public class CubeUtil { * @throws VizException */ public static float[] retrieveData(PluginDataObject[] record, - List coords) throws VizException { + List coords) throws DataCubeException { retrieveData(record); float[] endResult = new float[record.length * coords.size()]; @@ -221,7 +219,7 @@ public class CubeUtil { public static float[] efficientRetirevePoint(PluginDataObject[] objects, Point point, List newOrderedObjects) - throws VizException { + throws DataCubeException { float[] rval = new float[objects.length]; Map> fileMap = new HashMap>(); @@ -259,7 +257,8 @@ public class CubeUtil { rval[index] = data[0]; } } catch (Exception e) { - throw new VizException("Error retrieving data for record.", e); + throw new DataCubeException( + "Error retrieving data for record.", e); } } @@ -268,7 +267,7 @@ public class CubeUtil { } public static float[][] efficientRetireve(PluginDataObject[] objects, - List newOrderedObjects) throws VizException { + List newOrderedObjects) throws DataCubeException { float[][] rval = new float[objects.length][]; Map> fileMap = new HashMap>(); @@ -305,7 +304,8 @@ public class CubeUtil { rval[index] = data; } } catch (Exception e) { - throw new VizException("Error retrieving data for record.", e); + throw new DataCubeException( + "Error retrieving data for record.", e); } } @@ -314,7 +314,7 @@ public class CubeUtil { } public static List retrieveData(List objects) - throws VizException { + throws DataCubeException { Map> fileMap = new HashMap>(); for (PluginDataObject pdo : objects) { String file = getFilename(pdo, pdo.getPluginName()); @@ -347,7 +347,8 @@ public class CubeUtil { records[objects.indexOf(objs.get(i))] = dr[i]; } } catch (Exception e) { - throw new VizException("Error retrieving data for record.", e); + throw new DataCubeException( + "Error retrieving data for record.", e); } } diff --git a/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DataCubeAdapters.java b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DataCubeAdapters.java new file mode 100644 index 0000000000..d950098138 --- /dev/null +++ b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DataCubeAdapters.java @@ -0,0 +1,150 @@ +/** + * This software was developed and / or modified by Raytheon Company, + * pursuant to Contract DG133W-05-CQ-1067 with the US Government. + * + * U.S. EXPORT CONTROLLED TECHNICAL DATA + * This software product contains export-restricted data whose + * export/transfer/disclosure is restricted by U.S. law. Dissemination + * to non-U.S. persons whether in the United States or abroad requires + * an export license or other authorization. + * + * Contractor Name: Raytheon Company + * Contractor Address: 6825 Pine Street, Suite 340 + * Mail Stop B8 + * Omaha, NE 68106 + * 402.291.0100 + * + * See the AWIPS II Master Rights File ("Master Rights File.pdf") for + * further licensing information. + **/ +package com.raytheon.uf.viz.datacube; + +import java.util.HashMap; +import java.util.Map; + +import com.raytheon.uf.common.status.IUFStatusHandler; +import com.raytheon.uf.common.status.UFStatus; +import com.raytheon.uf.common.status.UFStatus.Priority; + +/** + * Contains a registry of IDataCubeAdapter instances and provides the interface + * for registering new adapters + * + *
+ * 
+ * SOFTWARE HISTORY
+ * 
+ * Date         Ticket#    Engineer    Description
+ * ------------ ---------- ----------- --------------------------
+ * Apr 1, 2014            ekladstrup     Initial creation
+ * 
+ * 
+ * + * @author ekladstrup + * @version 1.0 + */ + +public class DataCubeAdapters { + + private static final transient IUFStatusHandler statusHandler = UFStatus + .getHandler(DataCubeAdapters.class); + + protected Map adapters = new HashMap(); + + protected Map initializedMap = new HashMap(); + + protected static DataCubeAdapters instance = new DataCubeAdapters(); + + /** + * Get singleton instance + * + * @return + */ + public static DataCubeAdapters getInstance() { + return instance; + } + + /** + * Internal constructor, use getInstance() + */ + protected DataCubeAdapters() { + + } + + /** + * Add an adapter to the list of known adapters + * + * @param adapter + * @return the same adapter + */ + public IDataCubeAdapter registerAdapter(IDataCubeAdapter adapter) { + synchronized (adapters) { + String[] supportedPlugins = adapter.getSupportedPlugins(); + for (String plugin : supportedPlugins) { + IDataCubeAdapter registeredAdapter = adapters.get(plugin); + if (registeredAdapter != null) { + statusHandler.handle(Priority.PROBLEM, + "Already registered " + + registeredAdapter.getClass() + .getCanonicalName() + + " IDataCubeAdapter for plugin \"" + + plugin + "\" ignoring " + + adapter.getClass().getCanonicalName()); + } else { + adapters.put(plugin, adapter); + statusHandler + .handle(Priority.VERBOSE, "Registered " + + adapter.getClass().getCanonicalName() + + " IDataCubeAdapter for plugin \"" + + plugin + "\""); + } + } + } + synchronized (initializedMap) { + initializedMap.put(adapter, false); + } + return adapter; + } + + /** + * Initialize the adapters inventory if it has not already, return true if + * the inventory was initialized + * + * @param adapter + * @return true if the adapter was initialized false if it was not ( or is + * unknown to this service ) + */ + public boolean initIfNeeded(IDataCubeAdapter adapter) { + boolean wasInitialized = false; + + if (adapter != null) { + synchronized (adapter) { + Boolean initialized = initializedMap.get(adapter); + if (initialized == null || !initialized) { + adapter.initInventory(); + initializedMap.put(adapter, true); + wasInitialized = true; + } + } + } + + return wasInitialized; + } + + /** + * Search for an adapter for a given plugin + * + * @param plugin + * @return the first adapter that supports the plugin, null if none are + * found + */ + public IDataCubeAdapter getAdapterForPlugin(String plugin) { + IDataCubeAdapter result = null; + + synchronized (adapters) { + result = adapters.get(plugin); + } + + return result; + } +} diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/DataCubeContainer.java b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DataCubeContainer.java similarity index 85% rename from cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/DataCubeContainer.java rename to cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DataCubeContainer.java index 5efaea01d1..fed7817833 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/DataCubeContainer.java +++ b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DataCubeContainer.java @@ -17,19 +17,18 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.core.datastructure; +package com.raytheon.uf.viz.datacube; import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; -import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; -import java.util.ServiceLoader; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; @@ -40,7 +39,6 @@ import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; /** * The DataCubeContainer is responsible for handling requests for data times, @@ -63,21 +61,6 @@ import com.raytheon.uf.viz.core.exception.VizException; */ public class DataCubeContainer { - static List adapters = new ArrayList(); - - private static Map initializedMap = new HashMap(); - - static { - Iterator itr = ServiceLoader.load( - IDataCubeAdapter.class, - DataCubeContainer.class.getClassLoader()).iterator(); - while (itr.hasNext()) { - IDataCubeAdapter adapter = itr.next(); - adapters.add(adapter); - initializedMap.put(adapter, false); - } - } - private static Map containers = new HashMap(); private IDataCubeAdapter adapter; @@ -95,13 +78,7 @@ public class DataCubeContainer { } if (container.adapter != null) { - synchronized (container.adapter) { - Boolean initialized = initializedMap.get(container.adapter); - if (initialized == null || !initialized) { - container.adapter.initInventory(); - initializedMap.put(container.adapter, true); - } - } + DataCubeAdapters.getInstance().initIfNeeded(container.adapter); } return container; @@ -109,14 +86,8 @@ public class DataCubeContainer { private DataCubeContainer(String plugin) { this.pluginName = plugin; - for (IDataCubeAdapter adapter : adapters) { - for (String p : adapter.getSupportedPlugins()) { - if (p.equals(plugin)) { - this.adapter = adapter; - break; - } - } - } + this.adapter = DataCubeAdapters.getInstance().getAdapterForPlugin( + plugin); if (adapter == null) { // Construct default adapter for plugin if none found adapter = new DefaultDataCubeAdapter(plugin); @@ -136,7 +107,7 @@ public class DataCubeContainer { * @throws VizDataCubeException */ public static IDataRecord[] getDataRecord(PluginDataObject obj) - throws VizDataCubeException { + throws DataCubeException { return getInstance(obj.getPluginName()).adapter.getRecord(obj); } @@ -155,7 +126,7 @@ public class DataCubeContainer { * @throws VizDataCubeException */ public static IDataRecord[] getDataRecord(PluginDataObject obj, - Request req, String dataset) throws VizDataCubeException { + Request req, String dataset) throws DataCubeException { return getInstance(obj.getPluginName()).adapter.getRecord(obj, req, dataset); } @@ -172,7 +143,7 @@ public class DataCubeContainer { * @throws VizDataCubeException */ public static void getDataRecords(List objs, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { if (objs == null || objs.isEmpty()) { return; } @@ -192,14 +163,14 @@ public class DataCubeContainer { public static PointDataContainer getPointData(String plugin, String[] params, Map map) - throws VizException { + throws DataCubeException { DataCubeContainer container = getInstance(plugin); return container.adapter.getPoints(container.pluginName, params, map); } public static PointDataContainer getPointData(String plugin, String[] params, String levelKey, Map map) - throws VizException { + throws DataCubeException { DataCubeContainer container = getInstance(plugin); if (levelKey == null) { return getPointData(container.pluginName, params, map); @@ -210,7 +181,7 @@ public class DataCubeContainer { public static DataTime[] performTimeQuery( Map queryParams, boolean latestOnly) - throws VizException { + throws DataCubeException { return performTimeQuery(queryParams, latestOnly, null); } @@ -226,7 +197,7 @@ public class DataCubeContainer { */ public static DataTime[] performTimeQuery( Map queryParams, boolean latestOnly, - BinOffset binOffset) throws VizException { + BinOffset binOffset) throws DataCubeException { TimeQueryRequest request = new TimeQueryRequest(); request.setQueryTerms(queryParams); request.setBinOffset(binOffset); @@ -249,7 +220,7 @@ public class DataCubeContainer { * @return */ public static List> performTimeQueries(String pluginName, - List requests) throws VizException { + List requests) throws DataCubeException { if (requests.isEmpty()) { return Collections.emptyList(); } @@ -264,7 +235,7 @@ public class DataCubeContainer { * @return */ public static List> performTimeQueries(String pluginName, - TimeQueryRequest... requests) throws VizException { + TimeQueryRequest... requests) throws DataCubeException { return getInstance(pluginName).adapter.timeQuery(Arrays .asList(requests)); } @@ -278,7 +249,7 @@ public class DataCubeContainer { * @return */ public static List> performTimeQueries( - TimeQueryRequest... requests) throws VizException { + TimeQueryRequest... requests) throws DataCubeException { return performTimeQueries(Arrays.asList(requests)); } @@ -291,7 +262,7 @@ public class DataCubeContainer { * @return */ public static List> performTimeQueries( - List requests) throws VizException { + List requests) throws DataCubeException { Map> requestMap = new HashMap>(); for (TimeQueryRequest request : requests) { String pluginName = request.getPluginName(); @@ -330,7 +301,8 @@ public class DataCubeContainer { * @throws VizException */ public static PluginDataObject[] getData( - Map constraints) throws VizException { + Map constraints) + throws DataCubeException { return getData(constraints, (DataTime[]) null); } @@ -344,7 +316,7 @@ public class DataCubeContainer { */ public static PluginDataObject[] getData( Map constraints, DataTime time) - throws VizException { + throws DataCubeException { return getData(constraints, time != null ? new DataTime[] { time } : null); } @@ -359,7 +331,7 @@ public class DataCubeContainer { */ public static PluginDataObject[] getData( Map constraints, DataTime[] times) - throws VizException { + throws DataCubeException { String pluginName = constraints.get(PluginDataObject.PLUGIN_NAME_ID) .getConstraintValue(); return getInstance(pluginName).adapter.getData(constraints, times); diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/DefaultDataCubeAdapter.java b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DefaultDataCubeAdapter.java similarity index 83% rename from cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/DefaultDataCubeAdapter.java rename to cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DefaultDataCubeAdapter.java index 166ef36e6a..12118390c0 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/DefaultDataCubeAdapter.java +++ b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/DefaultDataCubeAdapter.java @@ -17,12 +17,13 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.core.datastructure; +package com.raytheon.uf.viz.datacube; import java.util.ArrayList; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; @@ -33,9 +34,8 @@ import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.pointdata.PointDataContainer; +import com.raytheon.uf.common.serialization.comm.RequestRouter; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.core.requests.ThriftClient; /** * Default implementation of IDataCubeAdapter, function implementations were @@ -82,15 +82,19 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { * com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter#timeQuery(java * .util.List) */ + @SuppressWarnings("unchecked") @Override public List> timeQuery(List requests) - throws VizException { + throws DataCubeException { TimeQueryRequestSet set = new TimeQueryRequestSet(); set.setRequests(requests.toArray(new TimeQueryRequest[0])); - @SuppressWarnings("unchecked") - List> result = (List>) ThriftClient - .sendRequest(set); + List> result; + try { + result = (List>) RequestRouter.route(set); + } catch (Exception e) { + throw new DataCubeException(e); + } return result; } @@ -103,7 +107,8 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { */ @Override public PointDataContainer getPoints(String plugin, String[] parameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { return null; } @@ -117,7 +122,7 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { @Override public PointDataContainer getPoints(String plugin, String[] parameters, String levelKey, Map queryParams) - throws VizException { + throws DataCubeException { return null; } @@ -130,14 +135,9 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { */ @Override public IDataRecord[] getRecord(PluginDataObject obj) - throws VizDataCubeException { + throws DataCubeException { IDataRecord record = null; - try { - record = CubeUtil.retrieveData(obj, pluginName); - } catch (VizException e) { - throw new VizDataCubeException("Error retrieving 2D data record.", - e); - } + record = CubeUtil.retrieveData(obj, pluginName); return new IDataRecord[] { record }; } @@ -151,14 +151,9 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { */ @Override public IDataRecord[] getRecord(PluginDataObject obj, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { IDataRecord record = null; - try { - record = CubeUtil.retrieveData(obj, pluginName, req, dataset); - } catch (VizException e) { - throw new VizDataCubeException("Error retrieving 2D data record.", - e); - } + record = CubeUtil.retrieveData(obj, pluginName, req, dataset); return new IDataRecord[] { record }; } @@ -171,15 +166,10 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { */ @Override public void getRecords(List objs, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { for (PluginDataObject obj : objs) { IDataRecord record = null; - try { - record = CubeUtil.retrieveData(obj, pluginName, req, dataset); - } catch (VizException e) { - throw new VizDataCubeException( - "Error retrieving 2D grid record.", e); - } + record = CubeUtil.retrieveData(obj, pluginName, req, dataset); obj.setMessageData(record); } } @@ -194,7 +184,7 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { @Override public PluginDataObject[] getData( Map constraints, DataTime[] selectedTimes) - throws VizException { + throws DataCubeException { DbQueryRequest request = new DbQueryRequest(constraints); if (selectedTimes != null && selectedTimes.length > 0) { RequestConstraint timeConstraint = new RequestConstraint(); @@ -211,8 +201,12 @@ public class DefaultDataCubeAdapter implements IDataCubeAdapter { } request.addConstraint(PluginDataObject.DATATIME_ID, timeConstraint); } - DbQueryResponse response = (DbQueryResponse) ThriftClient - .sendRequest(request); + DbQueryResponse response; + try { + response = (DbQueryResponse) RequestRouter.route(request); + } catch (Exception e) { + throw new DataCubeException("Server data request failed.", e); + } return response.getEntityObjects(PluginDataObject.class); } diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/IDataCubeAdapter.java b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/IDataCubeAdapter.java similarity index 92% rename from cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/IDataCubeAdapter.java rename to cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/IDataCubeAdapter.java index 8348c61f6e..dcd9f8a53c 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/datastructure/IDataCubeAdapter.java +++ b/cave/com.raytheon.uf.viz.datacube/src/com/raytheon/uf/viz/datacube/IDataCubeAdapter.java @@ -17,11 +17,12 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.core.datastructure; +package com.raytheon.uf.viz.datacube; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.TimeQueryRequest; @@ -29,7 +30,6 @@ import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; /** * The IDataCubeAdapter interface allows a class, once it implements this @@ -72,7 +72,7 @@ public interface IDataCubeAdapter { * @return */ public List> timeQuery(List requests) - throws VizException; + throws DataCubeException; /** * Returns a point data container which contains the parameters specified. @@ -88,7 +88,8 @@ public interface IDataCubeAdapter { * @throws VizException */ public PointDataContainer getPoints(String plugin, String[] parameters, - Map queryParams) throws VizException; + Map queryParams) + throws DataCubeException; /** * Returns a point data container which contains the parameters specified. @@ -107,7 +108,7 @@ public interface IDataCubeAdapter { */ public PointDataContainer getPoints(String plugin, String[] parameters, String levelKey, Map queryParams) - throws VizException; + throws DataCubeException; /** * A call to getRecord will perform the specified derived parameter @@ -121,13 +122,13 @@ public interface IDataCubeAdapter { * @throws VizDataCubeException */ public IDataRecord[] getRecord(PluginDataObject obj) - throws VizDataCubeException; + throws DataCubeException; public IDataRecord[] getRecord(PluginDataObject obj, Request req, - String dataset) throws VizDataCubeException; + String dataset) throws DataCubeException; public void getRecords(List objs, Request req, - String dataset) throws VizDataCubeException; + String dataset) throws DataCubeException; /** * Builds an array of {@link PluginDataObject}s for the specified metadata @@ -143,7 +144,7 @@ public interface IDataCubeAdapter { */ public PluginDataObject[] getData( Map constraints, DataTime[] selectedTimes) - throws VizException; + throws DataCubeException; /** * If the inventory for a particular data type is large (for example, Grib), diff --git a/cave/com.raytheon.uf.viz.derivparam.ui/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.derivparam.ui/META-INF/MANIFEST.MF index edc27aded8..6815064c39 100644 --- a/cave/com.raytheon.uf.viz.derivparam.ui/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.derivparam.ui/META-INF/MANIFEST.MF @@ -8,11 +8,10 @@ Bundle-Vendor: RAYTHEON Require-Bundle: org.eclipse.core.runtime, org.eclipse.ui;bundle-version="3.6.1", com.raytheon.uf.viz.core;bundle-version="1.12.1174", - com.raytheon.uf.viz.derivparam;bundle-version="1.12.1174", - com.raytheon.uf.common.derivparam;bundle-version="1.12.1174", com.raytheon.uf.viz.localization;bundle-version="1.12.1174", com.raytheon.viz.ui;bundle-version="1.12.1174", javax.measure;bundle-version="1.0.0", - com.raytheon.uf.common.util;bundle-version="1.12.1174" + com.raytheon.uf.common.util;bundle-version="1.12.1174", + com.raytheon.uf.common.derivparam;bundle-version="1.14.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy diff --git a/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewDefinitionPage.java b/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewDefinitionPage.java index 61a6273335..a9152d8a35 100644 --- a/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewDefinitionPage.java +++ b/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewDefinitionPage.java @@ -41,16 +41,16 @@ import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; import org.eclipse.swt.widgets.Text; +import com.raytheon.uf.common.derivparam.library.DerivParamConstantField; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.IDerivParamField; import com.raytheon.uf.common.serialization.JAXBManager; import com.raytheon.uf.common.serialization.adapters.UnitAdapter; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.derivparam.library.DerivParamConstantField; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.IDerivParamField; import com.raytheon.viz.ui.dialogs.CaveSWTDialog; import com.raytheon.viz.ui.dialogs.CaveSWTWizardPage; diff --git a/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewFunctionPage.java b/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewFunctionPage.java index bb55ecf341..66d589da67 100644 --- a/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewFunctionPage.java +++ b/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamNewFunctionPage.java @@ -41,9 +41,9 @@ import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; import org.eclipse.swt.widgets.Text; -import com.raytheon.uf.viz.derivparam.DerivParamFunctionType; -import com.raytheon.uf.viz.derivparam.DerivParamFunctionType.FunctionArgument; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.DerivParamFunctionType; +import com.raytheon.uf.common.derivparam.DerivParamFunctionType.FunctionArgument; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.viz.ui.dialogs.CaveSWTDialog; import com.raytheon.viz.ui.dialogs.CaveSWTWizardPage; diff --git a/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamWizard.java b/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamWizard.java index 04aeb1124b..0c70175d33 100644 --- a/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamWizard.java +++ b/cave/com.raytheon.uf.viz.derivparam.ui/src/com/raytheon/uf/viz/derivparam/ui/dialogs/DerivedParamWizard.java @@ -21,6 +21,7 @@ package com.raytheon.uf.viz.derivparam.ui.dialogs; import java.io.File; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.localization.IPathManager; import com.raytheon.uf.common.localization.LocalizationContext; import com.raytheon.uf.common.localization.LocalizationContext.LocalizationLevel; @@ -31,7 +32,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.util.FileUtil; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.viz.localization.LocalizationPerspectiveUtils; import com.raytheon.uf.viz.localization.service.ILocalizationService; import com.raytheon.viz.ui.dialogs.CaveSWTWizard; @@ -95,7 +95,7 @@ public class DerivedParamWizard extends CaveSWTWizard { public boolean performFinish() { IPathManager pm = PathManagerFactory.getPathManager(); LocalizationContext userCtx = pm.getContext( - LocalizationType.CAVE_STATIC, LocalizationLevel.USER); + LocalizationType.COMMON_STATIC, LocalizationLevel.USER); String functionContents = newFunctionPage.createFunction(); LocalizationFile functionFile = null, definitionFile = null; if (functionContents != null) { diff --git a/cave/com.raytheon.uf.viz.derivparam/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.derivparam/META-INF/MANIFEST.MF deleted file mode 100644 index 03491ae63c..0000000000 --- a/cave/com.raytheon.uf.viz.derivparam/META-INF/MANIFEST.MF +++ /dev/null @@ -1,26 +0,0 @@ -Manifest-Version: 1.0 -Bundle-ManifestVersion: 2 -Bundle-Name: Derived Parameter Plug-in -Bundle-SymbolicName: com.raytheon.uf.viz.derivparam;singleton:=true -Bundle-Version: 1.14.0.qualifier -Bundle-Vendor: RAYTHEON -Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Bundle-ActivationPolicy: lazy -Require-Bundle: com.raytheon.uf.common.derivparam, - com.raytheon.uf.common.time, - com.raytheon.uf.common.dataplugin.level, - com.raytheon.uf.common.geospatial, - com.raytheon.uf.common.dataplugin, - com.raytheon.uf.common.datastorage, - com.raytheon.uf.common.pointdata;bundle-version="1.13.0", - com.raytheon.uf.viz.core;bundle-version="1.13.0", - com.raytheon.uf.common.util, - com.raytheon.uf.common.comm, - org.eclipse.core.runtime;bundle-version="3.8.0", - org.eclipse.ui.workbench;bundle-version="3.8.0", - javax.measure -Export-Package: com.raytheon.uf.viz.derivparam, - com.raytheon.uf.viz.derivparam.data, - com.raytheon.uf.viz.derivparam.inv, - com.raytheon.uf.viz.derivparam.library, - com.raytheon.uf.viz.derivparam.tree diff --git a/cave/com.raytheon.uf.viz.derivparam/build.properties b/cave/com.raytheon.uf.viz.derivparam/build.properties deleted file mode 100644 index 73cf567d29..0000000000 --- a/cave/com.raytheon.uf.viz.derivparam/build.properties +++ /dev/null @@ -1,7 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - schema/,\ - plugin.xml,\ - localization/ diff --git a/cave/com.raytheon.uf.viz.derivparam/plugin.xml b/cave/com.raytheon.uf.viz.derivparam/plugin.xml deleted file mode 100644 index 7f3d6f747b..0000000000 --- a/cave/com.raytheon.uf.viz.derivparam/plugin.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/FFMPMonitor.java b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/FFMPMonitor.java index 7d9332ce12..3e56c1a329 100644 --- a/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/FFMPMonitor.java +++ b/cave/com.raytheon.uf.viz.monitor.ffmp/src/com/raytheon/uf/viz/monitor/ffmp/FFMPMonitor.java @@ -24,6 +24,7 @@ import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.ui.PlatformUI; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.ffmp.FFMPAggregateRecord; import com.raytheon.uf.common.dataplugin.ffmp.FFMPBasin; import com.raytheon.uf.common.dataplugin.ffmp.FFMPBasinData; @@ -53,7 +54,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.util.TimeUtil; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.VizApp; import com.raytheon.uf.viz.core.catalog.DirectDbQuery; import com.raytheon.uf.viz.core.catalog.DirectDbQuery.QueryLanguage; diff --git a/cave/com.raytheon.uf.viz.monitor.fog/src/com/raytheon/uf/viz/monitor/fog/ui/resource/FogResourceData.java b/cave/com.raytheon.uf.viz.monitor.fog/src/com/raytheon/uf/viz/monitor/fog/ui/resource/FogResourceData.java index 342c11d514..c5f35775f9 100644 --- a/cave/com.raytheon.uf.viz.monitor.fog/src/com/raytheon/uf/viz/monitor/fog/ui/resource/FogResourceData.java +++ b/cave/com.raytheon.uf.viz.monitor.fog/src/com/raytheon/uf/viz/monitor/fog/ui/resource/FogResourceData.java @@ -28,6 +28,7 @@ import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.fog.FogRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; @@ -35,7 +36,6 @@ import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.comm.Loader; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; diff --git a/cave/com.raytheon.uf.viz.monitor.safeseas/src/com/raytheon/uf/viz/monitor/safeseas/resources/SafeSeasResourceData.java b/cave/com.raytheon.uf.viz.monitor.safeseas/src/com/raytheon/uf/viz/monitor/safeseas/resources/SafeSeasResourceData.java index 3a99f433eb..9ba761fddd 100644 --- a/cave/com.raytheon.uf.viz.monitor.safeseas/src/com/raytheon/uf/viz/monitor/safeseas/resources/SafeSeasResourceData.java +++ b/cave/com.raytheon.uf.viz.monitor.safeseas/src/com/raytheon/uf/viz/monitor/safeseas/resources/SafeSeasResourceData.java @@ -27,6 +27,7 @@ import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.fog.FogRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; @@ -34,7 +35,6 @@ import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; import com.raytheon.uf.viz.core.rsc.AbstractVizResource; diff --git a/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/ScanMonitor.java b/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/ScanMonitor.java index ce7581875c..814202a4d9 100644 --- a/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/ScanMonitor.java +++ b/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/ScanMonitor.java @@ -42,6 +42,7 @@ import org.eclipse.swt.graphics.Color; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.scan.ScanRecord; import com.raytheon.uf.common.dataplugin.scan.data.CellTableDataRow; import com.raytheon.uf.common.dataplugin.scan.data.DMDTableDataRow; @@ -71,7 +72,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.VizApp; import com.raytheon.uf.viz.core.catalog.DirectDbQuery; import com.raytheon.uf.viz.core.catalog.DirectDbQuery.QueryLanguage; diff --git a/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/resource/ScanResourceData.java b/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/resource/ScanResourceData.java index 862cf478f0..4e1d8a4694 100644 --- a/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/resource/ScanResourceData.java +++ b/cave/com.raytheon.uf.viz.monitor.scan/src/com/raytheon/uf/viz/monitor/scan/resource/ScanResourceData.java @@ -35,6 +35,7 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.scan.ScanRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; @@ -44,7 +45,6 @@ import com.raytheon.uf.common.datastorage.records.ByteDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.monitor.scan.config.SCANConfigEnums.ScanTables; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; import com.raytheon.uf.viz.core.rsc.AbstractVizResource; diff --git a/cave/com.raytheon.uf.viz.monitor/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.monitor/META-INF/MANIFEST.MF index 15cc4f1de4..5105c66534 100644 --- a/cave/com.raytheon.uf.viz.monitor/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.monitor/META-INF/MANIFEST.MF @@ -27,7 +27,8 @@ Export-Package: com.raytheon.uf.viz.monitor, com.raytheon.uf.viz.monitor.ui.dialogs, com.raytheon.uf.viz.monitor.util, com.raytheon.uf.viz.monitor.xml -Import-Package: com.raytheon.uf.common.dataplugin.fssobs, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.dataplugin.fssobs, com.raytheon.uf.common.dataplugin.obs.metar, com.raytheon.uf.common.dataplugin.obs.metar.util, com.raytheon.uf.common.dataplugin.sfcobs, @@ -35,6 +36,7 @@ Import-Package: com.raytheon.uf.common.dataplugin.fssobs, com.raytheon.uf.common.pointdata, com.raytheon.uf.common.site, com.raytheon.uf.viz.alertviz, + com.raytheon.uf.viz.datacube, com.raytheon.uf.viz.monitor.data, com.raytheon.uf.viz.monitor.util, com.raytheon.viz.pointdata, diff --git a/cave/com.raytheon.uf.viz.monitor/src/com/raytheon/uf/viz/monitor/ObsMonitor.java b/cave/com.raytheon.uf.viz.monitor/src/com/raytheon/uf/viz/monitor/ObsMonitor.java index db32399705..960569b01d 100644 --- a/cave/com.raytheon.uf.viz.monitor/src/com/raytheon/uf/viz/monitor/ObsMonitor.java +++ b/cave/com.raytheon.uf.viz.monitor/src/com/raytheon/uf/viz/monitor/ObsMonitor.java @@ -27,6 +27,7 @@ import java.util.regex.Pattern; import org.eclipse.swt.widgets.Display; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.annotations.DataURIUtil; import com.raytheon.uf.common.dataplugin.fssobs.FSSObsRecord; @@ -38,10 +39,10 @@ import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.alerts.AlertMessage; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.localization.LocalizationManager; import com.raytheon.uf.viz.core.notification.NotificationMessage; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.monitor.data.MonitoringArea; import com.raytheon.uf.viz.monitor.data.ObReport; import com.raytheon.uf.viz.monitor.events.IMonitorConfigurationEvent; @@ -283,7 +284,7 @@ public abstract class ObsMonitor extends Monitor { } } } - } catch (final VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, "No data in database at startup. " + monitorUse); } @@ -296,10 +297,11 @@ public abstract class ObsMonitor extends Monitor { * @param times * @return FSSObsRecord[] * @throws VizException + * @throws DataCubeException */ private FSSObsRecord[] requestFSSObs( Map constraints, DataTime[] times) - throws VizException { + throws DataCubeException { if (times != null) { String[] timeStrs = new String[times.length]; for (int i = 0; i < times.length; ++i) { diff --git a/cave/com.raytheon.uf.viz.npp.viirs/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.npp.viirs/META-INF/MANIFEST.MF index 9a5c0d3a2f..244787887f 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.npp.viirs/META-INF/MANIFEST.MF @@ -20,14 +20,18 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.viz.productbrowser;bundle-version="1.12.1174", com.raytheon.uf.common.pointdata;bundle-version="1.12.1174", com.raytheon.viz.core;bundle-version="1.12.1174", - com.raytheon.uf.viz.derivparam;bundle-version="1.12.1174", - com.raytheon.uf.common.derivparam;bundle-version="1.12.1174", com.raytheon.uf.common.dataplugin.level;bundle-version="1.12.1174", com.raytheon.uf.common.comm;bundle-version="1.12.1174", com.raytheon.viz.alerts;bundle-version="1.12.1174", com.raytheon.uf.viz.npp;bundle-version="1.0.0", com.raytheon.uf.common.style;bundle-version="1.0.0", - com.raytheon.uf.common.numeric;bundle-version="1.14.0" + com.raytheon.uf.common.numeric;bundle-version="1.14.0", + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.uf.viz.npp.viirs.rsc +Import-Package: com.raytheon.uf.common.inventory.data, + com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.inventory, + com.raytheon.uf.common.inventory.tree diff --git a/cave/com.raytheon.uf.viz.npp.viirs/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.uf.viz.npp.viirs/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 9bf3ccea45..0000000000 --- a/cave/com.raytheon.uf.viz.npp.viirs/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.uf.viz.npp.viirs.data.VIIRSDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.npp.viirs/build.properties b/cave/com.raytheon.uf.viz.npp.viirs/build.properties index 6e2f847b66..847bfa511f 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/build.properties +++ b/cave/com.raytheon.uf.viz.npp.viirs/build.properties @@ -3,4 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - localization/ + localization/,\ + res/ diff --git a/cave/com.raytheon.uf.viz.npp.viirs/res/spring/viirs-datacube-spring.xml b/cave/com.raytheon.uf.viz.npp.viirs/res/spring/viirs-datacube-spring.xml new file mode 100644 index 0000000000..afc5e62b5e --- /dev/null +++ b/cave/com.raytheon.uf.viz.npp.viirs/res/spring/viirs-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataCubeAdapter.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataCubeAdapter.java index 285dbd6e96..a410a82070 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataCubeAdapter.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataCubeAdapter.java @@ -25,23 +25,22 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode.Dependency; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.npp.viirs.VIIRSDataRecord; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.CubeUtil; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractDataCubeAdapter; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode.Dependency; +import com.raytheon.uf.viz.datacube.AbstractDataCubeAdapter; +import com.raytheon.uf.viz.datacube.CubeUtil; import com.raytheon.uf.viz.npp.viirs.Activator; import com.raytheon.uf.viz.npp.viirs.data.VIIRSRequestableData.VIIRSRequest; @@ -113,41 +112,36 @@ public class VIIRSDataCubeAdapter extends AbstractDataCubeAdapter { */ @Override public IDataRecord[] getRecord(PluginDataObject pdo, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { if (dataset == null) { dataset = VIIRSDataRecord.getDataSet(0); } - try { - IDataRecord[] dataRecords = null; - if (pdo instanceof VIIRSRequestableDataRecord) { - VIIRSRequestableDataRecord vrdr = (VIIRSRequestableDataRecord) pdo; - // Put VIIRSSpatialCoverage from pdo in VIIRSRequest and make - // sure data records out of getData are in same coverage - VIIRSRequest request = new VIIRSRequest(req, dataset, - vrdr.getCoverage()); - AbstractRequestableData requestable = vrdr.getRequestableData(); - if (requestable instanceof VIIRSRequestableData) { - dataRecords = ((VIIRSRequestableData) requestable) - .getRawDataValue(request); - } else { - dataRecords = (IDataRecord[]) requestable - .getDataValue(request); - } - } else if (pdo instanceof VIIRSDataRecord) { - VIIRSDataRecord vdr = (VIIRSDataRecord) pdo; - VIIRSRequestableData requester = new VIIRSRequestableData(vdr, - inventory.getParameterLevel(vdr.getParameter())); - dataRecords = getRecord(new VIIRSRequestableDataRecord( - requester, Arrays.asList(vdr)), req, dataset); + + IDataRecord[] dataRecords = null; + if (pdo instanceof VIIRSRequestableDataRecord) { + VIIRSRequestableDataRecord vrdr = (VIIRSRequestableDataRecord) pdo; + // Put VIIRSSpatialCoverage from pdo in VIIRSRequest and make + // sure data records out of getData are in same coverage + VIIRSRequest request = new VIIRSRequest(req, dataset, + vrdr.getCoverage()); + AbstractRequestableData requestable = vrdr.getRequestableData(); + if (requestable instanceof VIIRSRequestableData) { + dataRecords = ((VIIRSRequestableData) requestable) + .getRawDataValue(request); } else { - dataRecords = new IDataRecord[] { CubeUtil.retrieveData(pdo, - pdo.getPluginName(), req, dataset) }; + dataRecords = (IDataRecord[]) requestable.getDataValue(request); } - return dataRecords; - } catch (VizException e) { - throw new VizDataCubeException("Error requesting viirs data: " - + e.getLocalizedMessage(), e); + } else if (pdo instanceof VIIRSDataRecord) { + VIIRSDataRecord vdr = (VIIRSDataRecord) pdo; + VIIRSRequestableData requester = new VIIRSRequestableData(vdr, + inventory.getParameterLevel(vdr.getParameter())); + dataRecords = getRecord(new VIIRSRequestableDataRecord(requester, + Arrays.asList(vdr)), req, dataset); + } else { + dataRecords = new IDataRecord[] { CubeUtil.retrieveData(pdo, + pdo.getPluginName(), req, dataset) }; } + return dataRecords; } /* @@ -159,7 +153,7 @@ public class VIIRSDataCubeAdapter extends AbstractDataCubeAdapter { */ @Override public void getRecords(List objs, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { // TODO: Need more advanced synchronizing for derived parameters for (PluginDataObject pdo : objs) { pdo.setMessageData(getRecord(pdo, req, dataset)); @@ -187,7 +181,7 @@ public class VIIRSDataCubeAdapter extends AbstractDataCubeAdapter { */ @Override protected List timeAgnosticQuery( - Map queryTerms) throws VizException { + Map queryTerms) throws DataCubeException { return inventory.timeAgnosticQuery(queryTerms); } @@ -202,7 +196,7 @@ public class VIIRSDataCubeAdapter extends AbstractDataCubeAdapter { protected List getData( Map constraints, DataTime[] selectedTimes, List requesters) - throws VizException { + throws DataCubeException { List results = new ArrayList( requesters.size()); for (AbstractRequestableData requester : requesters) { @@ -278,7 +272,8 @@ public class VIIRSDataCubeAdapter extends AbstractDataCubeAdapter { */ @Override public PointDataContainer getPoints(String plugin, String[] parameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { throw new UnsupportedOperationException( "getPoints is not supported by viirs"); } @@ -293,7 +288,7 @@ public class VIIRSDataCubeAdapter extends AbstractDataCubeAdapter { @Override public PointDataContainer getPoints(String plugin, String[] parameters, String levelKey, Map queryParams) - throws VizException { + throws DataCubeException { throw new UnsupportedOperationException( "getPoints is not supported by viirs"); } diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataInventory.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataInventory.java index 9784f2088a..445102994b 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataInventory.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDataInventory.java @@ -29,16 +29,24 @@ import java.util.Map; import java.util.Set; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.DataTree; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.ParameterNode; +import com.raytheon.uf.common.inventory.tree.SourceNode; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; -import com.raytheon.uf.common.derivparam.tree.DataTree; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.common.derivparam.tree.ParameterNode; -import com.raytheon.uf.common.derivparam.tree.SourceNode; +import com.raytheon.uf.common.derivparam.inv.AbstractInventory; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; @@ -46,13 +54,6 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.alerts.AlertMessage; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AbstractInventory; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; import com.raytheon.viz.alerts.IAlertObserver; import com.raytheon.viz.alerts.observers.ProductAlertObserver; @@ -376,7 +377,7 @@ public class VIIRSDataInventory extends AbstractInventory implements */ @Override public List timeAgnosticQuery(Map query) - throws VizException { + throws DataCubeException { return null; } diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDynamicParameters.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDynamicParameters.java index eba4c10f57..2713f975b1 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDynamicParameters.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSDynamicParameters.java @@ -29,10 +29,10 @@ import java.util.Stack; import java.util.regex.Matcher; import java.util.regex.Pattern; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod.MethodType; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod.MethodType; /** * Class for resolving viirs parameters dynamically. Parses parameter as diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableData.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableData.java index 999cb7a774..3ef18872ba 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableData.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableData.java @@ -30,6 +30,9 @@ import org.geotools.coverage.grid.GridEnvelope2D; import org.geotools.coverage.grid.GridGeometry2D; import org.opengis.geometry.Envelope; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.npp.viirs.VIIRSDataRecord; import com.raytheon.uf.common.dataplugin.npp.viirs.VIIRSSpatialCoverage; @@ -51,9 +54,7 @@ import com.raytheon.uf.common.numeric.filter.FillValueFilter; import com.raytheon.uf.common.numeric.filter.InverseFillValueFilter; import com.raytheon.uf.common.numeric.filter.UnsignedFilter; import com.raytheon.uf.common.numeric.source.DataSource; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; /** * Object capable of requesting VIIRS data for base or derived displays. Can @@ -122,7 +123,7 @@ public class VIIRSRequestableData extends AbstractRequestableData { * @throws VizException */ public IDataRecord[] getRawDataValue(VIIRSRequest request) - throws VizException { + throws DataCubeException { IDataStore store = DataStoreFactory.getDataStore(HDF5Util .findHDF5Location(dataRecord)); try { @@ -249,7 +250,7 @@ public class VIIRSRequestableData extends AbstractRequestableData { request.request) }; } } catch (Exception e) { - throw new VizException("Error retrieving viirs data: " + throw new DataCubeException("Error retrieving viirs data: " + e.getLocalizedMessage(), e); } } @@ -262,7 +263,7 @@ public class VIIRSRequestableData extends AbstractRequestableData { * (java.lang.Object) */ @Override - public IDataRecord[] getDataValue(Object arg) throws VizException { + public IDataRecord[] getDataValue(Object arg) throws DataCubeException { VIIRSRequest request = (VIIRSRequest) arg; // Get raw data IDataRecord[] records = getRawDataValue(request); diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableDataRecord.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableDataRecord.java index 33419d81ac..0da2468f2d 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableDataRecord.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableDataRecord.java @@ -21,9 +21,9 @@ package com.raytheon.uf.viz.npp.viirs.data; import java.util.Collection; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataplugin.npp.viirs.VIIRSDataRecord; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; /** * TODO Add Description diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableLevelNode.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableLevelNode.java index 72a23784ef..cf89e74010 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableLevelNode.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/data/VIIRSRequestableLevelNode.java @@ -25,15 +25,15 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.dataplugin.npp.viirs.VIIRSDataRecord; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; /** * VIIRS Requestable level node @@ -158,7 +158,7 @@ public class VIIRSRequestableLevelNode extends AbstractBaseDataNode { @Override public Set getAvailability( Map originalConstraints, Object response) - throws VizException { + throws DataCubeException { Set result = new HashSet(); DbQueryResponse dbresponse = (DbQueryResponse) response; for (Map map : dbresponse.getResults()) { @@ -180,7 +180,7 @@ public class VIIRSRequestableLevelNode extends AbstractBaseDataNode { public Set getData( Map orignalConstraints, Set availability, Object response) - throws VizException { + throws DataCubeException { DbQueryResponse queryResponse = (DbQueryResponse) response; List> results = queryResponse.getResults(); Set data = new HashSet( diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSDataCallback.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSDataCallback.java index b721603957..50c0bad26e 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSDataCallback.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSDataCallback.java @@ -32,8 +32,8 @@ import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.datastorage.records.ShortDataRecord; import com.raytheon.uf.viz.core.data.IColorMapDataRetrievalCallback; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * VIIRS Colormap data callback, requests data for VIIRSDataRecord diff --git a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSResource.java b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSResource.java index ee578cde12..414e5616fa 100644 --- a/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSResource.java +++ b/cave/com.raytheon.uf.viz.npp.viirs/src/com/raytheon/uf/viz/npp/viirs/rsc/VIIRSResource.java @@ -65,7 +65,6 @@ import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.IGraphicsTarget.RasterMode; import com.raytheon.uf.viz.core.IMesh; import com.raytheon.uf.viz.core.PixelCoverage; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.drawables.ColorMapLoader; import com.raytheon.uf.viz.core.drawables.IImage; import com.raytheon.uf.viz.core.drawables.PaintProperties; @@ -82,6 +81,7 @@ import com.raytheon.uf.viz.core.rsc.capabilities.ImagingCapability; import com.raytheon.uf.viz.core.tile.Tile; import com.raytheon.uf.viz.core.tile.TileSetRenderable; import com.raytheon.uf.viz.core.tile.TileSetRenderable.TileImageCreator; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.npp.viirs.Activator; import com.raytheon.uf.viz.npp.viirs.style.VIIRSDataRecordCriteria; import com.vividsolutions.jts.geom.Coordinate; diff --git a/cave/com.raytheon.uf.viz.npp/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.npp/META-INF/MANIFEST.MF index 1afd385fcb..62e7d5ffb5 100644 --- a/cave/com.raytheon.uf.viz.npp/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.npp/META-INF/MANIFEST.MF @@ -12,3 +12,5 @@ Require-Bundle: org.eclipse.core.runtime, Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.uf.viz.npp +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.viz.datacube diff --git a/cave/com.raytheon.uf.viz.npp/src/com/raytheon/uf/viz/npp/AbstractNppResourceData.java b/cave/com.raytheon.uf.viz.npp/src/com/raytheon/uf/viz/npp/AbstractNppResourceData.java index 4ac1d2c57c..eabbbec97c 100644 --- a/cave/com.raytheon.uf.viz.npp/src/com/raytheon/uf/viz/npp/AbstractNppResourceData.java +++ b/cave/com.raytheon.uf.viz.npp/src/com/raytheon/uf/viz/npp/AbstractNppResourceData.java @@ -33,14 +33,15 @@ import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.TimeRange; import com.raytheon.uf.common.time.util.TimeUtil; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Abstract resource data for all NPP data. Groups frame times close together @@ -104,7 +105,12 @@ public abstract class AbstractNppResourceData extends .getValidPeriod().getStart()), TimeUtil .formatToSqlTimestamp(last.getValidPeriod().getEnd()))); - PluginDataObject[] pdos = DataCubeContainer.getData(requestMap); + PluginDataObject[] pdos; + try { + pdos = DataCubeContainer.getData(requestMap); + } catch (DataCubeException e) { + throw new VizException(e); + } List finalList = new ArrayList( pdos != null ? pdos.length : 0); diff --git a/cave/com.raytheon.uf.viz.objectiveanalysis/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.objectiveanalysis/META-INF/MANIFEST.MF index c9585bddbd..dd11ae7bef 100644 --- a/cave/com.raytheon.uf.viz.objectiveanalysis/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.objectiveanalysis/META-INF/MANIFEST.MF @@ -24,15 +24,17 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.common.dataplugin.bufrua;bundle-version="1.11.17", com.raytheon.uf.common.dataplugin.level;bundle-version="1.12.1174", com.raytheon.uf.common.style;bundle-version="1.0.0", - com.raytheon.uf.common.numeric;bundle-version="1.14.0" + com.raytheon.uf.common.numeric;bundle-version="1.14.0", + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.uf.viz.objectiveanalysis.rsc Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.inventory.tree, com.raytheon.uf.common.dataplugin.radar, com.raytheon.uf.common.gridcoverage, com.raytheon.uf.common.wxmath, - com.raytheon.uf.viz.derivparam.library, - com.raytheon.uf.viz.derivparam.tree, com.raytheon.viz.ui, com.raytheon.viz.ui.editor diff --git a/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OAGridTransformer.java b/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OAGridTransformer.java index 5d80931da6..227ad55e45 100644 --- a/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OAGridTransformer.java +++ b/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OAGridTransformer.java @@ -32,6 +32,7 @@ import org.opengis.referencing.datum.PixelInCell; import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.TransformException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.geospatial.MapUtil; @@ -41,8 +42,8 @@ import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.util.GridUtil; import com.raytheon.uf.common.wxmath.DistFilter; import com.raytheon.uf.common.wxmath.ScalelessAnalysis; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Requests point data and performs objective analysis to map then data onto a @@ -115,8 +116,13 @@ public class OAGridTransformer { String[] parameters = { "latitude", "longitude", parameter }; - PointDataContainer pdc = DataCubeContainer.getPointData(pluginName, - parameters, levelKey, constraints); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData(pluginName, parameters, + levelKey, constraints); + } catch (DataCubeException e) { + throw new VizException(e); + } if (pdc == null) { return null; } diff --git a/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OATiltGridTransformer.java b/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OATiltGridTransformer.java index a75a5fc7a1..f270cd96ff 100644 --- a/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OATiltGridTransformer.java +++ b/cave/com.raytheon.uf.viz.objectiveanalysis/src/com/raytheon/uf/viz/objectiveanalysis/rsc/OATiltGridTransformer.java @@ -28,18 +28,19 @@ import org.geotools.coverage.grid.GeneralGridGeometry; import org.opengis.referencing.crs.CoordinateReferenceSystem; import org.opengis.referencing.operation.TransformException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.CubeLevel; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.util.GridUtil; import com.raytheon.uf.common.wxmath.DistFilter; import com.raytheon.uf.common.wxmath.ScalelessAnalysis; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.grid.util.TiltUtils; /** @@ -184,8 +185,13 @@ public class OATiltGridTransformer extends OAGridTransformer { 21); String[] parameters = { "latitude", "longitude", "P", parameter }; - PointDataContainer pdc = DataCubeContainer.getPointData(pluginName, - parameters, constraints); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData(pluginName, parameters, + constraints); + } catch (DataCubeException e1) { + throw new VizException(e1); + } if (pdc == null || pdc.getCurrentSz() < 1) { return null; diff --git a/cave/com.raytheon.uf.viz.preciprate/src/com/raytheon/uf/viz/preciprate/VizPrecipRateRadarRecord.java b/cave/com.raytheon.uf.viz.preciprate/src/com/raytheon/uf/viz/preciprate/VizPrecipRateRadarRecord.java index 6e1ce3604d..56876ed3d8 100644 --- a/cave/com.raytheon.uf.viz.preciprate/src/com/raytheon/uf/viz/preciprate/VizPrecipRateRadarRecord.java +++ b/cave/com.raytheon.uf.viz.preciprate/src/com/raytheon/uf/viz/preciprate/VizPrecipRateRadarRecord.java @@ -3,13 +3,13 @@ package com.raytheon.uf.viz.preciprate; import java.io.File; import java.util.Map; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.preciprate.PrecipRateRecord; import com.raytheon.uf.common.dataplugin.radar.RadarStoredData; import com.raytheon.uf.common.dataplugin.radar.util.RadarConstants.DHRValues; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.cache.CacheObject; import com.raytheon.uf.viz.core.cache.CacheObject.IObjectRetriever; import com.raytheon.viz.radar.VizRadarRecord; diff --git a/cave/com.raytheon.uf.viz.profiler/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.profiler/META-INF/MANIFEST.MF index ba7877121e..678076a3c4 100644 --- a/cave/com.raytheon.uf.viz.profiler/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.profiler/META-INF/MANIFEST.MF @@ -21,10 +21,12 @@ Require-Bundle: com.raytheon.uf.common.pointdata;bundle-version="1.11.9", com.raytheon.uf.common.colormap;bundle-version="1.11.4", com.raytheon.uf.viz.sounding;bundle-version="1.11.16", com.raytheon.uf.viz.xy, - com.raytheon.uf.common.sounding;bundle-version="1.0.0" + com.raytheon.uf.common.sounding;bundle-version="1.0.0", + com.raytheon.uf.viz.datacube Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.uf.viz.profiler, com.raytheon.uf.viz.profiler.ui -Import-Package: com.raytheon.uf.common.dataplugin.profiler, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.dataplugin.profiler, com.raytheon.uf.common.dataplugin.profiler.dao diff --git a/cave/com.raytheon.uf.viz.profiler/src/com/raytheon/uf/viz/profiler/ProfilerResourceData.java b/cave/com.raytheon.uf.viz.profiler/src/com/raytheon/uf/viz/profiler/ProfilerResourceData.java index 02c94cdf6d..92bf67e797 100644 --- a/cave/com.raytheon.uf.viz.profiler/src/com/raytheon/uf/viz/profiler/ProfilerResourceData.java +++ b/cave/com.raytheon.uf.viz.profiler/src/com/raytheon/uf/viz/profiler/ProfilerResourceData.java @@ -29,6 +29,7 @@ import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.profiler.ProfilerObs; import com.raytheon.uf.common.dataplugin.profiler.dao.ProfilerDataTransform; @@ -36,11 +37,11 @@ import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.alerts.AlertMessage; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; import com.raytheon.uf.viz.core.rsc.AbstractVizResource; import com.raytheon.uf.viz.core.rsc.LoadProperties; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * ProfilerResourceData @@ -91,9 +92,13 @@ public class ProfilerResourceData extends AbstractRequestableResourceData { getMetadataMap()); constraints.put(PluginDataObject.DATATIME_ID, new RequestConstraint( dataTimes)); - PointDataContainer pdc = DataCubeContainer.getPointData( - ProfilerObs.PLUGIN_NAME, ProfilerDataTransform.MAN_PARAMS, - constraints); + PointDataContainer pdc; + try { + pdc = DataCubeContainer.getPointData(ProfilerObs.PLUGIN_NAME, + ProfilerDataTransform.MAN_PARAMS, constraints); + } catch (DataCubeException e) { + throw new VizException(e); + } if (pdc != null) { return ProfilerDataTransform.toProfilerRecords(pdc); } diff --git a/cave/com.raytheon.uf.viz.qpf/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.qpf/META-INF/MANIFEST.MF index c3062e5a25..47cf0fc537 100644 --- a/cave/com.raytheon.uf.viz.qpf/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.qpf/META-INF/MANIFEST.MF @@ -18,8 +18,10 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.common.dataplugin.qpf;bundle-version="1.0.0", com.raytheon.uf.viz.productbrowser;bundle-version="1.12.1153", com.raytheon.uf.common.style;bundle-version="1.0.0", - com.raytheon.uf.common.numeric;bundle-version="1.14.0" + com.raytheon.uf.common.numeric;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.uf.viz.qpf -Import-Package: com.raytheon.uf.common.colormap.prefs +Import-Package: com.raytheon.uf.common.colormap.prefs, + com.raytheon.uf.common.inventory.exception diff --git a/cave/com.raytheon.uf.viz.qpf/src/com/raytheon/uf/viz/qpf/QPFResource.java b/cave/com.raytheon.uf.viz.qpf/src/com/raytheon/uf/viz/qpf/QPFResource.java index 3d10923d94..01cd57a1da 100644 --- a/cave/com.raytheon.uf.viz.qpf/src/com/raytheon/uf/viz/qpf/QPFResource.java +++ b/cave/com.raytheon.uf.viz.qpf/src/com/raytheon/uf/viz/qpf/QPFResource.java @@ -29,6 +29,7 @@ import java.util.List; import javax.measure.unit.Unit; import javax.measure.unit.UnitFormat; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.qpf.QPFRecord; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; @@ -36,10 +37,10 @@ import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.style.ParamLevelMatchCriteria; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.IGraphicsTarget; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.capabilities.DisplayTypeCapability; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.grid.rsc.general.AbstractGridResource; import com.raytheon.viz.grid.rsc.general.GeneralGridData; @@ -102,7 +103,12 @@ public class QPFResource extends AbstractGridResource { return Collections.emptyList(); } QPFRecord rec = (QPFRecord) pdos.get(0); - IDataRecord[] dataRecs = DataCubeContainer.getDataRecord(rec); + IDataRecord[] dataRecs; + try { + dataRecs = DataCubeContainer.getDataRecord(rec); + } catch (DataCubeException e) { + throw new VizException(e); + } FloatDataRecord fdr = (FloatDataRecord) dataRecs[0]; FloatBuffer data = FloatBuffer.wrap(fdr.getFloatData()); Unit unit = UnitFormat.getInstance().parseObject( diff --git a/cave/com.raytheon.uf.viz.radarapps.fsi/src/com/raytheon/uf/viz/radarapps/fsi/FSILauncherLayer.java b/cave/com.raytheon.uf.viz.radarapps.fsi/src/com/raytheon/uf/viz/radarapps/fsi/FSILauncherLayer.java index fb9647b41c..580287e24a 100644 --- a/cave/com.raytheon.uf.viz.radarapps.fsi/src/com/raytheon/uf/viz/radarapps/fsi/FSILauncherLayer.java +++ b/cave/com.raytheon.uf.viz.radarapps.fsi/src/com/raytheon/uf/viz/radarapps/fsi/FSILauncherLayer.java @@ -40,6 +40,7 @@ import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.Shell; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.util.RadarDataRetriever; import com.raytheon.uf.common.dataplugin.radar.util.TerminalRadarUtils; @@ -54,7 +55,6 @@ import com.raytheon.uf.common.message.response.ResponseMessageGeneric; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.catalog.DbQuery; import com.raytheon.uf.viz.core.comm.Connector; diff --git a/cave/com.raytheon.uf.viz.sounding/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.sounding/META-INF/MANIFEST.MF index 4d8b6270bb..42796d69d8 100644 --- a/cave/com.raytheon.uf.viz.sounding/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.sounding/META-INF/MANIFEST.MF @@ -20,3 +20,5 @@ Bundle-ActivationPolicy: lazy Eclipse-BuddyPolicy: registered Export-Package: com.raytheon.uf.viz.sounding, com.raytheon.uf.viz.sounding.providers +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.viz.datacube diff --git a/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/job/SoundingDataLoadJob.java b/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/job/SoundingDataLoadJob.java index e5507d3f15..a401eb12df 100644 --- a/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/job/SoundingDataLoadJob.java +++ b/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/job/SoundingDataLoadJob.java @@ -27,13 +27,13 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.sounding.VerticalSounding; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.sounding.Activator; /** @@ -127,7 +127,7 @@ public class SoundingDataLoadJob extends Job { size = data.length; pdo.setMessageData(data); } - } catch (VizException e) { + } catch (DataCubeException e) { e.printStackTrace(); } System.out.println("loadData: " + (System.currentTimeMillis() - t0)); diff --git a/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/BufruaSoundingProvider.java b/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/BufruaSoundingProvider.java index bfeb805065..269f189010 100644 --- a/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/BufruaSoundingProvider.java +++ b/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/BufruaSoundingProvider.java @@ -27,6 +27,7 @@ import java.util.Map; import org.geotools.geometry.jts.JTS; import org.opengis.referencing.operation.TransformException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.bufrua.UAObs; import com.raytheon.uf.common.dataplugin.bufrua.UAObsAdapter; @@ -41,9 +42,9 @@ import com.raytheon.uf.common.sounding.adapter.IVerticalSoundingProvider; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.sounding.Activator; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Envelope; @@ -109,7 +110,7 @@ public class BufruaSoundingProvider extends UAObs.PLUGIN_NAME, BufrUAPointDataTransform.MAN_PARAMS, constraints); return BufrUAPointDataTransform.toUAObsRecords(pdc); - } catch (VizException e) { + } catch (DataCubeException e) { throw new RuntimeException("Error querying for sounding records: " + constraints, e); } diff --git a/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/GridSoundingProvider.java b/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/GridSoundingProvider.java index 632294a128..7b55f14a4e 100644 --- a/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/GridSoundingProvider.java +++ b/cave/com.raytheon.uf.viz.sounding/src/com/raytheon/uf/viz/sounding/providers/GridSoundingProvider.java @@ -29,6 +29,7 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.grid.GridRecord; @@ -47,9 +48,7 @@ import com.raytheon.uf.common.sounding.VerticalSounding; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; -import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.core.map.GeoUtil; import com.vividsolutions.jts.geom.Coordinate; @@ -106,7 +105,7 @@ public class GridSoundingProvider extends try { DataCubeContainer.getDataRecords(Arrays.asList(records), Request.ALL, null); - } catch (VizDataCubeException e) { + } catch (DataCubeException e) { UFStatus.getHandler().handle(Priority.PROBLEM, "Error requesting model data for sounding", e); } @@ -188,7 +187,7 @@ public class GridSoundingProvider extends Coordinate location) { try { return DataCubeContainer.getData(constraints, time); - } catch (VizException e) { + } catch (DataCubeException e) { throw new RuntimeException("Error querying for sounding records: " + constraints, e); } diff --git a/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/Activator.java b/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/Activator.java index 1cbdc5b975..a6b8a6047a 100644 --- a/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/Activator.java +++ b/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/Activator.java @@ -3,6 +3,7 @@ package com.raytheon.uf.viz.spring.dm; import java.io.IOException; import java.net.URL; import java.util.ArrayList; +import java.util.Collection; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; @@ -17,7 +18,6 @@ import org.eclipse.core.runtime.Platform; import org.osgi.framework.Bundle; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; -import org.osgi.framework.Constants; /** * @@ -100,6 +100,7 @@ public class Activator implements BundleActivator { Map bundles, Map contextMap, Bundle bundle, Set processing) { + BundleResolver bundleResolver = new BundleResolver(); String bundleName = bundle.getSymbolicName(); OSGIXmlApplicationContext appCtx = contextMap.get(bundleName); if (contextMap.containsKey(bundleName) == false @@ -129,27 +130,16 @@ public class Activator implements BundleActivator { } if (files.size() > 0) { // Files found, check for dependencies - String requiredBundlesHeader = (String) bundle.getHeaders() - .get(Constants.REQUIRE_BUNDLE); - // Split comma separated string from MANIFEST - String[] requiredBundles = COMMA_SPLIT - .split(requiredBundlesHeader); + Collection requiredBundles = bundleResolver + .getRequiredBundles(bundle); List parentContexts = new ArrayList(); - for (String requiredBndl : requiredBundles) { - // Extract bundle name which is first item in - // semicolon - // split list - String[] bndlParts = SEMICOLON_SPLIT - .split(requiredBndl); - Bundle reqBndl = bundles.get(bndlParts[0]); - if (reqBndl != null) { - // Found bundle, process context for bundle - OSGIXmlApplicationContext parent = createContext( - bundles, contextMap, reqBndl, processing); - if (parent != null) { - // Context found, add to list - parentContexts.add(parent); - } + for (Bundle requiredBundle : requiredBundles) { + // Found bundle, process context for bundle + OSGIXmlApplicationContext parent = createContext( + bundles, contextMap, requiredBundle, processing); + if (parent != null) { + // Context found, add to list + parentContexts.add(parent); } } diff --git a/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/BundleResolver.java b/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/BundleResolver.java new file mode 100644 index 0000000000..cf38ae1134 --- /dev/null +++ b/cave/com.raytheon.uf.viz.spring.dm/src/com/raytheon/uf/viz/spring/dm/BundleResolver.java @@ -0,0 +1,91 @@ +/** + * This software was developed and / or modified by Raytheon Company, + * pursuant to Contract DG133W-05-CQ-1067 with the US Government. + * + * U.S. EXPORT CONTROLLED TECHNICAL DATA + * This software product contains export-restricted data whose + * export/transfer/disclosure is restricted by U.S. law. Dissemination + * to non-U.S. persons whether in the United States or abroad requires + * an export license or other authorization. + * + * Contractor Name: Raytheon Company + * Contractor Address: 6825 Pine Street, Suite 340 + * Mail Stop B8 + * Omaha, NE 68106 + * 402.291.0100 + * + * See the AWIPS II Master Rights File ("Master Rights File.pdf") for + * further licensing information. + **/ +package com.raytheon.uf.viz.spring.dm; + +import java.util.Collection; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; + +import org.osgi.framework.Bundle; +import org.osgi.framework.namespace.BundleNamespace; +import org.osgi.framework.namespace.PackageNamespace; +import org.osgi.framework.wiring.BundleWire; +import org.osgi.framework.wiring.BundleWiring; + +/** + * Resolve required bundles. Adapted from + * com.raytheon.uf.viz.core.reflect.SubClassLocator + * + *
+ * 
+ * SOFTWARE HISTORY
+ * 
+ * Date         Ticket#    Engineer    Description
+ * ------------ ---------- ----------- --------------------------
+ * Apr 3, 2014            ekladstrup     Initial creation
+ * 
+ * 
+ * + * @author ekladstrup + * @version 1.0 + */ +public class BundleResolver { + + protected final Map> requiredBundles = new HashMap>(); + + public BundleResolver() { + + } + + /** + * Get back all the bundles this bundle depends on. + * + * @param bundle + * the bundle + * @return bundles required by bundle. + */ + public Collection getRequiredBundles(Bundle bundle) { + String bundleName = bundle.getSymbolicName(); + Collection required = requiredBundles.get(bundleName); + if (required == null) { + required = new HashSet(); + BundleWiring bundleWiring = bundle.adapt(BundleWiring.class); + if (bundleWiring != null) { + /* Get Required bundles */ + for (BundleWire bw : bundleWiring + .getRequiredWires(BundleNamespace.BUNDLE_NAMESPACE)) { + required.add(bw.getProviderWiring().getBundle()); + } + /* Get Bundles through import package */ + for (BundleWire bw : bundleWiring + .getRequiredWires(PackageNamespace.PACKAGE_NAMESPACE)) { + required.add(bw.getProviderWiring().getBundle()); + } + } + /* Avoid recursion */ + required.remove(bundle); + requiredBundles.put(bundleName, required); + + } + return required; + } + +} diff --git a/cave/com.raytheon.uf.viz.thinclient.cave/META-INF/MANIFEST.MF b/cave/com.raytheon.uf.viz.thinclient.cave/META-INF/MANIFEST.MF index 7510bc3505..ebfa2f5b61 100644 --- a/cave/com.raytheon.uf.viz.thinclient.cave/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.uf.viz.thinclient.cave/META-INF/MANIFEST.MF @@ -16,8 +16,10 @@ Require-Bundle: com.raytheon.uf.viz.core, com.raytheon.uf.viz.thinclient;bundle-version="1.0.0", com.raytheon.viz.grid;bundle-version="1.12.1174" Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.inventory.exception, com.raytheon.uf.common.datastorage, com.raytheon.uf.viz.core.maps.rsc, + com.raytheon.uf.viz.datacube, com.vividsolutions.jts.geom, com.vividsolutions.jts.index.strtree, com.vividsolutions.jts.io, diff --git a/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientDataUpdateTree.java b/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientDataUpdateTree.java index 6a0ad5bd3d..fc92f9b3a0 100644 --- a/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientDataUpdateTree.java +++ b/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientDataUpdateTree.java @@ -28,6 +28,7 @@ import java.util.Map; import java.util.Set; import java.util.TimeZone; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; @@ -40,12 +41,12 @@ import com.raytheon.uf.common.time.msgs.GetServerTimeRequest; import com.raytheon.uf.common.time.msgs.GetServerTimeResponse; import com.raytheon.uf.viz.core.RecordFactory; import com.raytheon.uf.viz.core.alerts.AlertMessage; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; import com.raytheon.uf.viz.core.rsc.AbstractResourceData; import com.raytheon.uf.viz.core.rsc.updater.DataUpdateTree; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.grid.inv.RadarUpdater; import com.raytheon.viz.grid.util.RadarAdapter; @@ -119,6 +120,9 @@ public class ThinClientDataUpdateTree extends DataUpdateTree { } catch (VizException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); + } catch (DataCubeException e) { + statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), + e); } } getRadarUpdates(time, messages); @@ -157,6 +161,8 @@ public class ThinClientDataUpdateTree extends DataUpdateTree { } } catch (VizException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); + } catch (DataCubeException e) { + statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } } diff --git a/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientURICatalog.java b/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientURICatalog.java index 69d9961b26..6b0d9975cf 100644 --- a/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientURICatalog.java +++ b/cave/com.raytheon.uf.viz.thinclient.cave/src/com/raytheon/uf/viz/thinclient/cave/refresh/ThinClientURICatalog.java @@ -29,15 +29,15 @@ import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.util.IPropertyChangeListener; import org.eclipse.jface.util.PropertyChangeEvent; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.dataquery.requests.TimeQueryRequest; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.URICatalog; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.thinclient.Activator; import com.raytheon.uf.viz.thinclient.preferences.ThinClientPreferenceConstants; @@ -158,7 +158,7 @@ public class ThinClientURICatalog extends URICatalog implements try { times = DataCubeContainer.performTimeQueries(entry.getKey(), requestList); - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.error("Error getting menu green times", e); continue; } diff --git a/cave/com.raytheon.uf.viz.vil/src/com/raytheon/uf/viz/vil/VILResourceData.java b/cave/com.raytheon.uf.viz.vil/src/com/raytheon/uf/viz/vil/VILResourceData.java index ac9ca555f8..a3ae789ac0 100644 --- a/cave/com.raytheon.uf.viz.vil/src/com/raytheon/uf/viz/vil/VILResourceData.java +++ b/cave/com.raytheon.uf.viz.vil/src/com/raytheon/uf/viz/vil/VILResourceData.java @@ -26,12 +26,12 @@ import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.vil.VILRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractRequestableResourceData; import com.raytheon.uf.viz.core.rsc.AbstractVizResource; diff --git a/cave/com.raytheon.viz.aviation/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.aviation/META-INF/MANIFEST.MF index da05b17e42..4dc0011135 100644 --- a/cave/com.raytheon.viz.aviation/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.aviation/META-INF/MANIFEST.MF @@ -26,7 +26,8 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.viz.application;bundle-version="1.0.0", com.raytheon.uf.common.tafqueue;bundle-version="1.0.0", org.apache.commons.lang;bundle-version="2.3.0", - com.raytheon.uf.common.auth;bundle-version="1.12.1174" + com.raytheon.uf.common.auth;bundle-version="1.12.1174", + com.raytheon.uf.viz.datacube Bundle-ActivationPolicy: lazy Eclipse-RegisterBuddy: com.raytheon.uf.common.serialization Export-Package: com.raytheon.viz.aviation, @@ -41,6 +42,7 @@ Export-Package: com.raytheon.viz.aviation, com.raytheon.viz.aviation.xml Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Import-Package: com.raytheon.edex.plugin.bufrmos.common, + com.raytheon.uf.common.inventory.exception, com.raytheon.uf.common.dataplugin.acarssounding, com.raytheon.uf.common.dataplugin.gfe.point, com.raytheon.uf.common.dataplugin.gfe.request, diff --git a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/AviationDialog.java b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/AviationDialog.java index d094bcfa47..d0a5047f57 100644 --- a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/AviationDialog.java +++ b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/AviationDialog.java @@ -54,8 +54,8 @@ import com.raytheon.uf.common.localization.PathManagerFactory; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.localization.LocalizationManager; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.aviation.climatology.ClimateMenuDlg; import com.raytheon.viz.aviation.model.ForecastModel; import com.raytheon.viz.aviation.observer.TafMonitorDlg; diff --git a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LlwsManager.java b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LlwsManager.java index da7e8f7807..38f0b5004a 100644 --- a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LlwsManager.java +++ b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LlwsManager.java @@ -25,6 +25,7 @@ import java.util.Collections; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.acarssounding.ACARSSoundingRecord; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.util.RadarConstants; @@ -32,7 +33,6 @@ import com.raytheon.uf.common.dataplugin.radar.util.RadarConstants.MapValues; import com.raytheon.uf.common.dataplugin.radar.util.RadarDataRetriever; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; -import com.raytheon.uf.viz.core.HDF5Util; /** * TODO Add Description diff --git a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LtgDataMgr.java b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LtgDataMgr.java index 4fddab771c..69ff3ceed2 100644 --- a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LtgDataMgr.java +++ b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/LtgDataMgr.java @@ -28,6 +28,7 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.binlightning.BinLightningRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; @@ -38,7 +39,6 @@ import com.raytheon.uf.common.datastorage.records.LongDataRecord; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.viz.avnconfig.ITafSiteConfig; import com.raytheon.viz.avnconfig.TafSiteConfigFactory; import com.raytheon.viz.avnconfig.TafSiteData; diff --git a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/MonitorDataUtil.java b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/MonitorDataUtil.java index b2fc7318e3..fbe8e104f7 100644 --- a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/MonitorDataUtil.java +++ b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/MonitorDataUtil.java @@ -29,6 +29,7 @@ import java.util.Map; import java.util.TimeZone; import com.raytheon.edex.plugin.ccfp.CcfpRecord; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.acarssounding.ACARSSoundingRecord; import com.raytheon.uf.common.dataplugin.binlightning.BinLightningRecord; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; @@ -41,9 +42,9 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Utility functions for data requesting. @@ -189,7 +190,13 @@ public class MonitorDataUtil { return records; } catch (VizException e) { statusHandler.handle(Priority.ERROR, - "Error retrieving radar vertical wind profile data", e); + "Error making server request for radar vertical wind profile data", + e); + } catch (DataCubeException e) { + statusHandler + .handle(Priority.ERROR, + "Error performing time query for radar vertical wind profile data", + e); } return null; } @@ -231,7 +238,13 @@ public class MonitorDataUtil { return records; } catch (VizException e) { statusHandler.handle(Priority.ERROR, - "Error retrieving Acars Sounding Records data", e); + "Error making server request for Acars Sounding Records data", + e); + } catch (DataCubeException e) { + statusHandler + .handle(Priority.ERROR, + "Error performing time query for Acars Sounding Records data", + e); } return null; } diff --git a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/TafUtil.java b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/TafUtil.java index bb4c46baa7..d691657a2c 100644 --- a/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/TafUtil.java +++ b/cave/com.raytheon.viz.aviation/src/com/raytheon/viz/aviation/monitor/TafUtil.java @@ -28,14 +28,14 @@ import java.util.Map; import java.util.TimeZone; import com.raytheon.edex.plugin.taf.common.TafRecord; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Utility functions related to TAFs @@ -140,7 +140,7 @@ public class TafUtil { })); return tafs; - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, "Error retrieving TAFs", e); } return null; diff --git a/cave/com.raytheon.viz.awipstools/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.awipstools/META-INF/MANIFEST.MF index 8f1c6c42af..143b45b810 100644 --- a/cave/com.raytheon.viz.awipstools/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.awipstools/META-INF/MANIFEST.MF @@ -21,7 +21,8 @@ Require-Bundle: org.eclipse.core.runtime, com.raytheon.uf.common.geospatial, com.raytheon.uf.common.datastorage, com.raytheon.uf.common.dataplugin, - com.raytheon.uf.common.util + com.raytheon.uf.common.util, + com.raytheon.uf.viz.datacube Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.viz.awipstools, com.raytheon.viz.awipstools.capabilities, @@ -32,7 +33,8 @@ Export-Package: com.raytheon.viz.awipstools, com.raytheon.viz.awipstools.ui.display, com.raytheon.viz.awipstools.ui.layer Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Import-Package: com.raytheon.viz.core, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.viz.core, com.raytheon.viz.core.interval, com.raytheon.viz.core.rsc, com.raytheon.viz.core.rsc.jts diff --git a/cave/com.raytheon.viz.awipstools/src/com/raytheon/viz/awipstools/ui/dialog/ChooseByIdDialog.java b/cave/com.raytheon.viz.awipstools/src/com/raytheon/viz/awipstools/ui/dialog/ChooseByIdDialog.java index 5e65f83fce..ab73430ddf 100644 --- a/cave/com.raytheon.viz.awipstools/src/com/raytheon/viz/awipstools/ui/dialog/ChooseByIdDialog.java +++ b/cave/com.raytheon.viz.awipstools/src/com/raytheon/viz/awipstools/ui/dialog/ChooseByIdDialog.java @@ -51,6 +51,7 @@ import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.util.RadarDataRetriever; @@ -65,13 +66,12 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.VizApp; import com.raytheon.uf.viz.core.VizConstants; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.globals.VizGlobalsManager; import com.raytheon.uf.viz.core.requests.ThriftClient; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.points.IPointChangedListener; import com.raytheon.uf.viz.points.PointsDataManager; import com.raytheon.viz.awipstools.IToolChangedListener; diff --git a/cave/com.raytheon.viz.grid/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.grid/META-INF/MANIFEST.MF index 1fc48c67d8..050675ec9e 100644 --- a/cave/com.raytheon.viz.grid/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.grid/META-INF/MANIFEST.MF @@ -22,7 +22,6 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.8.0", com.raytheon.uf.common.dataplugin.radar;bundle-version="1.14.0", com.raytheon.uf.viz.points, com.raytheon.uf.common.colormap, - com.raytheon.uf.viz.derivparam;bundle-version="1.14.0", com.raytheon.uf.common.style, com.raytheon.uf.common.localization;bundle-version="1.14.0", com.raytheon.uf.common.status, @@ -30,19 +29,24 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.8.0", com.raytheon.uf.common.serialization.comm, com.raytheon.uf.common.dataquery, com.raytheon.uf.common.comm, - com.raytheon.uf.common.derivparam, + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", com.raytheon.uf.common.pointdata;bundle-version="1.13.0", com.raytheon.uf.viz.d2d.core, com.raytheon.uf.common.topo;bundle-version="1.14.0", com.raytheon.uf.common.numeric;bundle-version="1.14.0", - javax.measure + javax.measure, + com.raytheon.uf.viz.datacube;bundle-version="1.14.0" Export-Package: com.raytheon.viz.grid, com.raytheon.viz.grid.inv, com.raytheon.viz.grid.rsc, com.raytheon.viz.grid.rsc.general, com.raytheon.viz.grid.util, com.raytheon.viz.grid.xml -Import-Package: com.raytheon.viz.alerts, +Import-Package: com.raytheon.uf.common.inventory.data, + com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.inventory, + com.raytheon.uf.common.inventory.tree, + com.raytheon.viz.alerts, com.raytheon.viz.alerts.observers, com.raytheon.viz.core.rsc, com.raytheon.viz.core.units diff --git a/cave/com.raytheon.viz.grid/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.viz.grid/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 9df436d24f..0000000000 --- a/cave/com.raytheon.viz.grid/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.viz.grid.util.GridDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.viz.grid/build.properties b/cave/com.raytheon.viz.grid/build.properties index 6e2f847b66..847bfa511f 100644 --- a/cave/com.raytheon.viz.grid/build.properties +++ b/cave/com.raytheon.viz.grid/build.properties @@ -3,4 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - localization/ + localization/,\ + res/ diff --git a/cave/com.raytheon.viz.grid/res/spring/grid-datacube-spring.xml b/cave/com.raytheon.viz.grid/res/spring/grid-datacube-spring.xml new file mode 100644 index 0000000000..095c151697 --- /dev/null +++ b/cave/com.raytheon.viz.grid/res/spring/grid-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataDefinition.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataDefinition.java index 53892aa640..c3e03d6180 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataDefinition.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataDefinition.java @@ -43,12 +43,12 @@ import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.drawables.ResourcePair; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.DisplayType; import com.raytheon.uf.viz.core.rsc.ResourceProperties; import com.raytheon.uf.viz.core.rsc.ResourceType; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.uf.viz.productbrowser.AbstractRequestableProductBrowserDataDefinition; import com.raytheon.uf.viz.productbrowser.ProductBrowserLabel; import com.raytheon.uf.viz.productbrowser.ProductBrowserPreference; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataFormatter.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataFormatter.java index ca9016b769..5aa1e52a81 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataFormatter.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/GridProductBrowserDataFormatter.java @@ -32,8 +32,8 @@ import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfoLookup; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataplugin.level.MasterLevel; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.viz.productbrowser.ProductBrowserLabel; import com.raytheon.viz.grid.inv.GridInventory; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/GridRequestableData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/GridRequestableData.java index 1af247ccbb..995481cd95 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/GridRequestableData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/GridRequestableData.java @@ -24,14 +24,14 @@ import java.util.Collections; import java.util.HashMap; import java.util.Map; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.IDataRecord; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * A requestable data object for which wraps a GridRecord. @@ -111,7 +111,7 @@ public class GridRequestableData extends AbstractRequestableData { } @Override - public IDataRecord[] getDataValue(Object arg) throws VizException { + public IDataRecord[] getDataValue(Object arg) throws DataCubeException { if (arg instanceof Request) { Request request = (Request) arg; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/ImportRequestableData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/ImportRequestableData.java index cdbb1669f1..a9b36d9315 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/ImportRequestableData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/ImportRequestableData.java @@ -24,14 +24,15 @@ import java.util.List; import javax.media.jai.Interpolation; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AliasRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AliasRequestableData; import com.raytheon.viz.grid.util.CoverageUtils; import com.raytheon.viz.grid.util.SliceUtil; @@ -68,7 +69,7 @@ public class ImportRequestableData extends AliasRequestableData { this.dataTime = dataTime; } - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { Request req = Request.ALL; if (arg instanceof Request) { req = (Request) arg; @@ -119,27 +120,33 @@ public class ImportRequestableData extends AliasRequestableData { GridCoverage destGrid = (GridCoverage) getSpace(); Interpolation interpolation = Interpolation .getInstance(Interpolation.INTERP_BICUBIC); - if (rval instanceof FloatDataRecord) { - FloatDataRecord fdr = covUtil.remapGrid(sourceGrid, destGrid, - (FloatDataRecord) rval, interpolation).getFloatDataRecord(); - rval = SliceUtil.slice(fdr, req); - } else if (rval instanceof FloatDataRecord[]) { - FloatDataRecord[] recs = (FloatDataRecord[]) rval; - for (int i = 0; i < recs.length; i++) { + try { + if (rval instanceof FloatDataRecord) { FloatDataRecord fdr = covUtil.remapGrid(sourceGrid, destGrid, - recs[i], interpolation).getFloatDataRecord(); - recs[i] = SliceUtil.slice(fdr, req); - } - } else if (rval instanceof IDataRecord[]) { - IDataRecord[] recs = (IDataRecord[]) rval; - for (int i = 0; i < recs.length; i++) { - if (recs[i] instanceof FloatDataRecord) { + (FloatDataRecord) rval, interpolation) + .getFloatDataRecord(); + rval = SliceUtil.slice(fdr, req); + } else if (rval instanceof FloatDataRecord[]) { + FloatDataRecord[] recs = (FloatDataRecord[]) rval; + for (int i = 0; i < recs.length; i++) { FloatDataRecord fdr = covUtil.remapGrid(sourceGrid, - destGrid, (FloatDataRecord) recs[i], interpolation) + destGrid, recs[i], interpolation) .getFloatDataRecord(); recs[i] = SliceUtil.slice(fdr, req); } + } else if (rval instanceof IDataRecord[]) { + IDataRecord[] recs = (IDataRecord[]) rval; + for (int i = 0; i < recs.length; i++) { + if (recs[i] instanceof FloatDataRecord) { + FloatDataRecord fdr = covUtil.remapGrid(sourceGrid, + destGrid, (FloatDataRecord) recs[i], + interpolation).getFloatDataRecord(); + recs[i] = SliceUtil.slice(fdr, req); + } + } } + } catch (VizException e) { + throw new DataCubeException(e); } return rval; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/RadarRequestableData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/RadarRequestableData.java index 0f0e3bc2f3..95d64bd5ad 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/RadarRequestableData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/RadarRequestableData.java @@ -27,6 +27,8 @@ import javax.measure.unit.Unit; import com.raytheon.uf.common.colormap.prefs.ColorMapParameters; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; @@ -42,7 +44,6 @@ import com.raytheon.uf.common.parameter.Parameter; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.viz.grid.util.RadarAdapter; import com.raytheon.viz.grid.util.SliceUtil; @@ -116,7 +117,7 @@ public class RadarRequestableData extends GridRequestableData { } @Override - public IDataRecord[] getDataValue(Object arg) throws VizException { + public IDataRecord[] getDataValue(Object arg) throws DataCubeException { FloatDataRecord fdr = null; if (cache != null) { fdr = cache.get(); @@ -127,13 +128,17 @@ public class RadarRequestableData extends GridRequestableData { try { RadarDataRetriever.populateRadarRecord(dataStore, radarSource); } catch (Exception e) { - throw new VizException( + throw new DataCubeException( "Error Retrieving Data from Radar Record", e); } // Call radar tiler to get tile data, look up color map to translate // to float - ColorMapParameters cMapParams = RadarAdapter - .getColorMap(radarSource); + ColorMapParameters cMapParams; + try { + cMapParams = RadarAdapter.getColorMap(radarSource); + } catch (VizException e) { + throw new DataCubeException(e); + } cMapParams.setDataUnit(radarSource.getDataUnit()); /* * UnitConverter dataToImage = diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/StaticGridRequestableData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/StaticGridRequestableData.java index f720da3454..d931c27cc4 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/StaticGridRequestableData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/StaticGridRequestableData.java @@ -22,6 +22,9 @@ package com.raytheon.viz.grid.data; import javax.measure.unit.SI; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfo; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfoLookup; import com.raytheon.uf.common.dataplugin.grid.util.StaticGridData; @@ -33,9 +36,6 @@ import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; import com.raytheon.viz.grid.util.SliceUtil; /** @@ -87,7 +87,7 @@ public class StaticGridRequestableData extends AbstractRequestableData { * @see com.raytheon.viz.grid.util.AbstractRequestableData#getDataValue() */ @Override - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { FloatDataRecord rval = null; if (StaticGridDataType._dt.equals(dataType)) { diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TiltRequestableData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TiltRequestableData.java index 3504c9c3d0..16f46583ee 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TiltRequestableData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TiltRequestableData.java @@ -21,12 +21,12 @@ package com.raytheon.viz.grid.data; import javax.measure.unit.SI; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.gridcoverage.GridCoverage; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; import com.raytheon.viz.grid.util.SliceUtil; import com.raytheon.viz.grid.util.TiltUtils; import com.vividsolutions.jts.geom.Coordinate; @@ -69,7 +69,7 @@ public class TiltRequestableData extends AbstractRequestableData { } @Override - public FloatDataRecord getDataValue(Object arg) throws VizException { + public FloatDataRecord getDataValue(Object arg) throws DataCubeException { GridCoverage coverage = (GridCoverage) getSpace(); FloatDataRecord fdr = null; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TopoRequestableData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TopoRequestableData.java index 3d444c6cae..4bfc11a0da 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TopoRequestableData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/data/TopoRequestableData.java @@ -27,6 +27,8 @@ import javax.measure.unit.SI; import org.geotools.coverage.grid.GridGeometry2D; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; @@ -35,8 +37,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.topo.TopoQuery; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; import com.raytheon.viz.grid.util.SliceUtil; /** @@ -83,7 +83,7 @@ public class TopoRequestableData extends AbstractRequestableData { * @see com.raytheon.viz.grid.util.AbstractRequestableData#getDataValue() */ @Override - public FloatDataRecord getDataValue(Object arg) throws VizException { + public FloatDataRecord getDataValue(Object arg) throws DataCubeException { GridCoverage coverage = (GridCoverage) this.getSpace(); FloatDataRecord rval = topoCache.get(coverage); diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/CubeLevelNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/CubeLevelNode.java index 45c68508dc..50da8f60b2 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/CubeLevelNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/CubeLevelNode.java @@ -21,9 +21,9 @@ package com.raytheon.viz.grid.inv; import java.util.List; -import com.raytheon.uf.viz.derivparam.tree.AbstractCubeLevelNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.CubeLevel; +import com.raytheon.uf.common.derivparam.tree.AbstractCubeLevelNode; /** * diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GatherLevelNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GatherLevelNode.java index e89e0602c3..ef729cd8b0 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GatherLevelNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GatherLevelNode.java @@ -26,15 +26,15 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AggregateRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AggregateRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractAliasLevelNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.AbstractAliasLevelNode; /** * @@ -68,7 +68,7 @@ public class GatherLevelNode extends AbstractAliasLevelNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Map> availMap = new HashMap>(); for (AbstractRequestableData data : dependencyData.get(sourceNode)) { TimeAndSpace ast = data.getTimeAndSpace(); diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridInventory.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridInventory.java index f282178ca1..66c8143ac3 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridInventory.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridInventory.java @@ -34,6 +34,15 @@ import java.util.NavigableSet; import java.util.Set; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.CubeLevel; +import com.raytheon.uf.common.inventory.tree.DataTree; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.ParameterNode; +import com.raytheon.uf.common.inventory.tree.SourceNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode.Dependency; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.grid.GridInfoConstants; import com.raytheon.uf.common.dataplugin.grid.GridInfoRecord; @@ -47,10 +56,13 @@ import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; -import com.raytheon.uf.common.derivparam.tree.DataTree; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.common.derivparam.tree.ParameterNode; -import com.raytheon.uf.common.derivparam.tree.SourceNode; +import com.raytheon.uf.common.derivparam.inv.AbstractInventory; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod.MethodType; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; +import com.raytheon.uf.common.derivparam.tree.StaticDataLevelNode; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; @@ -61,17 +73,6 @@ import com.raytheon.uf.viz.core.catalog.DbQuery; import com.raytheon.uf.viz.core.exception.VizCommunicationException; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AbstractInventory; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod.MethodType; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode.Dependency; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; -import com.raytheon.uf.viz.derivparam.tree.StaticDataLevelNode; import com.raytheon.uf.viz.points.IPointChangedListener; import com.raytheon.uf.viz.points.PointsDataManager; import com.raytheon.viz.grid.data.ImportRequestableData; @@ -134,7 +135,7 @@ public class GridInventory extends AbstractInventory implements @Override public void initTree(Map derParLibrary) - throws VizException { + throws DataCubeException { super.initTree(derParLibrary); if (updater == null) { updater = new GridUpdater(this); @@ -160,7 +161,7 @@ public class GridInventory extends AbstractInventory implements for (Map constraints : constraintsToTry) { evaluateRequestConstraints(constraints); } - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } } @@ -274,7 +275,7 @@ public class GridInventory extends AbstractInventory implements return null; } - protected DataTree createBaseTree() throws VizException { + protected DataTree createBaseTree() throws DataCubeException { DataTree newTree = getTreeFromEdex(); if (newTree == null) { return newTree; @@ -316,7 +317,7 @@ public class GridInventory extends AbstractInventory implements @Override public List timeAgnosticQuery(Map query) - throws VizException { + throws DataCubeException { List rval = null; List sources = getSourcesToProcess(query); boolean processRadar = sources != null && sources.contains("radar"); @@ -346,8 +347,13 @@ public class GridInventory extends AbstractInventory implements } if (times == null) { // This should query all times for this model. - DataTime[] timesArray = CatalogQuery.performTimeQuery(newQuery, - false, null); + DataTime[] timesArray; + try { + timesArray = CatalogQuery.performTimeQuery(newQuery, + false, null); + } catch (VizException e) { + throw new DataCubeException(e); + } times = Arrays.asList(timesArray); if (modelName != null) { GridTimeCache.getInstance().setModelTimes(modelName, @@ -359,8 +365,12 @@ public class GridInventory extends AbstractInventory implements } } if (processRadar) { - Set times = RadarAdapter.getInstance() - .timeInvariantQuery(); + Set times; + try { + times = RadarAdapter.getInstance().timeInvariantQuery(); + } catch (VizException e) { + throw new DataCubeException(e); + } if (rval == null && times != null) { rval = new ArrayList(times.size()); } @@ -685,7 +695,7 @@ public class GridInventory extends AbstractInventory implements @Override protected LevelNode getCubeNode(SourceNode sNode, DerivParamField field, Deque stack, Set nodata) - throws VizCommunicationException { + throws CommunicationException { StackEntry se = new StackEntry(sNode.getValue(), field.getParam(), Long.MIN_VALUE); if (stack.contains(se)) { @@ -701,12 +711,7 @@ public class GridInventory extends AbstractInventory implements boolean isRadar = sNode.getValue().equals(RadarAdapter.RADAR_SOURCE); NavigableSet levels; - try { - levels = LevelUtilities - .getOrderedSetOfStandardLevels(masterLevelName); - } catch (CommunicationException e) { - throw new VizCommunicationException(e); - } + levels = LevelUtilities.getOrderedSetOfStandardLevels(masterLevelName); List> cubeLevels = new ArrayList>( levels.size()); diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridMetadataContainer.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridMetadataContainer.java index 4c66bcf2d3..265b7efbb9 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridMetadataContainer.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridMetadataContainer.java @@ -26,6 +26,9 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataquery.DecisionTree; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; @@ -33,13 +36,11 @@ import com.raytheon.uf.common.dataquery.requests.DbQueryRequestSet; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; import com.raytheon.uf.common.dataquery.responses.DbQueryResponseSet; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.inv.MetadataContainer; import com.raytheon.uf.viz.core.RecordFactory; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.MetadataContainer; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; import com.raytheon.viz.grid.data.GridRequestableData; import com.raytheon.viz.grid.data.GridRequestableDataFactory; @@ -72,7 +73,7 @@ public class GridMetadataContainer extends MetadataContainer { } @Override - protected void processRequests() throws VizException { + protected void processRequests() throws DataCubeException { DecisionTree tree = new DecisionTree(); List> constraintMaps = new ArrayList>(); for (AbstractRequestableNode node : availCache.keySet()) { @@ -106,8 +107,13 @@ public class GridMetadataContainer extends MetadataContainer { } DbQueryRequestSet requestSet = new DbQueryRequestSet(); requestSet.setQueries(requests.toArray(new DbQueryRequest[0])); - DbQueryResponseSet responseSet = (DbQueryResponseSet) ThriftClient - .sendRequest(requestSet); + DbQueryResponseSet responseSet; + try { + responseSet = (DbQueryResponseSet) ThriftClient + .sendRequest(requestSet); + } catch (VizException e) { + throw new DataCubeException(e); + } Map> dataCache = new HashMap>(); GridRequestableDataFactory grdf = GridRequestableDataFactory @@ -116,8 +122,13 @@ public class GridMetadataContainer extends MetadataContainer { for (DbQueryResponse response : responseSet.getResults()) { for (Map result : response.getResults()) { GridRecord record = (GridRecord) result.get(null); - Map recordMap = RecordFactory.getInstance() - .loadMapFromUri(record.getDataURI()); + Map recordMap; + try { + recordMap = RecordFactory.getInstance().loadMapFromUri( + record.getDataURI()); + } catch (VizException e) { + throw new DataCubeException(e); + } GridRequestableData data = grdf.getGridRequestableData(record); for (GridRequestableNode node : tree.searchTree(recordMap)) { Set set = dataCache.get(node); diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridRequestableNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridRequestableNode.java index 2eff0b93f0..56f1cf509d 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridRequestableNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridRequestableNode.java @@ -26,13 +26,17 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.LevelNode; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; -import com.raytheon.uf.common.derivparam.tree.LevelNode; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; import com.raytheon.uf.common.geospatial.ISpatialObject; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.gridcoverage.lookup.GridCoverageLookup; @@ -41,9 +45,6 @@ import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; import com.raytheon.viz.grid.data.GridRequestableDataFactory; import com.raytheon.viz.grid.util.CoverageUtils; @@ -110,7 +111,7 @@ public class GridRequestableNode extends AbstractBaseDataNode { public Set getData( Map orignalConstraints, Set availability, Object response) - throws VizException { + throws DataCubeException { DbQueryResponse dbresponse = (DbQueryResponse) response; GridRequestableDataFactory grdf = GridRequestableDataFactory .getInstance(); @@ -254,14 +255,18 @@ public class GridRequestableNode extends AbstractBaseDataNode { @Override public Set getAvailability( Map originalConstraints, Object response) - throws VizException { + throws DataCubeException { Set result = new HashSet(); if (response == null) { result = GridTimeCache.getInstance().getTimes(this); if (result == null) { // Oh No! the cache has been cleared since we made our request. - response = ThriftClient - .sendRequest(getAvailabilityRequest(originalConstraints)); + try { + response = ThriftClient + .sendRequest(getAvailabilityRequest(originalConstraints)); + } catch (VizException e) { + throw new DataCubeException(e); + } return getAvailability(originalConstraints, response); } GridTimeCache.getInstance().setTimes(this, result); @@ -276,8 +281,12 @@ public class GridRequestableNode extends AbstractBaseDataNode { coverage = GridCoverageLookup.getInstance().getCoverage( locationId.intValue()); } else { - coverage = CoverageUtils.getInstance() - .getCoverages(getSource()).iterator().next(); + try { + coverage = CoverageUtils.getInstance() + .getCoverages(getSource()).iterator().next(); + } catch (VizException e) { + throw new DataCubeException(e); + } } result.add(new TimeAndSpace(time, coverage)); } diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridTimeCache.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridTimeCache.java index 01cc7a27e5..6004efb8dd 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridTimeCache.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridTimeCache.java @@ -25,8 +25,8 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; /** * Cache times for grid data to avoid multiple trips to edex for the same data. diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridUpdater.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridUpdater.java index 2b169677c9..aecb9aeb78 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridUpdater.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/GridUpdater.java @@ -28,12 +28,16 @@ import java.util.Map; import java.util.Set; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode.Dependency; import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.LevelFactory; -import com.raytheon.uf.common.derivparam.tree.LevelNode; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; +import com.raytheon.uf.common.derivparam.tree.OrLevelNode; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.parameter.Parameter; import com.raytheon.uf.common.status.IUFStatusHandler; @@ -42,10 +46,6 @@ import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.alerts.AlertMessage; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode.Dependency; -import com.raytheon.uf.viz.derivparam.tree.OrLevelNode; import com.raytheon.viz.alerts.IAlertObserver; import com.raytheon.viz.alerts.observers.ProductAlertObserver; import com.raytheon.viz.grid.util.RadarAdapter; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/ImportLevelNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/ImportLevelNode.java index b4414afe9d..c58e6ce3c8 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/ImportLevelNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/ImportLevelNode.java @@ -28,20 +28,21 @@ import java.util.NavigableSet; import java.util.Set; import java.util.TreeSet; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfo; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfoLookup; import com.raytheon.uf.common.dataplugin.level.Level; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.AbstractAliasLevelNode; import com.raytheon.uf.common.geospatial.ISpatialObject; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractAliasLevelNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; import com.raytheon.viz.grid.data.ImportRequestableData; import com.raytheon.viz.grid.util.CoverageUtils; import com.raytheon.viz.grid.util.RadarAdapter; @@ -85,7 +86,7 @@ public class ImportLevelNode extends AbstractAliasLevelNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Set origs = dependencyData.get(sourceNode); Set results = new HashSet( origs.size()); @@ -114,8 +115,12 @@ public class ImportLevelNode extends AbstractAliasLevelNode { Collection spaces = null; ISpatialObject space = time.getSpace(); if (space.equals(TimeAndSpace.SPACE_AGNOSTIC)) { - spaces = CoverageUtils.getInstance().getCoverages( - sourceNodeModelName); + try { + spaces = CoverageUtils.getInstance().getCoverages( + sourceNodeModelName); + } catch (VizException e) { + throw new DataCubeException(e); + } } else if (space instanceof GridCoverage) { spaces = Arrays.asList((GridCoverage) space); } else { @@ -166,7 +171,7 @@ public class ImportLevelNode extends AbstractAliasLevelNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { boundingSourceTimes.clear(); // grab this source and discover all available times ala time agnostic, @@ -187,8 +192,12 @@ public class ImportLevelNode extends AbstractAliasLevelNode { sourceDt *= 3600000; } if (RadarAdapter.RADAR_SOURCE.equals(modelName)) { - Set radarTimes = RadarAdapter.getInstance() - .timeInvariantQuery(); + Set radarTimes; + try { + radarTimes = RadarAdapter.getInstance().timeInvariantQuery(); + } catch (VizException e) { + throw new DataCubeException(e); + } for (DataTime radarTime : radarTimes) { if (sourceDataTimes.contains(radarTime)) { @@ -213,9 +222,13 @@ public class ImportLevelNode extends AbstractAliasLevelNode { } Set result = new HashSet(); for (DataTime time : boundingSourceTimes.keySet()) { - for (GridCoverage coverage : CoverageUtils.getInstance() - .getCoverages(modelName)) { - result.add(new TimeAndSpace(time, coverage)); + try { + for (GridCoverage coverage : CoverageUtils.getInstance() + .getCoverages(modelName)) { + result.add(new TimeAndSpace(time, coverage)); + } + } catch (VizException e) { + throw new DataCubeException(e); } } return result; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarCubeLevelNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarCubeLevelNode.java index 0120c8f162..b0c401612a 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarCubeLevelNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarCubeLevelNode.java @@ -21,10 +21,10 @@ package com.raytheon.viz.grid.inv; import java.util.List; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.tree.AbstractCubeLevelNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.CubeLevel; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.tree.AbstractCubeLevelNode; /** * diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarRequestableLevelNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarRequestableLevelNode.java index a444771af0..c52bbc8d9f 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarRequestableLevelNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarRequestableLevelNode.java @@ -25,18 +25,19 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.LevelNode; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; -import com.raytheon.uf.common.derivparam.tree.LevelNode; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.catalog.CatalogQuery; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; import com.raytheon.viz.grid.data.RadarRequestableData; import com.raytheon.viz.grid.util.RadarAdapter; @@ -115,14 +116,19 @@ public class RadarRequestableLevelNode extends AbstractBaseDataNode { @Override public Set getAvailability( Map originalConstraints, Object response) - throws VizException { + throws DataCubeException { Set resultsSet = RadarUpdater.getInstance() .getTimes(this); if (resultsSet != null) { return resultsSet; } - DataTime[] results = CatalogQuery.performTimeQuery(rcMap, false, null); + DataTime[] results; + try { + results = CatalogQuery.performTimeQuery(rcMap, false, null); + } catch (VizException e) { + throw new DataCubeException(e); + } if (results != null) { resultsSet = new HashSet(results.length); for (int i = 0; i < results.length; i++) { @@ -158,7 +164,7 @@ public class RadarRequestableLevelNode extends AbstractBaseDataNode { public Set getData( Map orignalConstraints, Set availability, Object response) - throws VizException { + throws DataCubeException { List> rows = ((DbQueryResponse) response) .getResults(); Set rval = new HashSet( @@ -167,8 +173,12 @@ public class RadarRequestableLevelNode extends AbstractBaseDataNode { // record... won't work because of the get data call, can't be a // GribRecord, needs to call getDataValue on Requestable for (Map objMap : rows) { - rval.add(new RadarRequestableData((RadarRecord) objMap.get(null), - paramAbbrev)); + try { + rval.add(new RadarRequestableData((RadarRecord) objMap + .get(null), paramAbbrev)); + } catch (VizException e) { + throw new DataCubeException(e); + } } return rval; } diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarUpdater.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarUpdater.java index 90e9186064..f80d92d1eb 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarUpdater.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/RadarUpdater.java @@ -8,6 +8,7 @@ import java.util.Map.Entry; import java.util.Set; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.level.Level; @@ -21,7 +22,6 @@ import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.alerts.AlertMessage; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; import com.raytheon.viz.alerts.IAlertObserver; import com.raytheon.viz.alerts.observers.ProductAlertObserver; import com.raytheon.viz.grid.util.RadarAdapter; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/StaticGridDataLevelNode.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/StaticGridDataLevelNode.java index ea902e0428..91bfdc2033 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/StaticGridDataLevelNode.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/inv/StaticGridDataLevelNode.java @@ -23,15 +23,16 @@ import java.util.HashSet; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.dataplugin.grid.util.StaticGridDataType; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; import com.raytheon.viz.grid.data.StaticGridRequestableData; import com.raytheon.viz.grid.data.TiltRequestableData; import com.raytheon.viz.grid.util.CoverageUtils; @@ -79,11 +80,15 @@ public class StaticGridDataLevelNode extends AbstractBaseDataNode { @Override public Set getAvailability( Map originalConstraints, Object response) - throws VizException { + throws DataCubeException { Set result = new HashSet(); - for (GridCoverage coverage : CoverageUtils.getInstance().getCoverages( - source)) { - result.add(new TimeAndSpace(coverage)); + try { + for (GridCoverage coverage : CoverageUtils.getInstance() + .getCoverages(source)) { + result.add(new TimeAndSpace(coverage)); + } + } catch (VizException e) { + throw new DataCubeException(e); } return result; } @@ -99,7 +104,7 @@ public class StaticGridDataLevelNode extends AbstractBaseDataNode { public Set getData( Map orignalConstraints, Set availability, Object response) - throws VizException { + throws DataCubeException { Set results = new HashSet(); for (TimeAndSpace ast : availability) { if (ast.getSpace() instanceof GridCoverage) { @@ -108,11 +113,15 @@ public class StaticGridDataLevelNode extends AbstractBaseDataNode { data.setDataTime(ast.getTime()); results.add(data); } else { - for (GridCoverage coverage : CoverageUtils.getInstance() - .getCoverages(source)) { - AbstractRequestableData data = createRequestableData(coverage); - data.setDataTime(ast.getTime()); - results.add(data); + try { + for (GridCoverage coverage : CoverageUtils.getInstance() + .getCoverages(source)) { + AbstractRequestableData data = createRequestableData(coverage); + data.setDataTime(ast.getTime()); + results.add(data); + } + } catch (VizException e) { + throw new DataCubeException(e); } } } diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/record/RequestableDataRecord.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/record/RequestableDataRecord.java index aef53d86d3..f8663b5d2e 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/record/RequestableDataRecord.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/record/RequestableDataRecord.java @@ -23,6 +23,8 @@ import java.util.ArrayList; import java.util.Collection; import java.util.List; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.datastorage.Request; @@ -31,7 +33,6 @@ import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.gridcoverage.GridCoverage; import com.raytheon.uf.common.parameter.Parameter; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; import com.raytheon.viz.grid.data.GridRequestableData; import com.raytheon.viz.grid.data.TiltRequestableData.TiltCenterPoint; import com.raytheon.viz.grid.util.TiltRequest; @@ -98,11 +99,12 @@ public class RequestableDataRecord extends GridRecord { this.requester = pdo.requester; } - public IDataRecord[] getDataRecord() throws VizException { + public IDataRecord[] getDataRecord() throws DataCubeException { return getDataRecord(Request.ALL); } - public IDataRecord[] getDataRecord(Request request) throws VizException { + public IDataRecord[] getDataRecord(Request request) + throws DataCubeException { Object obj = null; if (request instanceof TiltRequest) { obj = requester.getDataValue(new TiltCenterPoint( diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/GridResourceData.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/GridResourceData.java index 093bbf87cb..2151815928 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/GridResourceData.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/GridResourceData.java @@ -30,6 +30,7 @@ import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.grid.GridRecord; @@ -38,7 +39,6 @@ import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.drawables.IDescriptor; import com.raytheon.uf.viz.core.drawables.ResourcePair; import com.raytheon.uf.viz.core.exception.VizException; @@ -51,6 +51,7 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.ResourceList; import com.raytheon.uf.viz.core.rsc.capabilities.DisplayTypeCapability; import com.raytheon.uf.viz.d2d.core.map.IDataScaleResource; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.core.rsc.ICombinedResourceData; import com.raytheon.viz.grid.inv.GribDataCubeAlertMessageParser; import com.raytheon.viz.grid.inv.GridInventory; @@ -369,7 +370,12 @@ public class GridResourceData extends AbstractRequestableResourceData implements TiltRequest request = new TiltRequest(); request.setType(Request.Type.ALL); request.setTiltLocation(tiltLoc); - return DataCubeContainer.getDataRecord(record, request, null); + try { + return DataCubeContainer.getDataRecord(record, request, + null); + } catch (DataCubeException e) { + throw new VizException(e); + } } } return null; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/D2DGridResource.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/D2DGridResource.java index 94dea2351f..02cee51d26 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/D2DGridResource.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/D2DGridResource.java @@ -34,6 +34,7 @@ import org.opengis.referencing.crs.CoordinateReferenceSystem; import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.TransformException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfo; @@ -56,7 +57,6 @@ import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.IGraphicsTarget; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractNameGenerator; import com.raytheon.uf.viz.core.rsc.DisplayType; @@ -64,6 +64,7 @@ import com.raytheon.uf.viz.core.rsc.IResourceDataChanged.ChangeType; import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.capabilities.DisplayTypeCapability; import com.raytheon.uf.viz.core.rsc.capabilities.ImagingCapability; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.grid.rsc.GridNameGenerator; import com.raytheon.viz.grid.rsc.GridNameGenerator.IGridNameResource; import com.raytheon.viz.grid.rsc.GridNameGenerator.LegendParameters; @@ -161,6 +162,7 @@ public class D2DGridResource extends GridResource implements @Override protected GeneralGridData getData(GridRecord gridRecord) throws VizException { + try { Unit dataUnit = gridRecord.getParameter().getUnit(); GridCoverage location = gridRecord.getLocation(); /* @@ -259,6 +261,9 @@ public class D2DGridResource extends GridResource implements } data = GridMemoryManager.getInstance().manage(data); return data; + } catch ( DataCubeException e ) { + throw new VizException(e); + } } public GeneralGridData reprojectData(GeneralGridData data) { diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/GridResource.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/GridResource.java index 5c47947194..73cd259f94 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/GridResource.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/rsc/general/GridResource.java @@ -28,6 +28,7 @@ import javax.measure.unit.Unit; import org.geotools.coverage.grid.GeneralGridGeometry; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridRecord; import com.raytheon.uf.common.dataplugin.grid.util.GridStyleUtil; @@ -35,10 +36,10 @@ import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.style.ParamLevelMatchCriteria; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.AbstractResourceData; import com.raytheon.uf.viz.core.rsc.LoadProperties; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * @@ -86,7 +87,12 @@ public class GridResource extends protected GeneralGridData getData(GridRecord gridRecord) throws VizException { Unit dataUnit = gridRecord.getParameter().getUnit(); - IDataRecord[] dataRecs = DataCubeContainer.getDataRecord(gridRecord); + IDataRecord[] dataRecs; + try { + dataRecs = DataCubeContainer.getDataRecord(gridRecord); + } catch (DataCubeException e) { + throw new VizException(e); + } if (dataRecs == null) { return null; } diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridDataCubeAdapter.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridDataCubeAdapter.java index 15d1a7ce4e..93619ecca5 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridDataCubeAdapter.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridDataCubeAdapter.java @@ -34,6 +34,10 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.grid.GridPathProvider; @@ -44,6 +48,9 @@ import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.inv.MetadataContainer; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.geospatial.ISpatialEnabled; import com.raytheon.uf.common.geospatial.ISpatialObject; import com.raytheon.uf.common.gridcoverage.GridCoverage; @@ -51,16 +58,10 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; -import com.raytheon.uf.viz.core.datastructure.CubeUtil; import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractDataCubeAdapter; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.MetadataContainer; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; +import com.raytheon.uf.viz.datacube.AbstractDataCubeAdapter; +import com.raytheon.uf.viz.datacube.CubeUtil; import com.raytheon.viz.grid.data.GridRequestableData; import com.raytheon.viz.grid.inv.GridInventory; import com.raytheon.viz.grid.inv.GridMetadataContainer; @@ -102,7 +103,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { gridInventory.initTree(DerivedParameterGenerator .getDerParLibrary()); this.gridInventory = gridInventory; - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } @@ -118,56 +119,56 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { @Override public IDataRecord[] getRecord(PluginDataObject obj, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { if (obj instanceof RequestableDataRecord) { return super.getRecord(obj, req, dataset); } - try { - IDataRecord record = null; - if (GridPathProvider.STATIC_PARAMETERS.contains(((GridRecord) obj) - .getParameter().getAbbreviation())) { - GridRecord gridRec = (GridRecord) obj; - IDataStore ds = DataStoreFactory.getDataStore(HDF5Util - .findHDF5Location(obj)); - try { - record = ds.retrieve("/" + gridRec.getLocation().getId(), - gridRec.getParameter().getAbbreviation(), req); - } catch (Exception e) { - throw new VizException("Error retrieving staticTopo data!", - e); - } - } else { - record = CubeUtil.retrieveData(obj, obj.getPluginName(), req, - dataset); + IDataRecord record = null; + if (GridPathProvider.STATIC_PARAMETERS.contains(((GridRecord) obj) + .getParameter().getAbbreviation())) { + GridRecord gridRec = (GridRecord) obj; + IDataStore ds = DataStoreFactory.getDataStore(HDF5Util + .findHDF5Location(obj)); + try { + record = ds.retrieve("/" + gridRec.getLocation().getId(), + gridRec.getParameter().getAbbreviation(), req); + } catch (Exception e) { + throw new DataCubeException( + "Error retrieving staticTopo data!", e); } - return new IDataRecord[] { record }; - - } catch (VizException e) { - throw new VizDataCubeException("Error retrieving grid record.", e); + } else { + record = CubeUtil.retrieveData(obj, obj.getPluginName(), req, + dataset); } + return new IDataRecord[] { record }; } private IDataRecord[] getRecord(PluginDataObject obj, Request[] requests) throws VizException { - if (requests == null) { - return ((RequestableDataRecord) obj).getDataRecord(Request.ALL); - } - Request retrieveRequest = requests[0]; - Request sliceRequest = requests[1]; - - IDataRecord[] recs = ((RequestableDataRecord) obj) - .getDataRecord(retrieveRequest); - IDataRecord[] newRecs = new IDataRecord[recs.length]; - for (int i = 0; i < recs.length; i++) { - if (recs[i] instanceof FloatDataRecord) { - newRecs[i] = SliceUtil.slice((FloatDataRecord) recs[i], - sliceRequest); - } else { - throw new VizDataCubeException("Error processing slab of type" - + recs[i].getClass().getSimpleName()); + try { + if (requests == null) { + return ((RequestableDataRecord) obj).getDataRecord(Request.ALL); } + Request retrieveRequest = requests[0]; + Request sliceRequest = requests[1]; + + IDataRecord[] recs = ((RequestableDataRecord) obj) + .getDataRecord(retrieveRequest); + IDataRecord[] newRecs = new IDataRecord[recs.length]; + for (int i = 0; i < recs.length; i++) { + if (recs[i] instanceof FloatDataRecord) { + newRecs[i] = SliceUtil.slice((FloatDataRecord) recs[i], + sliceRequest); + } else { + throw new VizDataCubeException( + "Error processing slab of type" + + recs[i].getClass().getSimpleName()); + } + } + return newRecs; + } catch (DataCubeException e) { + throw new VizException(e); } - return newRecs; } private Request[] generateRequests(Request req, ISpatialObject area) { @@ -275,7 +276,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { */ @Override public void getRecords(List objs, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { Set realData = new HashSet(); ISpatialObject area = null; for (PluginDataObject obj : objs) { @@ -349,7 +350,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { data.setDataValue(request, value); } } catch (Exception e) { - throw new VizDataCubeException(e); + throw new DataCubeException(e); } } } @@ -367,7 +368,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { records = getRecord(obj, requests); } } catch (VizException e) { - throw new VizDataCubeException(e.getMessage(), e); + throw new DataCubeException(e.getMessage(), e); } } else { records = getRecord(obj, req, dataset); @@ -400,7 +401,7 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { */ @Override protected List timeAgnosticQuery( - Map queryTerms) throws VizException { + Map queryTerms) throws DataCubeException { return gridInventory.timeAgnosticQuery(queryTerms); } @@ -415,72 +416,78 @@ public class GridDataCubeAdapter extends AbstractDataCubeAdapter { protected List getData( Map constraints, DataTime[] selectedTimes, List requesters) - throws VizException { - List results = new ArrayList( - requesters.size()); - for (AbstractRequestableData requester : requesters) { - List records = new ArrayList(); - if (requester.getDataTime() == null - || requester.getTimeAndSpace().isTimeAgnostic()) { - DataTime[] entryTime = selectedTimes; - if (entryTime != null && entryTime.length > 0) { - List entryTimes = new ArrayList( - Arrays.asList(entryTime)); - for (DataTime time : entryTimes) { - RequestableDataRecord rec = new RequestableDataRecord( - requester); - rec.setDataTime(time.clone()); - rec.setDataURI(null); - boolean newRecord = true; - for (PluginDataObject result : results) { - if (result.getDataURI().equals(rec.getDataURI())) { - newRecord = false; - break; + throws DataCubeException { + try { + List results = new ArrayList( + requesters.size()); + for (AbstractRequestableData requester : requesters) { + List records = new ArrayList(); + if (requester.getDataTime() == null + || requester.getTimeAndSpace().isTimeAgnostic()) { + DataTime[] entryTime = selectedTimes; + if (entryTime != null && entryTime.length > 0) { + List entryTimes = new ArrayList( + Arrays.asList(entryTime)); + for (DataTime time : entryTimes) { + RequestableDataRecord rec = new RequestableDataRecord( + requester); + rec.setDataTime(time.clone()); + rec.setDataURI(null); + boolean newRecord = true; + for (PluginDataObject result : results) { + if (result.getDataURI() + .equals(rec.getDataURI())) { + newRecord = false; + break; + } + } + if (newRecord) { + records.add(rec); } } - if (newRecord) { - records.add(rec); - } + } else { + RequestableDataRecord rec = new RequestableDataRecord( + requester); + rec.setDataTime(new DataTime(Calendar.getInstance())); + records.add(rec); } } else { RequestableDataRecord rec = new RequestableDataRecord( requester); - rec.setDataTime(new DataTime(Calendar.getInstance())); records.add(rec); } - } else { - RequestableDataRecord rec = new RequestableDataRecord(requester); - records.add(rec); - } - if (requester.getSpace() == null - || requester.getTimeAndSpace().isSpaceAgnostic()) { - Collection coverages = CoverageUtils - .getInstance().getCoverages(requester.getSource()); - if (coverages != null && !coverages.isEmpty()) { - List spaceRecords = new ArrayList(); - for (RequestableDataRecord record : records) { - for (GridCoverage coverage : coverages) { - record = new RequestableDataRecord(record); - record.setLocation(coverage); - record.setDataURI(null); - spaceRecords.add(record); + if (requester.getSpace() == null + || requester.getTimeAndSpace().isSpaceAgnostic()) { + Collection coverages = CoverageUtils + .getInstance().getCoverages(requester.getSource()); + if (coverages != null && !coverages.isEmpty()) { + List spaceRecords = new ArrayList(); + for (RequestableDataRecord record : records) { + for (GridCoverage coverage : coverages) { + record = new RequestableDataRecord(record); + record.setLocation(coverage); + record.setDataURI(null); + spaceRecords.add(record); + } } + records = spaceRecords; + } + } + results.addAll(records); + } + if (constraints.containsKey(GridInventory.ENSEMBLE_QUERY)) { + String ensemble = constraints.get(GridInventory.ENSEMBLE_QUERY) + .getConstraintValue(); + if (ensemble != null) { + for (Object rec : results) { + ((GridRecord) rec).setEnsembleId(ensemble); } - records = spaceRecords; } } - results.addAll(records); + return results; + } catch (VizException e) { + throw new DataCubeException(e); } - if (constraints.containsKey(GridInventory.ENSEMBLE_QUERY)) { - String ensemble = constraints.get(GridInventory.ENSEMBLE_QUERY) - .getConstraintValue(); - if (ensemble != null) { - for (Object rec : results) { - ((GridRecord) rec).setEnsembleId(ensemble); - } - } - } - return results; } @Override diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridTreeGrapher.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridTreeGrapher.java index c18022f17d..07650e159c 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridTreeGrapher.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/GridTreeGrapher.java @@ -22,17 +22,18 @@ package com.raytheon.viz.grid.util; import java.util.HashMap; import java.util.Map; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.FloatRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode.Dependency; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.LevelNode; +import com.raytheon.uf.common.derivparam.library.IDerivParamField; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; +import com.raytheon.uf.common.derivparam.tree.DerivedLevelNode; +import com.raytheon.uf.common.derivparam.tree.StaticDataLevelNode; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.FloatRequestableData; -import com.raytheon.uf.viz.derivparam.library.IDerivParamField; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode.Dependency; -import com.raytheon.uf.viz.derivparam.tree.DerivedLevelNode; -import com.raytheon.uf.viz.derivparam.tree.StaticDataLevelNode; import com.raytheon.viz.grid.inv.GridInventory; import com.raytheon.viz.grid.inv.GridRequestableNode; @@ -110,30 +111,36 @@ public class GridTreeGrapher { System.out.println("node" + i + " -> node" + that); } } else if (node instanceof StaticDataLevelNode) { - StaticDataLevelNode cNode = (StaticDataLevelNode) node; - AbstractRequestableData staticData = cNode.getData(null, null) - .iterator().next(); - if (staticData instanceof FloatRequestableData) { - String abbr = node.getClass().getSimpleName(); - if (cNode.getDesc() != null) { - abbr = cNode.getDesc().getAbbreviation(); - } - String label = "Constant: " + staticData.getDataValue(null) - + "\\n" + cNode.getModelName() + "\\n" + abbr + "\\n" - + cNode.getLevel(); - System.out.println("node" + i + " [label=\"" + label + "\"];"); - } else { - String abbr = node.getClass().getSimpleName(); - if (cNode.getDesc() != null) { - abbr = cNode.getDesc().getAbbreviation(); - } - String label = "StaticData\\n" + cNode.getModelName() + "\\n" - + abbr + "\\n" + cNode.getLevel(); - System.out.println("node" + i + " [label=\"" + label + "\"];"); - for (Dependency dep : cNode.getDependencies()) { - int that = printGraphInternal(dep.node); - System.out.println("node" + i + " -> node" + that); + try { + StaticDataLevelNode cNode = (StaticDataLevelNode) node; + AbstractRequestableData staticData = cNode.getData(null, null) + .iterator().next(); + if (staticData instanceof FloatRequestableData) { + String abbr = node.getClass().getSimpleName(); + if (cNode.getDesc() != null) { + abbr = cNode.getDesc().getAbbreviation(); + } + String label = "Constant: " + staticData.getDataValue(null) + + "\\n" + cNode.getModelName() + "\\n" + abbr + + "\\n" + cNode.getLevel(); + System.out.println("node" + i + " [label=\"" + label + + "\"];"); + } else { + String abbr = node.getClass().getSimpleName(); + if (cNode.getDesc() != null) { + abbr = cNode.getDesc().getAbbreviation(); + } + String label = "StaticData\\n" + cNode.getModelName() + + "\\n" + abbr + "\\n" + cNode.getLevel(); + System.out.println("node" + i + " [label=\"" + label + + "\"];"); + for (Dependency dep : cNode.getDependencies()) { + int that = printGraphInternal(dep.node); + System.out.println("node" + i + " -> node" + that); + } } + } catch (DataCubeException e) { + throw new VizException(e); } } else if (node instanceof AbstractDerivedDataNode) { AbstractDerivedDataNode cNode = (AbstractDerivedDataNode) node; diff --git a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/RadarAdapter.java b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/RadarAdapter.java index c655aa0e63..55a1350f6e 100644 --- a/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/RadarAdapter.java +++ b/cave/com.raytheon.viz.grid/src/com/raytheon/viz/grid/util/RadarAdapter.java @@ -35,6 +35,11 @@ import org.opengis.referencing.operation.MathTransform; import com.raytheon.uf.common.colormap.prefs.ColorMapParameters; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.DataTree; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.ParameterNode; +import com.raytheon.uf.common.inventory.tree.SourceNode; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; @@ -42,10 +47,10 @@ import com.raytheon.uf.common.dataplugin.radar.RadarStation; import com.raytheon.uf.common.dataplugin.radar.request.GetRadarDataTreeRequest; import com.raytheon.uf.common.dataplugin.radar.util.RadarUtil; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.DataTree; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.common.derivparam.tree.ParameterNode; -import com.raytheon.uf.common.derivparam.tree.SourceNode; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.OrLevelNode; +import com.raytheon.uf.common.derivparam.tree.StaticDataLevelNode; import com.raytheon.uf.common.geospatial.MapUtil; import com.raytheon.uf.common.gridcoverage.Corner; import com.raytheon.uf.common.gridcoverage.GridCoverage; @@ -63,11 +68,6 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.catalog.CatalogQuery; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.OrLevelNode; -import com.raytheon.uf.viz.derivparam.tree.StaticDataLevelNode; import com.raytheon.viz.grid.data.TopoRequestableData; import com.raytheon.viz.grid.inv.RadarRequestableLevelNode; import com.raytheon.viz.grid.inv.RadarUpdater; diff --git a/cave/com.raytheon.viz.hydrocommon/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.hydrocommon/META-INF/MANIFEST.MF index 632efee340..fd2428942d 100644 --- a/cave/com.raytheon.viz.hydrocommon/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.hydrocommon/META-INF/MANIFEST.MF @@ -22,7 +22,8 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.viz.core.maps;bundle-version="1.0.0", com.raytheon.uf.common.dataplugin.grid, com.raytheon.uf.common.dataplugin.shef;bundle-version="1.12.1174", - com.raytheon.uf.common.gridcoverage;bundle-version="1.0.0" + com.raytheon.uf.common.gridcoverage;bundle-version="1.0.0", + com.raytheon.uf.viz.datacube Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.viz.hydrocommon, com.raytheon.viz.hydrocommon.actions, @@ -46,5 +47,6 @@ Export-Package: com.raytheon.viz.hydrocommon, com.raytheon.viz.hydrocommon.util, com.raytheon.viz.hydrocommon.whfslib, com.raytheon.viz.hydrocommon.whfslib.colorthreshold -Import-Package: com.raytheon.uf.common.ohd, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.ohd, com.raytheon.viz.grid.rsc diff --git a/cave/com.raytheon.viz.hydrocommon/src/com/raytheon/viz/hydrocommon/HydroDisplayManager.java b/cave/com.raytheon.viz.hydrocommon/src/com/raytheon/viz/hydrocommon/HydroDisplayManager.java index 99f613734b..7a599ece76 100644 --- a/cave/com.raytheon.viz.hydrocommon/src/com/raytheon/viz/hydrocommon/HydroDisplayManager.java +++ b/cave/com.raytheon.viz.hydrocommon/src/com/raytheon/viz/hydrocommon/HydroDisplayManager.java @@ -45,7 +45,6 @@ import com.raytheon.uf.common.mpe.util.XmrgFile; import com.raytheon.uf.common.ohd.AppsDefaults; import com.raytheon.uf.common.util.FileUtil; import com.raytheon.uf.viz.core.IDisplayPane; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.datastructure.LoopProperties; import com.raytheon.uf.viz.core.drawables.IDescriptor; import com.raytheon.uf.viz.core.drawables.ResourcePair; @@ -55,6 +54,7 @@ import com.raytheon.uf.viz.core.rsc.AbstractVizResource; import com.raytheon.uf.viz.core.rsc.GenericResourceData; import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.ResourceList; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.hydrocommon.colorscalemgr.HydroColorManager; import com.raytheon.viz.hydrocommon.colorscalemgr.NamedColorSetGroup; import com.raytheon.viz.hydrocommon.constants.FFGConstants.ResolutionLevel; diff --git a/cave/com.raytheon.viz.lightning/src/com/raytheon/viz/lightning/LightningResource.java b/cave/com.raytheon.viz.lightning/src/com/raytheon/viz/lightning/LightningResource.java index 56fd64050b..e87bf037c8 100644 --- a/cave/com.raytheon.viz.lightning/src/com/raytheon/viz/lightning/LightningResource.java +++ b/cave/com.raytheon.viz.lightning/src/com/raytheon/viz/lightning/LightningResource.java @@ -32,6 +32,7 @@ import java.util.concurrent.ConcurrentHashMap; import org.eclipse.swt.graphics.RGB; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.binlightning.BinLightningRecord; import com.raytheon.uf.common.datastorage.DataStoreFactory; @@ -49,7 +50,6 @@ import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.TimeRange; import com.raytheon.uf.viz.core.DrawableString; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IExtent; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.IGraphicsTarget.HorizontalAlignment; diff --git a/cave/com.raytheon.viz.pointdata/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.pointdata/META-INF/MANIFEST.MF index 92125c0101..66cfca8ad5 100644 --- a/cave/com.raytheon.viz.pointdata/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.pointdata/META-INF/MANIFEST.MF @@ -21,7 +21,9 @@ Require-Bundle: org.apache.batik, com.raytheon.uf.common.dataplugin.level;bundle-version="1.12.1174", com.raytheon.uf.common.colormap;bundle-version="1.12.1174", com.raytheon.uf.common.wxmath, - com.raytheon.uf.common.python.concurrent + com.raytheon.uf.common.python.concurrent, + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube;bundle-version="1.14.0" Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.viz.pointdata, com.raytheon.viz.pointdata.drawables, @@ -29,15 +31,14 @@ Export-Package: com.raytheon.viz.pointdata, com.raytheon.viz.pointdata.rsc.retrieve, com.raytheon.viz.pointdata.util Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.inventory.data, + com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.inventory, + com.raytheon.uf.common.inventory.tree, com.raytheon.uf.common.dataplugin.grid, - com.raytheon.uf.common.derivparam.tree, com.raytheon.uf.common.message.response, com.raytheon.uf.common.pointdata, com.raytheon.uf.common.pointdata.accumulate, - com.raytheon.uf.viz.derivparam.data, - com.raytheon.uf.viz.derivparam.inv, - com.raytheon.uf.viz.derivparam.library, - com.raytheon.uf.viz.derivparam.tree, com.raytheon.uf.viz.productbrowser, com.raytheon.viz.alerts, com.raytheon.viz.alerts.observers diff --git a/cave/com.raytheon.viz.pointdata/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.viz.pointdata/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 5580a53bb6..0000000000 --- a/cave/com.raytheon.viz.pointdata/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.viz.pointdata.util.PointDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.viz.pointdata/build.properties b/cave/com.raytheon.viz.pointdata/build.properties index 4aa6fbe4f7..c9e6305304 100644 --- a/cave/com.raytheon.viz.pointdata/build.properties +++ b/cave/com.raytheon.viz.pointdata/build.properties @@ -4,4 +4,5 @@ bin.includes = META-INF/,\ .,\ plugin.xml,\ scriptTemplates/,\ - localization/ + localization/,\ + res/ diff --git a/cave/com.raytheon.viz.pointdata/res/spring/point-datacube-spring.xml b/cave/com.raytheon.viz.pointdata/res/spring/point-datacube-spring.xml new file mode 100644 index 0000000000..21362aaa0d --- /dev/null +++ b/cave/com.raytheon.viz.pointdata/res/spring/point-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotData.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotData.java index 6ff6708819..b7ebd3e731 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotData.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotData.java @@ -27,7 +27,7 @@ import javax.measure.unit.Unit; import com.raytheon.uf.common.pointdata.PointDataDescription.Type; import com.raytheon.uf.common.pointdata.PointDataView; -import com.raytheon.uf.viz.core.datastructure.CubeUtil; +import com.raytheon.uf.viz.datacube.CubeUtil; /** * Plot Data Object. diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotModels.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotModels.java index 36442866a6..75deaec63a 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotModels.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/PlotModels.java @@ -41,9 +41,9 @@ import com.raytheon.uf.common.localization.PathManagerFactory; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.map.MapDescriptor; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.PlotModelFactory2.PlotModelElement; import com.raytheon.viz.pointdata.util.PointDataInventory; diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/rsc/retrieve/FullDataPlotInfoRetriever.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/rsc/retrieve/FullDataPlotInfoRetriever.java index 800fc49138..bec0ce0b51 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/rsc/retrieve/FullDataPlotInfoRetriever.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/rsc/retrieve/FullDataPlotInfoRetriever.java @@ -15,6 +15,7 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.pointdata.PointDataView; @@ -22,10 +23,10 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.IResourceDataChanged; import com.raytheon.uf.viz.core.rsc.IResourceDataChanged.ChangeType; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.PlotInfo; /** @@ -101,7 +102,7 @@ public class FullDataPlotInfoRetriever extends AbstractPlotInfoRetriever { try { pdc = DataCubeContainer.getPointData(plugin, getParameters(), levelKey, metadataMap); - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.ERROR, e.getLocalizedMessage(), e); return Status.OK_STATUS; diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/thread/PlotModelDataRequestJob.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/thread/PlotModelDataRequestJob.java index 6209fbabd0..f39c659f8f 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/thread/PlotModelDataRequestJob.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/thread/PlotModelDataRequestJob.java @@ -28,14 +28,15 @@ import org.eclipse.core.runtime.IProgressMonitor; import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.IPlotModelGeneratorCaller; import com.raytheon.viz.pointdata.PlotData; import com.raytheon.viz.pointdata.PlotInfo; @@ -303,6 +304,9 @@ public class PlotModelDataRequestJob extends AbstractPlotCreationJob { } catch (VizException e1) { statusHandler.handle(Priority.PROBLEM, "Error in Point Data request.", e1); + } catch (DataCubeException e) { + statusHandler.handle(Priority.PROBLEM, + "Error making Point Data request.", e); } // reset in case there's more j = 0; diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/AbstractPointDataInventory.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/AbstractPointDataInventory.java index d0e2eab69b..e9ac8702c0 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/AbstractPointDataInventory.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/AbstractPointDataInventory.java @@ -29,14 +29,23 @@ import java.util.Map.Entry; import java.util.Set; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.DataTree; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.ParameterNode; +import com.raytheon.uf.common.inventory.tree.SourceNode; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMappingFactory; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.DataTree; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.common.derivparam.tree.ParameterNode; -import com.raytheon.uf.common.derivparam.tree.SourceNode; +import com.raytheon.uf.common.derivparam.inv.AbstractInventory; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod.MethodType; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; @@ -44,14 +53,6 @@ import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.RecordFactory; import com.raytheon.uf.viz.core.catalog.CatalogQuery; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AbstractInventory; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod.MethodType; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; /** * Abstract implementation of a point data inventory that can be used by @@ -194,7 +195,7 @@ public abstract class AbstractPointDataInventory extends AbstractInventory { @Override public List timeAgnosticQuery(Map query) - throws VizException { + throws DataCubeException { return null; } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfLevelNode.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfLevelNode.java index 163b5b2097..04342eb959 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfLevelNode.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfLevelNode.java @@ -26,15 +26,15 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; /** * Node for the HeightOf point data derived parameter @@ -78,7 +78,7 @@ public class HeightOfLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) throws DataCubeException { Map> result = new HashMap>(); result.put(latNode, availability); result.put(lonNode, availability); @@ -92,7 +92,7 @@ public class HeightOfLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { AbstractRequestableData latRequest = dependencyData.get(latNode) .iterator().next(); AbstractRequestableData lonRequest = dependencyData.get(lonNode) @@ -127,7 +127,7 @@ public class HeightOfLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { return AvailabilityContainer.AGNOSTIC_SET; } } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfRequestableData.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfRequestableData.java index 747c0791fd..d2ea6898c9 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfRequestableData.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/HeightOfRequestableData.java @@ -28,6 +28,8 @@ import javax.measure.unit.SI; import org.geotools.coverage.grid.GridGeometry2D; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.grid.GridConstants; import com.raytheon.uf.common.dataplugin.level.Level; @@ -41,9 +43,8 @@ import com.raytheon.uf.common.geospatial.MapUtil; import com.raytheon.uf.common.geospatial.PointUtil; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.wxmath.PToZsa; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.vividsolutions.jts.geom.Coordinate; /** @@ -93,7 +94,7 @@ public class HeightOfRequestableData extends AbstractRequestableData { * () */ @Override - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { FloatDataRecord latRec = (FloatDataRecord) latRequest.getDataValue(arg); FloatDataRecord lonRec = (FloatDataRecord) lonRequest.getDataValue(arg); float[] lats = latRec.getFloatData(); @@ -118,7 +119,7 @@ public class HeightOfRequestableData extends AbstractRequestableData { PluginDataObject gribRec; try { gribRec = getGribRec(time); - } catch (VizException e1) { + } catch (DataCubeException e1) { return PToZsa.ptozsa((float) level.getLevelonevalue()); } if (gribRec == null) { @@ -147,7 +148,7 @@ public class HeightOfRequestableData extends AbstractRequestableData { } } - private PluginDataObject getGribRec(Long time) throws VizException { + private PluginDataObject getGribRec(Long time) throws DataCubeException { if (gribRecs == null) { gribRecs = new HashMap(); if (time != null) { @@ -208,7 +209,7 @@ public class HeightOfRequestableData extends AbstractRequestableData { * @throws VizException */ private PluginDataObject loadPressureLevel(DataTime time) - throws VizException { + throws DataCubeException { PluginDataObject[] pdos = DataCubeContainer.getData(getConstraints(), time); if (pdos == null || pdos.length == 0) { diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/MetarPrecipDataContainer.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/MetarPrecipDataContainer.java index 876bce0f71..f917dcb819 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/MetarPrecipDataContainer.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/MetarPrecipDataContainer.java @@ -31,6 +31,7 @@ import java.util.Set; import org.geotools.geometry.jts.ReferencedEnvelope; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.geospatial.MapUtil; @@ -41,8 +42,7 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.vividsolutions.jts.geom.Coordinate; import com.vividsolutions.jts.geom.Envelope; import com.vividsolutions.jts.geom.Geometry; @@ -456,7 +456,7 @@ public class MetarPrecipDataContainer { try { tmppdc = DataCubeContainer.getPointData("obs", parameters.toArray(new String[0]), rcMap); - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler .handle(Priority.ERROR, "Error getting precip data, some precip will not display.", diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumLevelNode.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumLevelNode.java index b867af2950..d61efe0aa7 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumLevelNode.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumLevelNode.java @@ -27,14 +27,14 @@ import java.util.List; import java.util.Map; import java.util.Set; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; /** * A Node representing the Accum derived paramteer method which is used by point @@ -80,7 +80,8 @@ public class PointAccumLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { Map> rval = new HashMap>(); for (AbstractRequestableNode idNode : idNodes) { rval.put(idNode, availability); @@ -93,7 +94,7 @@ public class PointAccumLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { List idRequesters = new ArrayList( idNodes.size()); for (AbstractRequestableNode idNode : idNodes) { @@ -130,7 +131,7 @@ public class PointAccumLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { return AvailabilityContainer.AGNOSTIC_SET; } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumRequestableData.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumRequestableData.java index 2942f38b47..bb670854c6 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumRequestableData.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointAccumRequestableData.java @@ -25,17 +25,17 @@ import java.util.List; import javax.measure.converter.UnitConverter; import javax.measure.unit.SI; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.datastorage.records.IntegerDataRecord; import com.raytheon.uf.common.datastorage.records.LongDataRecord; import com.raytheon.uf.common.datastorage.records.StringDataRecord; +import com.raytheon.uf.common.derivparam.library.DerivParamConstantField; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; import com.raytheon.uf.common.pointdata.accumulate.AccumDataRequestMessage; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.library.DerivParamConstantField; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.serialization.comm.RequestRouter; /** * Carries out the Accum derived parameter method by sending an accum request to @@ -65,7 +65,7 @@ public class PointAccumRequestableData extends AbstractRequestableData { public PointAccumRequestableData( List idRequesters, AbstractRequestableData timeRequester, DerivParamMethod method, - String plugin) throws VizException { + String plugin) throws DataCubeException { this.idRequesters = idRequesters; this.timeRequester = timeRequester; this.request = new AccumDataRequestMessage(); @@ -91,7 +91,7 @@ public class PointAccumRequestableData extends AbstractRequestableData { * () */ @Override - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { StringBuilder stationParameter = new StringBuilder(); String[] stations = null; for (AbstractRequestableData idRequestor : idRequesters) { @@ -131,7 +131,12 @@ public class PointAccumRequestableData extends AbstractRequestableData { } } request.setTimes(times); - IDataRecord result = (IDataRecord) ThriftClient.sendRequest(request); + IDataRecord result; + try { + result = (IDataRecord) RequestRouter.route(request); + } catch (Exception e) { + throw new DataCubeException(e); + } result.setName(parameter); return result; } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataCubeAdapter.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataCubeAdapter.java index 18a2507c27..f8ca9e12fa 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataCubeAdapter.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataCubeAdapter.java @@ -26,23 +26,23 @@ import java.util.List; import java.util.Map; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMappingFactory; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.viz.core.RecordFactory; -import com.raytheon.uf.viz.core.datastructure.DefaultDataCubeAdapter; -import com.raytheon.uf.viz.core.exception.VizCommunicationException; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; +import com.raytheon.uf.viz.datacube.DefaultDataCubeAdapter; import com.raytheon.viz.pointdata.PointDataRequest; /** @@ -109,16 +109,22 @@ public class PointDataCubeAdapter extends DefaultDataCubeAdapter { */ @Override public PointDataContainer getPoints(String plugin, String[] parameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { return getPoints(plugin, parameters, "Station", queryParams); } @Override public PointDataContainer getPoints(String plugin, String[] parameters, String levelKey, Map queryParams) - throws VizException { + throws DataCubeException { queryParams.put(PLUGIN_NAME, new RequestConstraint(plugin)); - String type = getType(queryParams); + String type; + try { + type = getType(queryParams); + } catch (VizException e1) { + throw new DataCubeException(e1); + } String source = plugin; if (!type.equals(plugin)) { source += type; @@ -131,10 +137,15 @@ public class PointDataCubeAdapter extends DefaultDataCubeAdapter { LevelMappingFactory.VOLUMEBROWSER_LEVEL_MAPPING_FILE) .getLevelMappingForKey(levelKey).getLevels(); } catch (CommunicationException e) { - throw new VizCommunicationException(e); + throw new DataCubeException(e); + } + List nodes; + try { + nodes = inventory.getNodes(source, Arrays.asList(parameters), + levels); + } catch (VizException e) { + throw new DataCubeException(e); } - List nodes = inventory.getNodes(source, - Arrays.asList(parameters), levels); PointMetadataContainer pmc = new PointMetadataContainer(queryParams, Arrays.asList(parameters), this); for (AbstractRequestableNode node : nodes) { @@ -172,9 +183,9 @@ public class PointDataCubeAdapter extends DefaultDataCubeAdapter { .getParameter(), null, data, baseRec.getDimension(), sizes)); } else if (obj == null) { - throw new VizException("Invalid Object of type: null"); + throw new DataCubeException("Invalid Object of type: null"); } else { - throw new VizException("Invalid Object of type: " + throw new DataCubeException("Invalid Object of type: " + obj.getClass().getSimpleName()); } int resultCount = 0; @@ -212,10 +223,15 @@ public class PointDataCubeAdapter extends DefaultDataCubeAdapter { } public PointDataContainer getBaseRecords(Collection baseParams, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { String plugin = queryParams.get(PLUGIN_NAME).getConstraintValue(); - return PointDataRequest.requestPointDataAllLevels(plugin, - baseParams.toArray(new String[] {}), null, queryParams); + try { + return PointDataRequest.requestPointDataAllLevels(plugin, + baseParams.toArray(new String[] {}), null, queryParams); + } catch (VizException e) { + throw new DataCubeException(e); + } } /* @@ -246,7 +262,7 @@ public class PointDataCubeAdapter extends DefaultDataCubeAdapter { pointInventory.initTree(DerivedParameterGenerator .getDerParLibrary()); this.inventory = pointInventory; - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataInventory.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataInventory.java index 8b99479f3e..c072c19074 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataInventory.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataInventory.java @@ -25,8 +25,9 @@ import java.util.HashMap; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.DataTree; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.DataTree; import com.raytheon.uf.common.pointdata.GetPointDataTreeRequest; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; @@ -114,7 +115,7 @@ public class PointDataInventory extends AbstractPointDataInventory implements if (getAllSources() != null && !getAllSources().contains(source)) { try { initTree(derParLibrary); - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataLevelNode.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataLevelNode.java index f55e8ee991..2780bd518e 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataLevelNode.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointDataLevelNode.java @@ -22,14 +22,14 @@ package com.raytheon.viz.pointdata.util; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.LevelNode; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; /** * A BaseDataNode for PointData types so that they can be used within derived @@ -80,7 +80,7 @@ public class PointDataLevelNode extends AbstractBaseDataNode { public Set getData( Map orignalConstraints, Set availability, Object response) - throws VizException { + throws DataCubeException { return null; } diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointMetadataContainer.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointMetadataContainer.java index 6f6c3a4849..a2ec46848c 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointMetadataContainer.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointMetadataContainer.java @@ -26,15 +26,15 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.inv.MetadataContainer; import com.raytheon.uf.common.pointdata.PointDataConstants; import com.raytheon.uf.common.pointdata.PointDataContainer; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.MetadataContainer; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; /** * A MetadataContainer that is optimized for point data. This container ensures @@ -92,7 +92,7 @@ public class PointMetadataContainer extends MetadataContainer { * point data API at one time. */ @Override - protected void processRequests() throws VizException { + protected void processRequests() throws DataCubeException { List nodes = new ArrayList(); List baseParams = new ArrayList(); for (AbstractRequestableNode node : availCache.keySet()) { diff --git a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointRequestableData.java b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointRequestableData.java index e3a8e9da02..b266d32b88 100644 --- a/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointRequestableData.java +++ b/cave/com.raytheon.viz.pointdata/src/com/raytheon/viz/pointdata/util/PointRequestableData.java @@ -21,10 +21,10 @@ package com.raytheon.viz.pointdata.util; import javax.measure.unit.Unit; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.datastorage.records.IDataRecord; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; /** * Wraps a data record from a PointDataContainer in the AbstractRequestableData @@ -64,7 +64,7 @@ public class PointRequestableData extends AbstractRequestableData { * () */ @Override - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { return rec; } diff --git a/cave/com.raytheon.viz.radar/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.radar/META-INF/MANIFEST.MF index 237f71d62e..6ea764f30d 100644 --- a/cave/com.raytheon.viz.radar/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.radar/META-INF/MANIFEST.MF @@ -28,7 +28,6 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.8.0", com.raytheon.uf.common.dataplugin.radar;bundle-version="1.0.0";visibility:=reexport, com.raytheon.uf.common.datastorage;bundle-version="1.12.1174", com.raytheon.uf.common.pointdata;bundle-version="1.12.1174", - com.raytheon.uf.common.derivparam;bundle-version="1.12.1174", com.raytheon.uf.common.dataplugin.level;bundle-version="1.12.1174", com.raytheon.uf.common.topo;bundle-version="1.12.1174", com.raytheon.uf.viz.core;bundle-version="1.12.1174", @@ -38,14 +37,17 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.8.0", com.raytheon.uf.viz.xy;bundle-version="1.12.1174", com.raytheon.viz.pointdata;bundle-version="1.12.1174", com.raytheon.uf.viz.productbrowser;bundle-version="1.12.1174", - com.raytheon.uf.viz.derivparam;bundle-version="1.12.1174", com.raytheon.viz.core.graphing;bundle-version="1.12.1174", com.raytheon.uf.viz.points;bundle-version="1.0.0", com.raytheon.uf.viz.ui.menus;bundle-version="1.12.1174", com.raytheon.viz.awipstools;bundle-version="1.12.1174", org.apache.batik;bundle-version="1.6.0", com.raytheon.uf.common.wxmath, - com.raytheon.uf.common.style;bundle-version="1.0.0" -Import-Package: com.raytheon.viz.core.contours.util, + com.raytheon.uf.common.style;bundle-version="1.0.0", + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube;bundle-version="1.14.0" +Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.inventory.exception, + com.raytheon.viz.core.contours.util, com.raytheon.viz.core.rsc, com.raytheon.viz.core.rsc.jts diff --git a/cave/com.raytheon.viz.radar/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.viz.radar/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 9a76ebf308..0000000000 --- a/cave/com.raytheon.viz.radar/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.viz.radar.util.RadarDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.viz.radar/res/spring/radar-datacube-spring.xml b/cave/com.raytheon.viz.radar/res/spring/radar-datacube-spring.xml new file mode 100644 index 0000000000..99e74d1389 --- /dev/null +++ b/cave/com.raytheon.viz.radar/res/spring/radar-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/DefaultVizRadarRecord.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/DefaultVizRadarRecord.java index 90c89acc5d..0b5421da3b 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/DefaultVizRadarRecord.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/DefaultVizRadarRecord.java @@ -24,12 +24,12 @@ import java.io.FileNotFoundException; import java.util.Map; import java.util.WeakHashMap; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.RadarStoredData; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.datastorage.StorageException; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.cache.CacheObject; import com.raytheon.uf.viz.core.cache.CacheObject.IObjectRetriever; diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarHelper.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarHelper.java index f74b87a4ad..ce855b9a2d 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarHelper.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarHelper.java @@ -30,6 +30,7 @@ import java.util.TimeZone; import org.eclipse.swt.graphics.RGB; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.level3.CorrelatedShearPacket; import com.raytheon.uf.common.dataplugin.radar.level3.HdaHailPacket; @@ -54,7 +55,6 @@ import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.datastorage.StorageException; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; import com.raytheon.viz.awipstools.common.StormTrackData; diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarRecordDataRetriever.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarRecordDataRetriever.java index 757adfe27d..d2cc61fb8c 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarRecordDataRetriever.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/RadarRecordDataRetriever.java @@ -23,13 +23,13 @@ import java.io.File; import java.util.ArrayList; import java.util.List; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.util.RadarDataRetriever; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.serialization.SerializationException; import com.raytheon.uf.common.serialization.SerializationUtil; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.cache.CacheObject.IObjectRetrieverAndDisposer; /** diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarGraphicsDisplay.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarGraphicsDisplay.java index 069615f012..9720be1fb6 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarGraphicsDisplay.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarGraphicsDisplay.java @@ -35,6 +35,7 @@ import org.geotools.coverage.grid.GeneralGridGeometry; import org.geotools.geometry.GeneralEnvelope; import org.opengis.referencing.crs.ProjectedCRS; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarDataKey; import com.raytheon.uf.common.dataplugin.radar.RadarDataPoint; import com.raytheon.uf.common.dataplugin.radar.RadarDataPoint.RadarProductType; @@ -48,7 +49,6 @@ import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.localization.LocalizationFile; import com.raytheon.uf.common.localization.PathManager; import com.raytheon.uf.common.localization.PathManagerFactory; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.drawables.IRenderable; import com.raytheon.uf.viz.core.drawables.IWireframeShape; diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarMLResource.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarMLResource.java index 7f84ea0483..0de3f7ddf0 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarMLResource.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/rsc/graphic/RadarMLResource.java @@ -34,6 +34,7 @@ import org.opengis.referencing.crs.CoordinateReferenceSystem; import org.opengis.referencing.crs.ProjectedCRS; import org.opengis.referencing.operation.TransformException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.level3.LinkedContourVectorPacket; import com.raytheon.uf.common.dataplugin.radar.level3.LinkedVector; @@ -50,7 +51,6 @@ import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.DrawableLine; import com.raytheon.uf.viz.core.DrawableString; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IExtent; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.IGraphicsTarget.HorizontalAlignment; diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/DmdTools.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/DmdTools.java index f206f2682d..f27cab38fc 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/DmdTools.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/DmdTools.java @@ -28,6 +28,7 @@ import java.util.Map; import javax.measure.unit.Unit; import javax.measure.unit.UnitFormat; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.radar.RadarDataKey; import com.raytheon.uf.common.dataplugin.radar.RadarDataPoint; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; @@ -39,7 +40,6 @@ import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.datastorage.StorageException; import com.raytheon.uf.common.wxmath.ZToPsa; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; /** diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/RadarDataCubeAdapter.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/RadarDataCubeAdapter.java index 1ac9785836..7bb30dc137 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/RadarDataCubeAdapter.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/RadarDataCubeAdapter.java @@ -28,13 +28,16 @@ import java.util.Map; import java.util.Set; import java.util.TreeSet; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.DbQueryRequestSet; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.TimeQueryRequest; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; import com.raytheon.uf.common.dataquery.responses.DbQueryResponseSet; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.pointdata.PointDataContainer; +import com.raytheon.uf.common.serialization.comm.RequestRouter; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; @@ -42,8 +45,6 @@ import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.SimulatedTime; import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; import com.raytheon.viz.pointdata.util.AbstractPointDataInventory; import com.raytheon.viz.pointdata.util.PointDataCubeAdapter; @@ -87,7 +88,7 @@ public class RadarDataCubeAdapter extends PointDataCubeAdapter { pointInventory.initTree(DerivedParameterGenerator .getDerParLibrary()); this.inventory = pointInventory; - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } @@ -112,7 +113,8 @@ public class RadarDataCubeAdapter extends PointDataCubeAdapter { @Override public PointDataContainer getBaseRecords( Collection baseParameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { return ((VwpInventory) inventory).getBaseRecords(baseParameters, queryParams); } @@ -171,7 +173,7 @@ public class RadarDataCubeAdapter extends PointDataCubeAdapter { @Override public List> timeQuery(List requests) - throws VizException { + throws DataCubeException { List dbRequests = new ArrayList( requests.size()); for (TimeQueryRequest request : requests) { @@ -180,8 +182,12 @@ public class RadarDataCubeAdapter extends PointDataCubeAdapter { } DbQueryRequestSet requestSet = new DbQueryRequestSet(); requestSet.setQueries(dbRequests.toArray(new DbQueryRequest[0])); - DbQueryResponseSet responseSet = (DbQueryResponseSet) ThriftClient - .sendRequest(requestSet); + DbQueryResponseSet responseSet; + try { + responseSet = (DbQueryResponseSet) RequestRouter.route(requestSet); + } catch (Exception e) { + throw new DataCubeException(e); + } List> result = new ArrayList>( requests.size()); for (int i = 0; i < requests.size(); i++) { diff --git a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/VwpInventory.java b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/VwpInventory.java index 80a36db81f..638d932c85 100644 --- a/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/VwpInventory.java +++ b/cave/com.raytheon.viz.radar/src/com/raytheon/viz/radar/util/VwpInventory.java @@ -28,6 +28,8 @@ import java.util.Collections; import java.util.List; import java.util.Map; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.util.RadarConstants; @@ -45,7 +47,7 @@ import com.raytheon.uf.common.datastorage.records.IntegerDataRecord; import com.raytheon.uf.common.datastorage.records.LongDataRecord; import com.raytheon.uf.common.datastorage.records.StringDataRecord; import com.raytheon.uf.common.pointdata.PointDataContainer; -import com.raytheon.uf.viz.core.HDF5Util; +import com.raytheon.uf.common.serialization.comm.RequestRouter; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; import com.raytheon.viz.pointdata.util.AbstractPointDataInventory; @@ -149,7 +151,8 @@ public class VwpInventory extends AbstractPointDataInventory { protected PointDataContainer getBaseRecords( Collection baseParameters, - Map queryParams) throws VizException { + Map queryParams) + throws DataCubeException { List baseParams = new ArrayList(baseParameters); baseParams.remove(LATITUDE); baseParams.remove(LONGITUDE); @@ -158,8 +161,13 @@ public class VwpInventory extends AbstractPointDataInventory { queryParams.put("productCode", new RequestConstraint(ProductCode)); queryParams.remove("type"); - DbQueryResponse response = (DbQueryResponse) ThriftClient - .sendRequest(new DbQueryRequest(queryParams)); + DbQueryResponse response; + try { + response = (DbQueryResponse) RequestRouter + .route(new DbQueryRequest(queryParams)); + } catch (Exception e1) { + throw new DataCubeException(e1); + } RadarRecord[] records = response.getEntityObjects(RadarRecord.class); for (RadarRecord record : records) { File loc = HDF5Util.findHDF5Location(record); @@ -167,10 +175,10 @@ public class VwpInventory extends AbstractPointDataInventory { try { RadarDataRetriever.populateRadarRecord(dataStore, record); } catch (FileNotFoundException e) { - throw new VizException( + throw new DataCubeException( "Error Retrieving VWP Data from Radar Record", e); } catch (StorageException e) { - throw new VizException( + throw new DataCubeException( "Error Retrieving VWP Data from Radar Record", e); } } diff --git a/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbook/rsc/RedbookResource.java b/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbook/rsc/RedbookResource.java index 3db50d9b98..b44d2b6ca1 100644 --- a/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbook/rsc/RedbookResource.java +++ b/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbook/rsc/RedbookResource.java @@ -28,6 +28,7 @@ import java.util.Set; import org.apache.commons.lang.Validate; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.redbook.RedbookRecord; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; @@ -40,7 +41,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.drawables.IFont; import com.raytheon.uf.viz.core.drawables.PaintProperties; diff --git a/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbookua/rsc/RedbookUpperAirResource.java b/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbookua/rsc/RedbookUpperAirResource.java index a84e9e944b..667daa23b2 100644 --- a/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbookua/rsc/RedbookUpperAirResource.java +++ b/cave/com.raytheon.viz.redbook/src/com/raytheon/viz/redbookua/rsc/RedbookUpperAirResource.java @@ -33,6 +33,7 @@ import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.redbook.RedbookRecord; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; @@ -47,7 +48,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IExtent; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.IGraphicsTarget.HorizontalAlignment; diff --git a/cave/com.raytheon.viz.satellite/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.satellite/META-INF/MANIFEST.MF index 41ba3ed83d..562f578c2e 100644 --- a/cave/com.raytheon.viz.satellite/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.satellite/META-INF/MANIFEST.MF @@ -18,12 +18,14 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.common.pointdata, com.raytheon.uf.common.message, com.raytheon.uf.viz.productbrowser, - com.raytheon.uf.viz.derivparam, + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", com.raytheon.uf.viz.ui.menus, com.raytheon.uf.common.style, com.raytheon.viz.ui, com.raytheon.viz.core, - javax.measure + javax.measure, + com.raytheon.uf.common.inventory;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube;bundle-version="1.14.0" Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.viz.satellite, com.raytheon.viz.satellite.rsc diff --git a/cave/com.raytheon.viz.satellite/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter b/cave/com.raytheon.viz.satellite/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter deleted file mode 100644 index 7424466324..0000000000 --- a/cave/com.raytheon.viz.satellite/META-INF/services/com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter +++ /dev/null @@ -1 +0,0 @@ -com.raytheon.viz.satellite.SatelliteDataCubeAdapter \ No newline at end of file diff --git a/cave/com.raytheon.viz.satellite/build.properties b/cave/com.raytheon.viz.satellite/build.properties index 6e2f847b66..847bfa511f 100644 --- a/cave/com.raytheon.viz.satellite/build.properties +++ b/cave/com.raytheon.viz.satellite/build.properties @@ -3,4 +3,5 @@ output.. = bin/ bin.includes = META-INF/,\ .,\ plugin.xml,\ - localization/ + localization/,\ + res/ diff --git a/cave/com.raytheon.viz.satellite/res/spring/satellite-datacube-spring.xml b/cave/com.raytheon.viz.satellite/res/spring/satellite-datacube-spring.xml new file mode 100644 index 0000000000..37c16e1f3f --- /dev/null +++ b/cave/com.raytheon.viz.satellite/res/spring/satellite-datacube-spring.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/SatelliteDataCubeAdapter.java b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/SatelliteDataCubeAdapter.java index db7576adcd..6b7bfae29e 100644 --- a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/SatelliteDataCubeAdapter.java +++ b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/SatelliteDataCubeAdapter.java @@ -43,6 +43,8 @@ import org.geotools.coverage.grid.GridCoverage2D; import org.geotools.coverage.grid.GridCoverageFactory; import org.geotools.coverage.grid.GridGeometry2D; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.satellite.SatMapCoverage; import com.raytheon.uf.common.dataplugin.satellite.SatelliteRecord; @@ -58,19 +60,17 @@ import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.geospatial.MapUtil; import com.raytheon.uf.common.time.BinOffset; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.catalog.CatalogQuery; -import com.raytheon.uf.viz.core.datastructure.DefaultDataCubeAdapter; -import com.raytheon.uf.viz.core.datastructure.IDataCubeAdapter; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; -import com.raytheon.uf.viz.derivparam.library.IDerivParamField; +import com.raytheon.uf.viz.datacube.DefaultDataCubeAdapter; +import com.raytheon.uf.viz.datacube.IDataCubeAdapter; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; +import com.raytheon.uf.common.derivparam.library.IDerivParamField; /** * {@link IDataCubeAdapter} for satellite plugin data @@ -112,7 +112,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { @Override public PluginDataObject[] getData( Map constraints, DataTime[] selectedTimes) - throws VizException { + throws DataCubeException { Map originalQuery = constraints; if (originalQuery.containsKey(DERIVED) == false) { return super.getData(originalQuery, selectedTimes); @@ -128,7 +128,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { if (!originalQuery.containsKey(PE) || !originalQuery.containsKey("pluginName")) { - throw new VizException("getData method requires more query " + throw new DataCubeException("getData method requires more query " + "information for plugin : " + originalQuery.get("pluginName").getConstraintValue()); } else { @@ -137,8 +137,13 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { requestedParam = physicalElements[physicalElements.length - 1]; } - List baseParams = new ArrayList( - Arrays.asList(CatalogQuery.performQuery(PE, modifiedQuery))); + List baseParams; + try { + baseParams = new ArrayList(Arrays.asList(CatalogQuery + .performQuery(PE, modifiedQuery))); + } catch (VizException e) { + throw new DataCubeException(e); + } if (!baseParams.contains(requestedParam) && derParLibrary.containsKey(requestedParam)) { @@ -208,7 +213,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { @Override public IDataRecord[] getRecord(PluginDataObject obj) - throws VizDataCubeException { + throws DataCubeException { if (obj.getMessageData() == null) { return super.getRecord(obj); } @@ -218,7 +223,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { @Override public IDataRecord[] getRecord(PluginDataObject obj, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { if (obj.getMessageData() == null) { return super.getRecord(obj, req, dataset); } @@ -284,7 +289,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { i++; } } catch (Exception e) { - throw new VizDataCubeException("Error in Satellite Data Cube", e); + throw new DataCubeException("Error in Satellite Data Cube", e); } derivedRequest.setArgumentRecords(bytes.toArray(new Object[] {})); @@ -292,7 +297,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { try { finalResult = DerivedParameterGenerator.calculate(derivedRequest); } catch (ExecutionException e) { - throw new VizDataCubeException(e); + throw new DataCubeException(e); } if (finalResult != null && finalResult.size() == 1) { @@ -310,7 +315,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { */ @Override public void getRecords(List objs, Request req, - String dataset) throws VizDataCubeException { + String dataset) throws DataCubeException { for (PluginDataObject obj : objs) { IDataRecord[] records = getRecord(obj, req, dataset); obj.setMessageData(records); @@ -412,7 +417,7 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { @Override public List> timeQuery(List requests) - throws VizException { + throws DataCubeException { Map derivedRequests = new HashMap(); List baseRequests = new ArrayList( requests.size()); @@ -431,9 +436,12 @@ public class SatelliteDataCubeAdapter extends DefaultDataCubeAdapter { } TimeQueryRequestSet set = new TimeQueryRequestSet(); set.setRequests(baseRequests.toArray(new TimeQueryRequest[0])); - @SuppressWarnings("unchecked") - List> baseResults = (List>) ThriftClient - .sendRequest(set); + List> baseResults; + try { + baseResults = (List>) ThriftClient.sendRequest(set); + } catch (VizException e) { + throw new DataCubeException(e); + } List> results = new ArrayList>( requests.size()); int baseIndex = 0; diff --git a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/data/prep/SatDataRetriever.java b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/data/prep/SatDataRetriever.java index e3e6006093..7fda1e15cc 100644 --- a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/data/prep/SatDataRetriever.java +++ b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/data/prep/SatDataRetriever.java @@ -23,6 +23,7 @@ import java.awt.Rectangle; import java.nio.ByteBuffer; import com.raytheon.uf.common.colormap.image.ColorMapData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.Request; @@ -32,8 +33,7 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.viz.core.data.IColorMapDataRetrievalCallback; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * Data retrieval callback for satellite data, uses the DataCubeContainer @@ -121,7 +121,7 @@ public class SatDataRetriever implements IColorMapDataRetrievalCallback { if (dataRecord != null && dataRecord.length == 1) { retData = ((ByteDataRecord) dataRecord[0]).getByteData(); } - } catch (VizDataCubeException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.SIGNIFICANT, "Error retrieving satellite data", e); } diff --git a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatBlendedResourceData.java b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatBlendedResourceData.java index 18ca7040cc..4485d0bb6c 100644 --- a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatBlendedResourceData.java +++ b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatBlendedResourceData.java @@ -43,7 +43,6 @@ import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.viz.core.RecordFactory; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.drawables.IDescriptor; import com.raytheon.uf.viz.core.drawables.ResourcePair; import com.raytheon.uf.viz.core.exception.NoDataAvailableException; @@ -56,6 +55,7 @@ import com.raytheon.uf.viz.core.rsc.AbstractVizResource; import com.raytheon.uf.viz.core.rsc.IResourceDataChanged; import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.ResourceList; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * TODO Add Description diff --git a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatFileBasedTileSet.java b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatFileBasedTileSet.java index 2261ff82bf..72eddf653b 100644 --- a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatFileBasedTileSet.java +++ b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatFileBasedTileSet.java @@ -30,6 +30,7 @@ import org.geotools.coverage.grid.GridGeometry2D; import org.opengis.referencing.datum.PixelInCell; import com.raytheon.uf.common.colormap.prefs.ColorMapParameters; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.satellite.units.generic.GenericPixel; import com.raytheon.uf.common.datastorage.StorageException; @@ -37,7 +38,6 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.viz.core.DrawableImage; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.drawables.IImage; import com.raytheon.uf.viz.core.drawables.PaintProperties; diff --git a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatResource.java b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatResource.java index df701f537e..66e2de9a71 100644 --- a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatResource.java +++ b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/rsc/SatResource.java @@ -66,7 +66,7 @@ import com.raytheon.uf.viz.core.rsc.AbstractPluginDataObjectResource; import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.capabilities.AbstractCapability; import com.raytheon.uf.viz.core.rsc.capabilities.ColorMapCapability; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; import com.raytheon.viz.satellite.SatelliteConstants; import com.raytheon.viz.satellite.tileset.SatDataRetriever; import com.raytheon.viz.satellite.tileset.SatTileSetRenderable; diff --git a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/tileset/SatDataRetriever.java b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/tileset/SatDataRetriever.java index 82df204d23..161c5e62d0 100644 --- a/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/tileset/SatDataRetriever.java +++ b/cave/com.raytheon.viz.satellite/src/com/raytheon/viz/satellite/tileset/SatDataRetriever.java @@ -32,6 +32,7 @@ import javax.measure.unit.UnitFormat; import com.raytheon.uf.common.colormap.image.ColorMapData; import com.raytheon.uf.common.colormap.image.ColorMapData.ColorMapDataType; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.satellite.SatelliteRecord; import com.raytheon.uf.common.dataplugin.satellite.units.counts.DerivedWVPixel; import com.raytheon.uf.common.dataplugin.satellite.units.generic.GenericPixel; @@ -46,9 +47,8 @@ import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.viz.core.data.IColorMapDataRetrievalCallback; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.datastructure.VizDataCubeException; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; +import com.raytheon.uf.viz.datacube.DataCubeContainer; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; import com.raytheon.viz.satellite.SatelliteConstants; /** @@ -117,7 +117,7 @@ public class SatDataRetriever implements IColorMapDataRetrievalCallback { signed = recordUnit instanceof GenericPixel; dataUnit = getDataUnit(recordUnit, record); } - } catch (VizDataCubeException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.SIGNIFICANT, "Error retrieving satellite data", e); } diff --git a/cave/com.raytheon.viz.volumebrowser/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.volumebrowser/META-INF/MANIFEST.MF index 5d095367a6..0996d21296 100644 --- a/cave/com.raytheon.viz.volumebrowser/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.volumebrowser/META-INF/MANIFEST.MF @@ -22,24 +22,26 @@ Require-Bundle: org.eclipse.ui, com.raytheon.viz.awipstools, com.raytheon.uf.viz.points, com.raytheon.uf.viz.xy, - com.raytheon.uf.viz.ui.menus, + com.raytheon.uf.viz.ui.menus, com.raytheon.uf.viz.xy.crosssection, com.raytheon.uf.viz.xy.timeheight, com.raytheon.uf.viz.xy.varheight, com.raytheon.uf.viz.xy.timeseries, com.raytheon.uf.viz.d2d.nsharp, gov.noaa.nws.ncep.ui.nsharp, - com.raytheon.uf.viz.derivparam, com.raytheon.uf.common.dataplugin, com.raytheon.viz.grid, com.raytheon.uf.common.dataplugin.grid, com.raytheon.uf.viz.objectiveanalysis, com.raytheon.viz.pointdata, com.raytheon.uf.common.pointdata, - com.raytheon.uf.common.comm + com.raytheon.uf.common.comm, + com.raytheon.uf.common.derivparam;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube Export-Package: com.raytheon.viz.volumebrowser, com.raytheon.viz.volumebrowser.datacatalog, com.raytheon.viz.volumebrowser.vbui, com.raytheon.viz.volumebrowser.xml -Import-Package: com.raytheon.viz.core.map, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.viz.core.map, com.raytheon.viz.core.rsc diff --git a/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/datacatalog/AbstractInventoryDataCatalog.java b/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/datacatalog/AbstractInventoryDataCatalog.java index 2c7831ab82..059810e77b 100644 --- a/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/datacatalog/AbstractInventoryDataCatalog.java +++ b/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/datacatalog/AbstractInventoryDataCatalog.java @@ -41,11 +41,11 @@ import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMapping; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMappingFactory; import com.raytheon.uf.common.dataplugin.level.util.LevelUtilities; +import com.raytheon.uf.common.derivparam.inv.AbstractInventory; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.derivparam.inv.AbstractInventory; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.volumebrowser.vbui.DataListsProdTableComp.DataSelection; import com.raytheon.viz.volumebrowser.vbui.MenuItemManager; import com.raytheon.viz.volumebrowser.vbui.SelectedData; diff --git a/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/vbui/ProductInventory.java b/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/vbui/ProductInventory.java index 27892b49d8..40357840f0 100644 --- a/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/vbui/ProductInventory.java +++ b/cave/com.raytheon.viz.volumebrowser/src/com/raytheon/viz/volumebrowser/vbui/ProductInventory.java @@ -32,10 +32,10 @@ import org.eclipse.core.runtime.jobs.IJobChangeEvent; import org.eclipse.core.runtime.jobs.Job; import org.eclipse.core.runtime.jobs.JobChangeAdapter; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; /** * This is the inventory available for a product. @@ -97,7 +97,7 @@ public class ProductInventory extends Job { try { dataTimes = DataCubeContainer.performTimeQuery( productParameters, false); - } catch (VizException e) { + } catch (DataCubeException e) { throw new RuntimeException(e); } diff --git a/cave/com.raytheon.viz.warnings/META-INF/MANIFEST.MF b/cave/com.raytheon.viz.warnings/META-INF/MANIFEST.MF index 8dea8c42d3..8a5790857e 100644 --- a/cave/com.raytheon.viz.warnings/META-INF/MANIFEST.MF +++ b/cave/com.raytheon.viz.warnings/META-INF/MANIFEST.MF @@ -12,10 +12,12 @@ Require-Bundle: org.eclipse.ui, com.raytheon.viz.ui, org.geotools, com.raytheon.viz.texteditor;bundle-version="1.11.5", - com.raytheon.uf.common.serialization.comm;bundle-version="1.11.22" + com.raytheon.uf.common.serialization.comm;bundle-version="1.11.22", + com.raytheon.uf.viz.datacube Bundle-ActivationPolicy: lazy Export-Package: com.raytheon.viz.warnings, com.raytheon.viz.warnings.rsc Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Import-Package: com.raytheon.uf.common.dataplugin.warning, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.dataplugin.warning, com.raytheon.uf.common.dataplugin.warning.util diff --git a/cave/com.raytheon.viz.warnings/src/com/raytheon/viz/warnings/rsc/AbstractWWAResource.java b/cave/com.raytheon.viz.warnings/src/com/raytheon/viz/warnings/rsc/AbstractWWAResource.java index 1690ed97c7..a030ae8d70 100644 --- a/cave/com.raytheon.viz.warnings/src/com/raytheon/viz/warnings/rsc/AbstractWWAResource.java +++ b/cave/com.raytheon.viz.warnings/src/com/raytheon/viz/warnings/rsc/AbstractWWAResource.java @@ -14,6 +14,7 @@ import java.util.concurrent.ConcurrentHashMap; import org.eclipse.swt.graphics.RGB; import org.opengis.referencing.crs.CoordinateReferenceSystem; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.warning.AbstractWarningRecord; import com.raytheon.uf.common.dataplugin.warning.EmergencyType; @@ -35,7 +36,6 @@ import com.raytheon.uf.viz.core.IGraphicsTarget.LineStyle; import com.raytheon.uf.viz.core.IGraphicsTarget.TextStyle; import com.raytheon.uf.viz.core.IGraphicsTarget.VerticalAlignment; import com.raytheon.uf.viz.core.VizApp; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.drawables.IDescriptor.FramesInfo; import com.raytheon.uf.viz.core.drawables.IFont; import com.raytheon.uf.viz.core.drawables.IShadedShape; @@ -49,6 +49,7 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.capabilities.ColorableCapability; import com.raytheon.uf.viz.core.rsc.capabilities.MagnificationCapability; import com.raytheon.uf.viz.core.rsc.capabilities.OutlineCapability; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.core.mode.CAVEMode; import com.raytheon.viz.warnings.DateUtil; import com.vividsolutions.jts.geom.Coordinate; @@ -589,7 +590,12 @@ public abstract class AbstractWWAResource extends earliestRequested = earliest; - PluginDataObject[] pdos = DataCubeContainer.getData(map); + PluginDataObject[] pdos; + try { + pdos = DataCubeContainer.getData(map); + } catch (DataCubeException e) { + throw new VizException(e); + } addRecord(sort(pdos)); } diff --git a/edexOsgi/com.raytheon.edex.plugin.radar/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.edex.plugin.radar/META-INF/MANIFEST.MF index 81b3c23d85..c2141ff8f5 100644 --- a/edexOsgi/com.raytheon.edex.plugin.radar/META-INF/MANIFEST.MF +++ b/edexOsgi/com.raytheon.edex.plugin.radar/META-INF/MANIFEST.MF @@ -10,7 +10,6 @@ Require-Bundle: com.raytheon.edex.common, org.geotools, com.raytheon.edex.uengine, com.raytheon.uf.common.dataplugin.level, - com.raytheon.uf.common.derivparam, com.raytheon.uf.common.localization, com.raytheon.uf.common.serialization.comm, com.raytheon.uf.common.status;bundle-version="1.11.11", @@ -25,5 +24,6 @@ Export-Package: com.raytheon.edex.plugin.radar, com.raytheon.edex.uengine.tasks.radar Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.inventory.tree, com.raytheon.uf.common.dataplugin.text.db, org.apache.commons.logging diff --git a/edexOsgi/com.raytheon.edex.plugin.radar/src/com/raytheon/edex/plugin/radar/handler/GetRadarDataTreeHandler.java b/edexOsgi/com.raytheon.edex.plugin.radar/src/com/raytheon/edex/plugin/radar/handler/GetRadarDataTreeHandler.java index f21e343dd1..d61b5fd873 100644 --- a/edexOsgi/com.raytheon.edex.plugin.radar/src/com/raytheon/edex/plugin/radar/handler/GetRadarDataTreeHandler.java +++ b/edexOsgi/com.raytheon.edex.plugin.radar/src/com/raytheon/edex/plugin/radar/handler/GetRadarDataTreeHandler.java @@ -23,11 +23,11 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import com.raytheon.uf.common.inventory.tree.DataTree; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataplugin.radar.RadarRecord; import com.raytheon.uf.common.dataplugin.radar.request.GetRadarDataTreeRequest; -import com.raytheon.uf.common.derivparam.tree.DataTree; import com.raytheon.uf.common.serialization.comm.IRequestHandler; import com.raytheon.uf.edex.database.dao.CoreDao; import com.raytheon.uf.edex.database.dao.DaoConfig; diff --git a/edexOsgi/com.raytheon.uf.common.base.feature/feature.xml b/edexOsgi/com.raytheon.uf.common.base.feature/feature.xml index 68e17f05c1..50d1f77f75 100644 --- a/edexOsgi/com.raytheon.uf.common.base.feature/feature.xml +++ b/edexOsgi/com.raytheon.uf.common.base.feature/feature.xml @@ -324,7 +324,7 @@ install-size="0" version="2.3.0" fragment="true"/> - + + + diff --git a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/HDF5Util.java b/edexOsgi/com.raytheon.uf.common.dataplugin/src/com/raytheon/uf/common/dataplugin/HDF5Util.java similarity index 95% rename from cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/HDF5Util.java rename to edexOsgi/com.raytheon.uf.common.dataplugin/src/com/raytheon/uf/common/dataplugin/HDF5Util.java index 1eedaffc78..3603a5abc3 100644 --- a/cave/com.raytheon.uf.viz.core/src/com/raytheon/uf/viz/core/HDF5Util.java +++ b/edexOsgi/com.raytheon.uf.common.dataplugin/src/com/raytheon/uf/common/dataplugin/HDF5Util.java @@ -17,11 +17,10 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.core; +package com.raytheon.uf.common.dataplugin; import java.io.File; -import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.persist.IHDFFilePathProvider; import com.raytheon.uf.common.dataplugin.persist.IPersistable; import com.raytheon.uf.common.localization.IPathManager; diff --git a/cave/com.raytheon.uf.viz.derivparam.python/.classpath b/edexOsgi/com.raytheon.uf.common.derivparam.python/.classpath similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/.classpath rename to edexOsgi/com.raytheon.uf.common.derivparam.python/.classpath diff --git a/cave/com.raytheon.uf.viz.derivparam.python/.project b/edexOsgi/com.raytheon.uf.common.derivparam.python/.project similarity index 93% rename from cave/com.raytheon.uf.viz.derivparam.python/.project rename to edexOsgi/com.raytheon.uf.common.derivparam.python/.project index ca565bc384..1621cdd4e3 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/.project +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/.project @@ -1,6 +1,6 @@ - com.raytheon.uf.viz.derivparam.python + com.raytheon.uf.common.derivparam.python diff --git a/cave/com.raytheon.uf.viz.derivparam.python/.pydevproject b/edexOsgi/com.raytheon.uf.common.derivparam.python/.pydevproject similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/.pydevproject rename to edexOsgi/com.raytheon.uf.common.derivparam.python/.pydevproject diff --git a/cave/com.raytheon.uf.viz.derivparam.python/.settings/org.eclipse.jdt.core.prefs b/edexOsgi/com.raytheon.uf.common.derivparam.python/.settings/org.eclipse.jdt.core.prefs similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/.settings/org.eclipse.jdt.core.prefs rename to edexOsgi/com.raytheon.uf.common.derivparam.python/.settings/org.eclipse.jdt.core.prefs diff --git a/cave/com.raytheon.uf.viz.derivparam.python/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.uf.common.derivparam.python/META-INF/MANIFEST.MF similarity index 55% rename from cave/com.raytheon.uf.viz.derivparam.python/META-INF/MANIFEST.MF rename to edexOsgi/com.raytheon.uf.common.derivparam.python/META-INF/MANIFEST.MF index f70cb4d6ed..b522ed5068 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/META-INF/MANIFEST.MF +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/META-INF/MANIFEST.MF @@ -1,17 +1,18 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Derived Parameter Python Plug-in -Bundle-SymbolicName: com.raytheon.uf.viz.derivparam.python;singleton:=true +Bundle-SymbolicName: com.raytheon.uf.common.derivparam.python;singleton:=true Bundle-Version: 1.14.0.qualifier Bundle-Vendor: RAYTHEON Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Require-Bundle: com.raytheon.uf.common.python, com.raytheon.uf.common.python.concurrent, - com.raytheon.uf.viz.derivparam;bundle-version="1.14.0", com.raytheon.uf.viz.core;bundle-version="1.13.0", com.raytheon.uf.common.wxmath, com.raytheon.uf.common.util, - com.raytheon.uf.common.datastorage -Export-Package: com.raytheon.uf.viz.derivparam.python, - com.raytheon.uf.viz.derivparam.python.function + com.raytheon.uf.common.datastorage, + com.raytheon.uf.common.derivparam;bundle-version="1.12.1174" +Export-Package: com.raytheon.uf.common.derivparam.python, + com.raytheon.uf.common.derivparam.python.function +Import-Package: com.raytheon.uf.common.inventory.tree diff --git a/cave/com.raytheon.uf.viz.derivparam.python/build.properties b/edexOsgi/com.raytheon.uf.common.derivparam.python/build.properties similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/build.properties rename to edexOsgi/com.raytheon.uf.common.derivparam.python/build.properties diff --git a/cave/com.raytheon.uf.viz.derivparam.python/com.raytheon.uf.viz.derivparam.python.ecl b/edexOsgi/com.raytheon.uf.common.derivparam.python/com.raytheon.uf.viz.derivparam.python.ecl similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/com.raytheon.uf.viz.derivparam.python.ecl rename to edexOsgi/com.raytheon.uf.common.derivparam.python/com.raytheon.uf.viz.derivparam.python.ecl diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/DerivParamPythonFunctionAdapter.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/DerivParamPythonFunctionAdapter.java similarity index 95% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/DerivParamPythonFunctionAdapter.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/DerivParamPythonFunctionAdapter.java index 3913565791..b06376b324 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/DerivParamPythonFunctionAdapter.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/DerivParamPythonFunctionAdapter.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python; +package com.raytheon.uf.common.derivparam.python; import java.io.File; import java.io.IOException; @@ -27,15 +27,15 @@ import java.util.List; import java.util.concurrent.ExecutionException; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.DerivParamFunctionType.FunctionArgument; +import com.raytheon.uf.common.derivparam.IDerivParamFunctionAdapter; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.localization.PathManagerFactory; import com.raytheon.uf.common.python.concurrent.PythonJobCoordinator; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.util.FileUtil; -import com.raytheon.uf.viz.derivparam.DerivParamFunctionType.FunctionArgument; -import com.raytheon.uf.viz.derivparam.IDerivParamFunctionAdapter; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; /** * Python derived parameter adapter diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScript.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScript.java similarity index 99% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScript.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScript.java index 3e89a873d6..155a274a70 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScript.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScript.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python; +package com.raytheon.uf.common.derivparam.python; import java.util.ArrayList; import java.util.Arrays; @@ -27,6 +27,7 @@ import java.util.Map; import jep.JepException; +import com.raytheon.uf.common.inventory.tree.CubeLevel; import com.raytheon.uf.common.datastorage.records.ByteDataRecord; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; @@ -35,8 +36,7 @@ import com.raytheon.uf.common.datastorage.records.LongDataRecord; import com.raytheon.uf.common.datastorage.records.ShortDataRecord; import com.raytheon.uf.common.datastorage.records.StringDataRecord; import com.raytheon.uf.common.python.PythonInterpreter; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; /** * A script for running the master derived parameter script, which can run any diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScriptExecutor.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScriptExecutor.java similarity index 97% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScriptExecutor.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScriptExecutor.java index 06e4b174d4..6488866696 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScriptExecutor.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScriptExecutor.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python; +package com.raytheon.uf.common.derivparam.python; import java.util.List; diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScriptFactory.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScriptFactory.java similarity index 95% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScriptFactory.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScriptFactory.java index bb1ac55a2d..1e5c5e80b0 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/MasterDerivScriptFactory.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/MasterDerivScriptFactory.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python; +package com.raytheon.uf.common.derivparam.python; import java.io.File; import java.util.ArrayList; @@ -26,6 +26,7 @@ import java.util.List; import jep.JepException; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; import com.raytheon.uf.common.localization.IPathManager; import com.raytheon.uf.common.localization.LocalizationContext.LocalizationType; import com.raytheon.uf.common.localization.LocalizationFile; @@ -33,7 +34,6 @@ import com.raytheon.uf.common.localization.LocalizationUtil; import com.raytheon.uf.common.localization.PathManagerFactory; import com.raytheon.uf.common.python.PyUtil; import com.raytheon.uf.common.python.concurrent.AbstractPythonScriptFactory; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; /** * Factory for creating and initializing MasterDerivScript. @@ -79,7 +79,7 @@ public class MasterDerivScriptFactory extends // Get list of all files for search hierarch of CAVE_STATIC LocalizationFile[] derivParamFiles = pm.listFiles( - pm.getLocalSearchHierarchy(LocalizationType.CAVE_STATIC), + pm.getLocalSearchHierarchy(LocalizationType.COMMON_STATIC), DerivedParameterGenerator.DERIV_PARAM_DIR, null, false, false); List functionDirs = new ArrayList( derivParamFiles.length); diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/CapeFuncPythonAdapter.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/CapeFuncPythonAdapter.java similarity index 97% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/CapeFuncPythonAdapter.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/CapeFuncPythonAdapter.java index 6448eb18eb..eeecbbeb4b 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/CapeFuncPythonAdapter.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/CapeFuncPythonAdapter.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python.function; +package com.raytheon.uf.common.derivparam.python.function; import jep.INumpyable; diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/DCapeFuncPythonAdapter.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/DCapeFuncPythonAdapter.java similarity index 96% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/DCapeFuncPythonAdapter.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/DCapeFuncPythonAdapter.java index f505ceb252..b0b5d0f9fa 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/DCapeFuncPythonAdapter.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/DCapeFuncPythonAdapter.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python.function; +package com.raytheon.uf.common.derivparam.python.function; import jep.INumpyable; diff --git a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/DistFilterPythonAdapter.java b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/DistFilterPythonAdapter.java similarity index 96% rename from cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/DistFilterPythonAdapter.java rename to edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/DistFilterPythonAdapter.java index a3a8923baf..3cc54e042a 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/src/com/raytheon/uf/viz/derivparam/python/function/DistFilterPythonAdapter.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam.python/src/com/raytheon/uf/common/derivparam/python/function/DistFilterPythonAdapter.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.python.function; +package com.raytheon.uf.common.derivparam.python.function; import jep.INumpyable; diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Add.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Add.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Add.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Add.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/AdiabaticTemp.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/AdiabaticTemp.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/AdiabaticTemp.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/AdiabaticTemp.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Advection.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Advection.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Advection.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Advection.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Alt24Chg.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Alt24Chg.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Alt24Chg.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Alt24Chg.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Alt2Pres.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Alt2Pres.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Alt2Pres.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Alt2Pres.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Average.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Average.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Average.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Average.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/CPOP.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/CPOP.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/CPOP.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/CPOP.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Cape.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Cape.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Cape.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Cape.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Cin.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Cin.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Cin.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Cin.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/ColumnSample.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/ColumnSample.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/ColumnSample.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/ColumnSample.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/CompBy.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/CompBy.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/CompBy.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/CompBy.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/CondPres.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/CondPres.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/CondPres.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/CondPres.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Dcape.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Dcape.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Dcape.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Dcape.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Deformation.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Deformation.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Deformation.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Deformation.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/DeformationComponent.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/DeformationComponent.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/DeformationComponent.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/DeformationComponent.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Derivative.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Derivative.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Derivative.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Derivative.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/DgeoComps.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/DgeoComps.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/DgeoComps.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/DgeoComps.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Difference.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Difference.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Difference.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Difference.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Dir24Chg.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Dir24Chg.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Dir24Chg.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Dir24Chg.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Direction.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Direction.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Direction.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Direction.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Divergence.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Divergence.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Divergence.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Divergence.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Divide.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Divide.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Divide.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Divide.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Dp24Chg.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Dp24Chg.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Dp24Chg.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Dp24Chg.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/DpT.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/DpT.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/DpT.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/DpT.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Filter.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Filter.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Filter.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Filter.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/FunctionTest.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/FunctionTest.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/FunctionTest.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/FunctionTest.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/GH.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/GH.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/GH.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/GH.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/GeoWind.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/GeoWind.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/GeoWind.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/GeoWind.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Gradient.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Gradient.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Gradient.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Gradient.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/HIWC.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/HIWC.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/HIWC.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/HIWC.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/HeatIndex.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/HeatIndex.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/HeatIndex.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/HeatIndex.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Heli.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Heli.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Heli.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Heli.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Hgt2Pres.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Hgt2Pres.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Hgt2Pres.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Hgt2Pres.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/HydroLdadPrecip.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/HydroLdadPrecip.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/HydroLdadPrecip.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/HydroLdadPrecip.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Interp.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Interp.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Interp.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Interp.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/IsenStability.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/IsenStability.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/IsenStability.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/IsenStability.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Laplacian.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Laplacian.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Laplacian.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Laplacian.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LapseRate.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LapseRate.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LapseRate.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LapseRate.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LiftedIndex.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LiftedIndex.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LiftedIndex.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LiftedIndex.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LinTrans.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LinTrans.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LinTrans.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LinTrans.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LinearInterp.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LinearInterp.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LinearInterp.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LinearInterp.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LvlFgen.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LvlFgen.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LvlFgen.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LvlFgen.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LvlQvec.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LvlQvec.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LvlQvec.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LvlQvec.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LyrFgen.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LyrFgen.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LyrFgen.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LyrFgen.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LyrQvec.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LyrQvec.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/LyrQvec.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/LyrQvec.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/MSL.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/MSL.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/MSL.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/MSL.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Magnitude.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Magnitude.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Magnitude.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Magnitude.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Mapping.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Mapping.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Mapping.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Mapping.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Max.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Max.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Max.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Max.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/MetarPrecip.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/MetarPrecip.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/MetarPrecip.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/MetarPrecip.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Min.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Min.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Min.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Min.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Mslp2Thk.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Mslp2Thk.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Mslp2Thk.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Mslp2Thk.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Multiply.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Multiply.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Multiply.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Multiply.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/NAdgdt.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/NAdgdt.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/NAdgdt.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/NAdgdt.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Negate.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Negate.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Negate.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Negate.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/P.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/P.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/P.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/P.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PTyp.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PTyp.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PTyp.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PTyp.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PVV.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PVV.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PVV.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PVV.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PartialDerivative.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PartialDerivative.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PartialDerivative.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PartialDerivative.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PoT.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PoT.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PoT.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PoT.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Poly.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Poly.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Poly.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Poly.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PotVortK.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PotVortK.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PotVortK.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PotVortK.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PotVortMB.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PotVortMB.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PotVortMB.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PotVortMB.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Power.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Power.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Power.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Power.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PrCldLayer.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PrCldLayer.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/PrCldLayer.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/PrCldLayer.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/QcFilter.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/QcFilter.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/QcFilter.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/QcFilter.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/RH.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/RH.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/RH.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/RH.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/RaobInterleave.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/RaobInterleave.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/RaobInterleave.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/RaobInterleave.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/RaobParam.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/RaobParam.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/RaobParam.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/RaobParam.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Rotate.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Rotate.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Rotate.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Rotate.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/SHx.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/SHx.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/SHx.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/SHx.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Shear.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Shear.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Shear.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Shear.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Slice.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Slice.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Slice.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Slice.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/SliceSample.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/SliceSample.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/SliceSample.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/SliceSample.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Spd24Chg.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Spd24Chg.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Spd24Chg.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Spd24Chg.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/SpecHum.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/SpecHum.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/SpecHum.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/SpecHum.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/StdDev.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/StdDev.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/StdDev.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/StdDev.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/StdMOS.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/StdMOS.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/StdMOS.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/StdMOS.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Sweat.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Sweat.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Sweat.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Sweat.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/T.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/T.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/T.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/T.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/T24Chg.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/T24Chg.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/T24Chg.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/T24Chg.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TP6hr.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TP6hr.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TP6hr.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TP6hr.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TV.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TV.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TV.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TV.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TW.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TW.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TW.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TW.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TempOfTe.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TempOfTe.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/TempOfTe.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/TempOfTe.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Temperature.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Temperature.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Temperature.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Temperature.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Test.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Test.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Test.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Test.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/ThPcat.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/ThPcat.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/ThPcat.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/ThPcat.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/ThetaE.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/ThetaE.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/ThetaE.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/ThetaE.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/U.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/U.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/U.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/U.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/V.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/V.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/V.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/V.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Vector.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Vector.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Vector.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Vector.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/VertCirc.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/VertCirc.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/VertCirc.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/VertCirc.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Vorticity.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Vorticity.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Vorticity.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Vorticity.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/VorticityAdv.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/VorticityAdv.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/VorticityAdv.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/VorticityAdv.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/WindChill.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/WindChill.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/WindChill.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/WindChill.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/WndChl.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/WndChl.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/WndChl.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/WndChl.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Zero.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Zero.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/Zero.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/Zero.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/__init__.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/__init__.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/__init__.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/__init__.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/lsrSample.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/lsrSample.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/lsrSample.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/lsrSample.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/meteolib.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/meteolib.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/meteolib.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/meteolib.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/mixRat.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/mixRat.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/mixRat.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/mixRat.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/presWeather.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/presWeather.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/presWeather.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/presWeather.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/satDif11u3_9uIR.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/satDif11u3_9uIR.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/satDif11u3_9uIR.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/satDif11u3_9uIR.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/satDifference.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/satDifference.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/satDifference.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/satDifference.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/satDivWVIR.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/satDivWVIR.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/satDivWVIR.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/satDivWVIR.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/sceConv.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/sceConv.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/sceConv.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/sceConv.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/stdMaxWindSpeed.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/stdMaxWindSpeed.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/stdMaxWindSpeed.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/stdMaxWindSpeed.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/sweConv.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/sweConv.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/sweConv.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/sweConv.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/uW.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/uW.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/uW.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/uW.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/unit.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/unit.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/unit.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/unit.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/vW.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/vW.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/vW.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/vW.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/vwpSample.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/vwpSample.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/vwpSample.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/vwpSample.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/wvHeight.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/wvHeight.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/wvHeight.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/wvHeight.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/wvPeriod.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/wvPeriod.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/wvPeriod.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/wvPeriod.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/wvType.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/wvType.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/functions/wvType.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/functions/wvType.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/python/DerivParamImporter.py b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/python/DerivParamImporter.py similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/python/DerivParamImporter.py rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/python/DerivParamImporter.py diff --git a/cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/python/functionTemplate.txt b/edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/python/functionTemplate.txt similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam.python/localization/derivedParameters/python/functionTemplate.txt rename to edexOsgi/com.raytheon.uf.common.derivparam.python/utility/common_static/derivedParameters/python/functionTemplate.txt diff --git a/edexOsgi/com.raytheon.uf.common.derivparam/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.uf.common.derivparam/META-INF/MANIFEST.MF index fe3a0e1fb3..0dddbca46f 100644 --- a/edexOsgi/com.raytheon.uf.common.derivparam/META-INF/MANIFEST.MF +++ b/edexOsgi/com.raytheon.uf.common.derivparam/META-INF/MANIFEST.MF @@ -2,15 +2,43 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Derived Parameter Plug-in Bundle-SymbolicName: com.raytheon.uf.common.derivparam -Bundle-Version: 1.12.1174.qualifier +Bundle-Version: 1.14.0.qualifier Bundle-Vendor: RAYTHEON Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-ActivationPolicy: lazy Eclipse-RegisterBuddy: com.raytheon.uf.common.serialization Eclipse-BuddyPolicy: registered, ext, global Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.inventory.data, + com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.inventory, + com.raytheon.uf.common.inventory.tree, + com.raytheon.uf.common.dataplugin, com.raytheon.uf.common.dataplugin.level, + com.raytheon.uf.common.dataplugin.level.mapping, + com.raytheon.uf.common.dataplugin.level.util, + com.raytheon.uf.common.dataplugin.persist, + com.raytheon.uf.common.dataquery.requests, + com.raytheon.uf.common.dataquery.responses, + com.raytheon.uf.common.datastorage, + com.raytheon.uf.common.datastorage.records, + com.raytheon.uf.common.geospatial, + com.raytheon.uf.common.localization, + com.raytheon.uf.common.pointdata, com.raytheon.uf.common.serialization, + com.raytheon.uf.common.serialization.adapters, com.raytheon.uf.common.serialization.annotations, + com.raytheon.uf.common.serialization.comm, + com.raytheon.uf.common.status, + com.raytheon.uf.common.time, + com.raytheon.uf.common.util.mapping, + javax.measure, + javax.measure.converter, + javax.measure.unit, javax.persistence -Export-Package: com.raytheon.uf.common.derivparam.tree +Export-Package: com.raytheon.uf.common.derivparam, + com.raytheon.uf.common.derivparam.data, + com.raytheon.uf.common.derivparam.inv, + com.raytheon.uf.common.derivparam.library, + com.raytheon.uf.common.derivparam.tree +Require-Bundle: org.geotools;bundle-version="10.5.0" diff --git a/cave/com.raytheon.uf.viz.derivparam.python/res/spring/derived-parameters-python-spring.xml b/edexOsgi/com.raytheon.uf.common.derivparam/res/spring/derived-parameters-python-spring.xml similarity index 73% rename from cave/com.raytheon.uf.viz.derivparam.python/res/spring/derived-parameters-python-spring.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/res/spring/derived-parameters-python-spring.xml index af077688c7..8182dd7208 100644 --- a/cave/com.raytheon.uf.viz.derivparam.python/res/spring/derived-parameters-python-spring.xml +++ b/edexOsgi/com.raytheon.uf.common.derivparam/res/spring/derived-parameters-python-spring.xml @@ -3,10 +3,10 @@ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd"> + class="com.raytheon.uf.common.derivparam.python.DerivParamPythonFunctionAdapter" /> diff --git a/cave/com.raytheon.uf.viz.derivparam/schema/functionType.exsd b/edexOsgi/com.raytheon.uf.common.derivparam/schema/functionType.exsd similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/schema/functionType.exsd rename to edexOsgi/com.raytheon.uf.common.derivparam/schema/functionType.exsd diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/DerivParamFunctionType.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/DerivParamFunctionType.java similarity index 98% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/DerivParamFunctionType.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/DerivParamFunctionType.java index 1987acf69d..eab0bd6952 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/DerivParamFunctionType.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/DerivParamFunctionType.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam; +package com.raytheon.uf.common.derivparam; /** * Class that defines a derived parameter function diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/IDerivParamFunctionAdapter.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/IDerivParamFunctionAdapter.java similarity index 95% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/IDerivParamFunctionAdapter.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/IDerivParamFunctionAdapter.java index 8f5b850e84..0e5be24f2d 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/IDerivParamFunctionAdapter.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/IDerivParamFunctionAdapter.java @@ -17,13 +17,13 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam; +package com.raytheon.uf.common.derivparam; import java.util.List; import java.util.concurrent.ExecutionException; import com.raytheon.uf.common.datastorage.records.IDataRecord; -import com.raytheon.uf.viz.derivparam.DerivParamFunctionType.FunctionArgument; +import com.raytheon.uf.common.derivparam.DerivParamFunctionType.FunctionArgument; /** * Derived parameter function adapter, used to execution functions diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/DerivedRequestableData.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/data/DerivedRequestableData.java similarity index 88% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/DerivedRequestableData.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/data/DerivedRequestableData.java index 43e556e222..e3571981d4 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/DerivedRequestableData.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/data/DerivedRequestableData.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.common.derivparam.data; import java.lang.ref.WeakReference; import java.util.ArrayList; @@ -27,13 +27,16 @@ import java.util.List; import java.util.Map; import java.util.concurrent.ExecutionException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AggregateRequestableData; +import com.raytheon.uf.common.inventory.data.CubeRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.CubeLevel; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; /** * TODO Add Description @@ -76,7 +79,7 @@ public class DerivedRequestableData extends AbstractRequestableData { } @Override - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { DerivedParameterRequest request = createDerparRequest(arg); try { List finalResult = DerivedParameterGenerator @@ -88,7 +91,7 @@ public class DerivedRequestableData extends AbstractRequestableData { return finalResult.toArray(new IDataRecord[0]); } } catch (ExecutionException e) { - throw new VizException("Error executing Derived Parameter.", e); + throw new DataCubeException("Error executing Derived Parameter.", e); } return null; } @@ -104,7 +107,7 @@ public class DerivedRequestableData extends AbstractRequestableData { * @throws VizException */ private synchronized DerivedParameterRequest createDerparRequest(Object arg) - throws VizException { + throws DataCubeException { if (cache.containsKey(arg)) { DerivedParameterRequest request = cache.get(arg).get(); if (request != null) { @@ -124,7 +127,7 @@ public class DerivedRequestableData extends AbstractRequestableData { } private Object getArgument(Object param, Object frameworkArg) - throws VizException { + throws DataCubeException { if (param instanceof DerivedRequestableData) { return ((DerivedRequestableData) param) .createDerparRequest(frameworkArg); @@ -156,7 +159,8 @@ public class DerivedRequestableData extends AbstractRequestableData { } else if (param instanceof float[] || param instanceof FloatDataRecord) { return param; } - throw new VizException("Unknown BaseParam for DerivedParam of type: " + throw new DataCubeException( + "Unknown BaseParam for DerivedParam of type: " + param.getClass().getSimpleName()); } diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/AbstractInventory.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/AbstractInventory.java similarity index 92% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/AbstractInventory.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/AbstractInventory.java index 03e6a3ff20..da5f44e2fe 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/AbstractInventory.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/AbstractInventory.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.inv; +package com.raytheon.uf.common.derivparam.inv; import java.util.ArrayDeque; import java.util.ArrayList; @@ -34,41 +34,40 @@ import java.util.SortedSet; import java.util.concurrent.BlockingQueue; import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.FloatRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.DataTree; +import com.raytheon.uf.common.inventory.tree.LevelNode; +import com.raytheon.uf.common.inventory.tree.ParameterNode; +import com.raytheon.uf.common.inventory.tree.SourceNode; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataplugin.level.util.LevelUtilities; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.AbstractNode; -import com.raytheon.uf.common.derivparam.tree.DataTree; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.common.derivparam.tree.ParameterNode; -import com.raytheon.uf.common.derivparam.tree.SourceNode; +import com.raytheon.uf.common.derivparam.library.DerivParamConstantField; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator; +import com.raytheon.uf.common.derivparam.library.IDerivParamField; +import com.raytheon.uf.common.derivparam.library.LevelType; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod.FrameworkMethod; +import com.raytheon.uf.common.derivparam.library.DerivedParameterGenerator.DerivParamUpdateListener; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; +import com.raytheon.uf.common.derivparam.tree.AliasLevelNode; +import com.raytheon.uf.common.derivparam.tree.CompositeAverageLevelNode; +import com.raytheon.uf.common.derivparam.tree.DerivedLevelNode; +import com.raytheon.uf.common.derivparam.tree.OrLevelNode; +import com.raytheon.uf.common.derivparam.tree.StaticDataLevelNode; +import com.raytheon.uf.common.derivparam.tree.TimeRangeLevelNode; +import com.raytheon.uf.common.derivparam.tree.UnionLevelNode; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizCommunicationException; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.FloatRequestableData; -import com.raytheon.uf.viz.derivparam.library.DerivParamConstantField; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod.FrameworkMethod; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterGenerator.DerivParamUpdateListener; -import com.raytheon.uf.viz.derivparam.library.IDerivParamField; -import com.raytheon.uf.viz.derivparam.library.LevelType; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.AliasLevelNode; -import com.raytheon.uf.viz.derivparam.tree.CompositeAverageLevelNode; -import com.raytheon.uf.viz.derivparam.tree.DerivedLevelNode; -import com.raytheon.uf.viz.derivparam.tree.OrLevelNode; -import com.raytheon.uf.viz.derivparam.tree.StaticDataLevelNode; -import com.raytheon.uf.viz.derivparam.tree.TimeRangeLevelNode; -import com.raytheon.uf.viz.derivparam.tree.UnionLevelNode; /** * @@ -201,7 +200,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { * */ public synchronized void initTree(Map derParLibrary) - throws VizException { + throws DataCubeException { DerivedParameterGenerator.registerUpdateListener(this); if (derParLibrary == null) { this.derParLibrary = new HashMap(0); @@ -220,7 +219,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { for (SourceNode sourceNode : dataTree.getSourceNodes().values()) { try { doSupplement(sourceNode); - } catch (VizCommunicationException e) { + } catch (CommunicationException e) { // TODO need to recover from this statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); @@ -241,7 +240,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { public void updateDerParLibrary(Map derParLibrary) { try { initTree(derParLibrary); - } catch (VizException e) { + } catch (DataCubeException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } } @@ -283,8 +282,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { * @param sNode * @throws VizCommunicationException */ - private void doSupplement(SourceNode sNode) - throws VizCommunicationException { + private void doSupplement(SourceNode sNode) throws CommunicationException { Set nodata = new HashSet(); Deque stack = new ArrayDeque(); for (DerivParamDesc desc : derParLibrary.values()) { @@ -329,7 +327,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { } } - protected abstract DataTree createBaseTree() throws VizException; + protected abstract DataTree createBaseTree() throws DataCubeException; /** * Handle a query for a time agnostic node. @@ -338,7 +336,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { * @return */ public abstract List timeAgnosticQuery( - Map query) throws VizException; + Map query) throws DataCubeException; /** * Returns the allSources field if it is set, if it is unset will return all @@ -645,7 +643,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { try { result = resolveNode(node, param, level, stack, nodata); - } catch (VizCommunicationException e) { + } catch (CommunicationException e) { statusHandler.handle(Priority.PROBLEM, e.getLocalizedMessage(), e); } @@ -702,7 +700,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { alias = resolveNode( dataTree.getSourceNode(aliasModel), param, level, stack, nodata); - } catch (VizCommunicationException e) { + } catch (CommunicationException e) { statusHandler.handle( Priority.PROBLEM, e.getLocalizedMessage(), e); @@ -775,7 +773,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { protected synchronized AbstractRequestableNode resolveNode( SourceNode sourceNode, String param, Level level, Deque stack, Set nodata) - throws VizCommunicationException { + throws CommunicationException { ParameterNode pNode = sourceNode.getChildNode(param); LevelNode lNode = pNode == null ? null : pNode.getChildNode(Long .toString(level.getId())); @@ -913,12 +911,8 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { if (level.isRangeLevel()) { Level upperLevel; Level lowerLevel; - try { - upperLevel = level.getUpperLevel(); - lowerLevel = level.getLowerLevel(); - } catch (CommunicationException e) { - throw new VizCommunicationException(e); - } + upperLevel = level.getUpperLevel(); + lowerLevel = level.getLowerLevel(); List nodes = new ArrayList(); int endCount = 0; @@ -936,13 +930,9 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { nodes.add(target); } SortedSet levels = null; - try { - levels = LevelUtilities.getOrderedSetOfStandardLevels( - level.getMasterLevel().getName()).subSet( - lowerLevel, false, upperLevel, false); - } catch ( CommunicationException e ) { - throw new VizCommunicationException(e); - } + levels = LevelUtilities.getOrderedSetOfStandardLevels( + level.getMasterLevel().getName()).subSet(lowerLevel, + false, upperLevel, false); for (Level fieldLevel : levels) { target = resolveNode(sourceNode, param, fieldLevel, stack, nodata); @@ -1020,7 +1010,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { */ private synchronized Object resolveField(SourceNode sourceNode, Level level, IDerivParamField ifield, Deque stack, - Set nodata) throws VizCommunicationException { + Set nodata) throws CommunicationException { // process the next field if (ifield.getClass() == DerivParamConstantField.class) { return new FloatRequestableData( @@ -1065,30 +1055,22 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { if (type == null) { fieldLevel = level; } else if (level.isRangeLevel()) { - try { - if (type == LevelType.Upper) { - fieldLevel = level.getUpperLevel(); - } else { - fieldLevel = level.getLowerLevel(); - } - } catch (CommunicationException e) { - throw new VizCommunicationException(e); + if (type == LevelType.Upper) { + fieldLevel = level.getUpperLevel(); + } else { + fieldLevel = level.getLowerLevel(); } } else { SortedSet levels = null; - try { - if (type == LevelType.Upper) { - levels = LevelUtilities.getOrderedSetOfStandardLevels( - level.getMasterLevel().getName()).tailSet( - level, false); - } else { - levels = LevelUtilities - .getOrderedSetOfStandardLevels( - level.getMasterLevel().getName()) - .headSet(level, false).descendingSet(); - } - } catch ( CommunicationException e ) { - throw new VizCommunicationException(e); + if (type == LevelType.Upper) { + levels = LevelUtilities.getOrderedSetOfStandardLevels( + level.getMasterLevel().getName()).tailSet(level, + false); + } else { + levels = LevelUtilities + .getOrderedSetOfStandardLevels( + level.getMasterLevel().getName()) + .headSet(level, false).descendingSet(); } for (Level l : levels) { target = resolveNode(fieldSourceNode, fieldParamAbbrev, l, @@ -1115,11 +1097,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { } else if (type == LevelType.LevelMapping) { LevelNode target = null; List levels; - try { - levels = field.getLevelMapping().getLevels(); - } catch (CommunicationException e) { - throw new VizCommunicationException(e); - } + levels = field.getLevelMapping().getLevels(); for (Level fieldLevel : levels) { target = resolveNode(fieldSourceNode, fieldParamAbbrev, fieldLevel, stack, nodata); @@ -1142,7 +1120,7 @@ public abstract class AbstractInventory implements DerivParamUpdateListener { protected abstract LevelNode getCubeNode(SourceNode sNode, DerivParamField field, Deque stack, - Set nodata) throws VizCommunicationException; + Set nodata) throws CommunicationException; protected abstract AbstractDerivedDataNode getImportNode( AbstractRequestableData nodeToImport, SourceNode destSourceNode, diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/AvailabilityContainer.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/AvailabilityContainer.java similarity index 91% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/AvailabilityContainer.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/AvailabilityContainer.java index 7725c986f4..89c6fa638f 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/AvailabilityContainer.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/AvailabilityContainer.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.inv; +package com.raytheon.uf.common.derivparam.inv; import java.util.ArrayList; import java.util.Arrays; @@ -29,17 +29,18 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode.Dependency; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.DbQueryRequestSet; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; import com.raytheon.uf.common.dataquery.responses.DbQueryResponseSet; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; import com.raytheon.uf.common.serialization.comm.RequestRouter; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode.Dependency; /** * Object for determining the vailability(in time and space) when a @@ -89,7 +90,7 @@ public class AvailabilityContainer { * @throws VizException */ public synchronized Set getAvailability( - AbstractRequestableNode node) throws VizException { + AbstractRequestableNode node) throws DataCubeException { return getAvailability(node, true); } @@ -104,7 +105,7 @@ public class AvailabilityContainer { * @throws VizException */ private Set getAvailability(AbstractRequestableNode node, - boolean doRequests) throws VizException { + boolean doRequests) throws DataCubeException { if (availabilityCache.containsKey(node)) { return availabilityCache.get(node); } @@ -172,7 +173,7 @@ public class AvailabilityContainer { * * @throws VizException */ - protected void processRequests() throws VizException { + protected void processRequests() throws DataCubeException { List requests = getAvailabilityRequests(); Map responseMap = new HashMap( (int) (requests.size() / 0.75) + 1, 0.75f); @@ -184,7 +185,7 @@ public class AvailabilityContainer { responseSet = (DbQueryResponseSet) RequestRouter .route(requestSet); } catch (Exception e) { - throw new VizException(e); + throw new DataCubeException(e); } DbQueryResponse[] responses = responseSet.getResults(); @@ -210,7 +211,8 @@ public class AvailabilityContainer { } public synchronized void setAvailabilityResponses( - Map responses) throws VizException { + Map responses) + throws DataCubeException { for (Entry entry : requestCache .entrySet()) { DbQueryResponse response = null; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/MetadataContainer.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/MetadataContainer.java similarity index 91% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/MetadataContainer.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/MetadataContainer.java index c74eed296b..3022b78fbe 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/MetadataContainer.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/inv/MetadataContainer.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.inv; +package com.raytheon.uf.common.derivparam.inv; import java.util.ArrayList; import java.util.Collections; @@ -28,17 +28,18 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode.Dependency; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.DbQueryRequestSet; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.responses.DbQueryResponseSet; +import com.raytheon.uf.common.derivparam.tree.AbstractBaseDataNode; +import com.raytheon.uf.common.derivparam.tree.AbstractDerivedDataNode; import com.raytheon.uf.common.serialization.comm.RequestRouter; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.tree.AbstractBaseDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractDerivedDataNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode; -import com.raytheon.uf.viz.derivparam.tree.AbstractRequestableNode.Dependency; /** * Class is responsible for pulling AbstractRequestableData out of @@ -89,7 +90,7 @@ public class MetadataContainer { * @throws VizException */ public synchronized void prepareRequests(AbstractRequestableNode node, - Set availability) throws VizException { + Set availability) throws DataCubeException { generateAvailability(node, availability); } @@ -105,7 +106,7 @@ public class MetadataContainer { */ public synchronized Set getData( AbstractRequestableNode node, Set availability) - throws VizException { + throws DataCubeException { return getData(node, availability, true); } @@ -121,7 +122,7 @@ public class MetadataContainer { */ private Set getData(AbstractRequestableNode node, Set availability, boolean doRequests) - throws VizException { + throws DataCubeException { if (dataCache.containsKey(node)) { return dataCache.get(node); } else if (availability == null || availability.isEmpty()) { @@ -165,7 +166,7 @@ public class MetadataContainer { * @throws VizException */ private void generateAvailability(AbstractRequestableNode node, - Set availability) throws VizException { + Set availability) throws DataCubeException { Set c = availCache.get(node); if (c != null) { if (c.containsAll(availability)) { @@ -197,7 +198,7 @@ public class MetadataContainer { * * @throws VizException */ - protected void processRequests() throws VizException { + protected void processRequests() throws DataCubeException { List nodes = new ArrayList(); List requests = new ArrayList(); for (AbstractRequestableNode node : availCache.keySet()) { @@ -228,7 +229,7 @@ public class MetadataContainer { try { responseSet = (DbQueryResponseSet) RequestRouter.route(requestSet); } catch (Exception e) { - throw new VizException(e); + throw new DataCubeException(e); } for (int i = 0; i < nodes.size(); i++) { AbstractBaseDataNode node = nodes.get(i); diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamConstantField.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamConstantField.java similarity index 97% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamConstantField.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamConstantField.java index 932e734135..fd85b0c1ce 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamConstantField.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamConstantField.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamDesc.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamDesc.java similarity index 98% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamDesc.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamDesc.java index 4476e940f8..4250287d3d 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamDesc.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamDesc.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import java.util.ArrayList; import java.util.List; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamField.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamField.java similarity index 93% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamField.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamField.java index cedf8ff936..e92aaf3ade 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamField.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamField.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import javax.measure.unit.Unit; import javax.xml.bind.annotation.XmlAccessType; @@ -27,10 +27,10 @@ import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; +import com.raytheon.uf.common.comm.CommunicationException; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMapping; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMappingFactory; import com.raytheon.uf.common.serialization.adapters.UnitAdapter; -import com.raytheon.uf.viz.core.exception.VizCommunicationException; /** * Metadata about a derived parameter field. @@ -84,14 +84,14 @@ public class DerivParamField implements IDerivParamField { this.param = param; } - public LevelMapping getLevelMapping() throws VizCommunicationException { + public LevelMapping getLevelMapping() throws CommunicationException { if (levelType == null && level != null) { setLevel(level); } return levelMapping; } - public LevelType getLevelType() throws VizCommunicationException { + public LevelType getLevelType() throws CommunicationException { if (levelType == null && level != null) { setLevel(level); } @@ -129,7 +129,7 @@ public class DerivParamField implements IDerivParamField { * case levelType and levelMapping will both be reset to null * @throws VizCommunicationException */ - public boolean setLevel(String level) throws VizCommunicationException { + public boolean setLevel(String level) throws CommunicationException { levelType = LevelType.parseLevel(level); if (levelType == LevelType.LevelMapping) { levelMapping = LevelMappingFactory.getInstance( diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamMethod.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamMethod.java similarity index 90% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamMethod.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamMethod.java index f70e9cc4de..347becc6db 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivParamMethod.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivParamMethod.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import java.util.ArrayList; import java.util.Arrays; @@ -33,12 +33,12 @@ import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlTransient; +import com.raytheon.uf.common.comm.CommunicationException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.core.exception.VizCommunicationException; -import com.raytheon.uf.viz.core.exception.VizException; /** * Metadata about a derived parameter method. @@ -150,7 +150,7 @@ public class DerivParamMethod { fields.add(field); } - public Set getValidLevels() throws VizCommunicationException { + public Set getValidLevels() throws CommunicationException { if (validLevels == null && levels != null && levels.length() > 0) { ValidLevelGenerator lvlGen = new ValidLevelGenerator(); validLevels = lvlGen.generateLevels(levels); @@ -182,9 +182,9 @@ public class DerivParamMethod { this.ftime = ftime; } - public void parseFields(String fields) throws VizException { + public void parseFields(String fields) throws DataCubeException { if (fields == null) { - throw new VizException("method [" + getName() + throw new DataCubeException("method [" + getName() + "] has no field information."); } String[] pFields = fields.split("\\|"); @@ -193,8 +193,8 @@ public class DerivParamMethod { DerivParamField field; try { field = parseField(pFields[j]); - } catch (VizException e) { - throw new VizException("method [" + getName() + } catch (DataCubeException e) { + throw new DataCubeException("method [" + getName() + "] error occured parsing field information" + pFields[j] + "]", e); } @@ -205,14 +205,14 @@ public class DerivParamMethod { try { field.setTimeShift(new Integer(timeOffset)); } catch (NumberFormatException e) { - throw new VizException("method [" + getName() + throw new DataCubeException("method [" + getName() + "] is marked as dTime/fTime and field [" + field.getParam() + "] has invalid time information [" + timeOffset + "].", e); } } else { - throw new VizException("method [" + getName() + throw new DataCubeException("method [" + getName() + "] is marked as dTime/fTime and field [" + field.getParam() + "] has no time information."); } @@ -230,7 +230,8 @@ public class DerivParamMethod { * @param rawField * @return A field or null if something bad happened */ - private DerivParamField parseField(String rawField) throws VizException { + private DerivParamField parseField(String rawField) + throws DataCubeException { DerivParamField field = new DerivParamField(); String[] pFieldTokens = rawField.split(","); @@ -239,8 +240,12 @@ public class DerivParamMethod { if (pFieldTokens.length > index) { String levelToken = pFieldTokens[index++]; - if (!field.setLevel(levelToken)) { - index--; + try { + if (!field.setLevel(levelToken)) { + index--; + } + } catch (CommunicationException e) { + throw new DataCubeException(e); } if (pFieldTokens.length > index) { diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivedParameterGenerator.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivedParameterGenerator.java similarity index 97% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivedParameterGenerator.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivedParameterGenerator.java index 8f1e88cb4e..77ba52e6f2 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivedParameterGenerator.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivedParameterGenerator.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import java.io.File; import java.util.ArrayList; @@ -36,6 +36,9 @@ import javax.measure.unit.Unit; import javax.xml.bind.JAXBException; import com.raytheon.uf.common.datastorage.records.IDataRecord; +import com.raytheon.uf.common.derivparam.DerivParamFunctionType; +import com.raytheon.uf.common.derivparam.IDerivParamFunctionAdapter; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod.MethodType; import com.raytheon.uf.common.localization.FileUpdatedMessage; import com.raytheon.uf.common.localization.ILocalizationFileObserver; import com.raytheon.uf.common.localization.IPathManager; @@ -47,9 +50,6 @@ import com.raytheon.uf.common.serialization.JAXBManager; import com.raytheon.uf.common.status.IUFStatusHandler; import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; -import com.raytheon.uf.viz.derivparam.DerivParamFunctionType; -import com.raytheon.uf.viz.derivparam.IDerivParamFunctionAdapter; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod.MethodType; /** * Primary public interface for derived parameters. Introspection on the derived @@ -204,7 +204,7 @@ public class DerivedParameterGenerator implements ILocalizationFileObserver { // get all localization levels derived params and combine them LocalizationContext[] contexts = pm - .getLocalSearchHierarchy(LocalizationType.CAVE_STATIC); + .getLocalSearchHierarchy(LocalizationType.COMMON_STATIC); LocalizationFile[] xmlFiles = pm.listFiles(contexts, XML_DIR, new String[] { ".xml" }, false, true); JAXBManager jaxbMan; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivedParameterRequest.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivedParameterRequest.java similarity index 98% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivedParameterRequest.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivedParameterRequest.java index 11ee8eb79d..31589a7d37 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/DerivedParameterRequest.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/DerivedParameterRequest.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import java.util.ArrayList; import java.util.List; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/IDerivParamField.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/IDerivParamField.java similarity index 95% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/IDerivParamField.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/IDerivParamField.java index be07abb5b8..cbdadd475c 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/IDerivParamField.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/IDerivParamField.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; /** * diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/LevelType.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/LevelType.java similarity index 97% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/LevelType.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/LevelType.java index 4aed34b33d..0cefcfa489 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/LevelType.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/LevelType.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; /** * Qualifier for a level definition on a derived parameter field. diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/ValidLevelGenerator.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/ValidLevelGenerator.java similarity index 82% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/ValidLevelGenerator.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/ValidLevelGenerator.java index d35966b3a5..a1c8ddbdf2 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/library/ValidLevelGenerator.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/library/ValidLevelGenerator.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.library; +package com.raytheon.uf.common.derivparam.library; import java.util.ArrayList; import java.util.HashMap; @@ -38,7 +38,6 @@ import com.raytheon.uf.common.dataplugin.level.mapping.LevelMapping; import com.raytheon.uf.common.dataplugin.level.mapping.LevelMappingFactory; import com.raytheon.uf.common.util.mapping.Mapper; import com.raytheon.uf.common.util.mapping.MultipleMappingException; -import com.raytheon.uf.viz.core.exception.VizCommunicationException; /** * Generates the valid levels for a derived parameter script based on it @@ -83,69 +82,62 @@ public class ValidLevelGenerator { } public Set generateLevels(String validLevelsString) - throws IllegalArgumentException, VizCommunicationException { + throws IllegalArgumentException, CommunicationException { masterLevels = new HashMap>(); validLevels = new HashSet(); masterLevelsHandled = new HashSet(); - try { - if (validLevelsString != null && validLevelsString.length() > 0) { - String[] levelTokenArray = validLevelsString.split(","); - List tokensToProcess = new ArrayList( - levelTokenArray.length); - for (String token : levelTokenArray) { - tokensToProcess.add(token); + if (validLevelsString != null && validLevelsString.length() > 0) { + String[] levelTokenArray = validLevelsString.split(","); + List tokensToProcess = new ArrayList( + levelTokenArray.length); + + for (String token : levelTokenArray) { + tokensToProcess.add(token); + } + + // generate initial list + Iterator iter = tokensToProcess.iterator(); + + while (iter.hasNext()) { + String token = iter.next(); + + if (token.charAt(0) == '!') { + token = token.substring(1); } + // See if this is a group. + Map> tmp = lmf + .getLevelMapForGroup(token); - // generate initial list - Iterator iter = tokensToProcess.iterator(); - - while (iter.hasNext()) { - String token = iter.next(); - - if (token.charAt(0) == '!') { - token = token.substring(1); - } - // See if this is a group. - Map> tmp = lmf - .getLevelMapForGroup(token); - - if (tmp != null) { - masterLevels = tmp; - iter.remove(); - break; - } - } - - if (masterLevels.size() == 0 && tokensToProcess.size() > 0) { - for (Level l : lmf.getAllLevels()) { - MasterLevel ml = l.getMasterLevel(); - Set levels = masterLevels.get(ml); - if (levels == null) { - levels = new HashSet(); - masterLevels.put(ml, levels); - } - - levels.add(l); - } - } - - if (tokensToProcess.size() > 0) { - for (String token : tokensToProcess) { - try { - processLevelToken(token); - } catch (CommunicationException e) { - throw new VizCommunicationException(e); - } - } - } else { - for (Set levels : masterLevels.values()) { - validLevels.addAll(levels); - } + if (tmp != null) { + masterLevels = tmp; + iter.remove(); + break; + } + } + + if (masterLevels.size() == 0 && tokensToProcess.size() > 0) { + for (Level l : lmf.getAllLevels()) { + MasterLevel ml = l.getMasterLevel(); + Set levels = masterLevels.get(ml); + if (levels == null) { + levels = new HashSet(); + masterLevels.put(ml, levels); + } + + levels.add(l); + } + } + + if (tokensToProcess.size() > 0) { + for (String token : tokensToProcess) { + processLevelToken(token); + } + } else { + for (Set levels : masterLevels.values()) { + validLevels.addAll(levels); } } - } catch (CommunicationException e) { - throw new VizCommunicationException(e); } return validLevels; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractAliasLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractAliasLevelNode.java similarity index 87% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractAliasLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractAliasLevelNode.java index 4df52519dd..dc35e86027 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractAliasLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractAliasLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.Arrays; import java.util.HashMap; @@ -26,11 +26,12 @@ import java.util.Map; import java.util.Set; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; /** * @@ -111,14 +112,14 @@ public abstract class AbstractAliasLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { return availability.get(sourceNode); } @Override public Map> getDataDependency( Set times, AvailabilityContainer container) - throws VizException { + throws DataCubeException { Map> result = new HashMap>(); result.put(sourceNode, times); return result; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractBaseDataNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractBaseDataNode.java similarity index 90% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractBaseDataNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractBaseDataNode.java index 38e6a2faa6..7f84106d1d 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractBaseDataNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractBaseDataNode.java @@ -17,18 +17,19 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.LevelNode; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; /** * TODO Add Description @@ -105,7 +106,7 @@ public abstract class AbstractBaseDataNode extends AbstractRequestableNode { */ public abstract Set getAvailability( Map originalConstraints, Object response) - throws VizException; + throws DataCubeException; /** * Get data from this node. @@ -121,7 +122,7 @@ public abstract class AbstractBaseDataNode extends AbstractRequestableNode { public abstract Set getData( Map orignalConstraints, Set availability, Object response) - throws VizException; + throws DataCubeException; @Override public boolean isConstant() { diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractCubeLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractCubeLevelNode.java similarity index 90% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractCubeLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractCubeLevelNode.java index 806711ecb8..80256119a4 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractCubeLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractCubeLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.ArrayList; import java.util.HashMap; @@ -27,16 +27,18 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.CubeRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher.MatchResult; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.CubeLevel; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.CubeRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher.MatchResult; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; /** * Provided a mechanism for requesting data for an entire 3D cube. If a Level is @@ -108,7 +110,8 @@ public abstract class AbstractCubeLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { Map> result = new HashMap>(); for (CubeLevel level : levels) { result.put(level.getParam(), availability); @@ -121,7 +124,7 @@ public abstract class AbstractCubeLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Map> paramMap = new HashMap>(); Map> presMap = new HashMap>(); for (CubeLevel level : levels) { @@ -179,7 +182,7 @@ public abstract class AbstractCubeLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { // things in one are available for one level Set one = new HashSet(); // things in two are available for two levels. diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractDerivedDataNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractDerivedDataNode.java similarity index 90% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractDerivedDataNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractDerivedDataNode.java index 2245913150..d3b9ea1b6a 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractDerivedDataNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractDerivedDataNode.java @@ -17,20 +17,21 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; +import com.raytheon.uf.common.inventory.tree.LevelNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.common.derivparam.tree.LevelNode; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; /** * @@ -205,7 +206,7 @@ public abstract class AbstractDerivedDataNode extends AbstractRequestableNode { */ public abstract Set getAvailability( Map> availability) - throws VizException; + throws DataCubeException; /** * If this node has dependency on other nodes then this method should return @@ -217,7 +218,7 @@ public abstract class AbstractDerivedDataNode extends AbstractRequestableNode { */ public abstract Map> getDataDependency( Set availability, AvailabilityContainer container) - throws VizException; + throws DataCubeException; /** * Get data from this node. @@ -229,7 +230,7 @@ public abstract class AbstractDerivedDataNode extends AbstractRequestableNode { public abstract Set getData( Set availability, Map> dependencyData) - throws VizException; + throws DataCubeException; public abstract List getDependencies(); diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AliasLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AliasLevelNode.java similarity index 82% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AliasLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AliasLevelNode.java index 1edc3b3ae9..51e09d73e1 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AliasLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AliasLevelNode.java @@ -17,19 +17,20 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.HashSet; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AliasRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AliasRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; /** * This node handles all Alias derived parameters which includes Import in AWIPS @@ -66,7 +67,7 @@ public class AliasLevelNode extends AbstractAliasLevelNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Set origs = dependencyData.get(sourceNode); Set results = new HashSet( origs.size()); diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/CompositeAverageLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/CompositeAverageLevelNode.java similarity index 87% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/CompositeAverageLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/CompositeAverageLevelNode.java index 11624d8e9d..f278ec15b5 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/CompositeAverageLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/CompositeAverageLevelNode.java @@ -17,7 +17,7 @@ * Use or disclosure of data contained in this source code file is subject to * the export restrictions set forth in the Master Rights File. ******************************************************************************************/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.ArrayList; import java.util.HashSet; @@ -25,14 +25,15 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AggregateRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AggregateRequestableData; -import com.raytheon.uf.viz.derivparam.data.DerivedRequestableData; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; +import com.raytheon.uf.common.derivparam.data.DerivedRequestableData; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; /** * @@ -70,7 +71,7 @@ public class CompositeAverageLevelNode extends UnionLevelNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Set result = new HashSet(); for (AbstractRequestableData record : super.getData(availability, @@ -96,7 +97,7 @@ public class CompositeAverageLevelNode extends UnionLevelNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { Set results = null; List requests = new ArrayList( diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/DerivedLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/DerivedLevelNode.java similarity index 93% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/DerivedLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/DerivedLevelNode.java index ceea8b34f5..c5a74ca474 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/DerivedLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/DerivedLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.ArrayList; import java.util.Arrays; @@ -32,21 +32,22 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AliasRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher.MatchResult; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; +import com.raytheon.uf.common.derivparam.data.DerivedRequestableData; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamField; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; +import com.raytheon.uf.common.derivparam.library.IDerivParamField; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AliasRequestableData; -import com.raytheon.uf.viz.derivparam.data.DerivedRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher.MatchResult; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamField; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; -import com.raytheon.uf.viz.derivparam.library.IDerivParamField; /** * The default node for all Derived Parameters, Responsible for building @@ -182,7 +183,7 @@ public class DerivedLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { TimeAndSpaceMatcher matcher = getMatcher(); // We have a derived parameter for the requested grid Set availableDataTimes = null; @@ -224,7 +225,8 @@ public class DerivedLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { TimeAndSpaceMatcher matcher = getMatcher(); availability = matcher.match(availability, availabilityContainer.getAvailability(this)).keySet(); @@ -273,7 +275,7 @@ public class DerivedLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Map> availCache = new HashMap>( (int) (dependencyData.size() / 0.75) + 1, 0.75f); for (AbstractRequestableNode node : fields.values()) { @@ -358,7 +360,8 @@ public class DerivedLevelNode extends AbstractDerivedDataNode { } } else { - throw new VizException("Error processing Derived parameter:" + throw new DataCubeException( + "Error processing Derived parameter:" + desc.getAbbreviation() + ":" + method.getName() + ":" + ifield.toString()); } diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/OrLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/OrLevelNode.java similarity index 90% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/OrLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/OrLevelNode.java index 09b39f10a1..c13d83d0e5 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/OrLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/OrLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.ArrayList; import java.util.Collection; @@ -27,16 +27,17 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher.MatchResult; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; import com.raytheon.uf.common.geospatial.ISpatialObject; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher.MatchResult; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; /** * @@ -114,7 +115,8 @@ public class OrLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { Map> result = new HashMap>(); for (AbstractRequestableNode node : nodes) { result.put(node, availability); @@ -126,7 +128,7 @@ public class OrLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { Map dataMap = new HashMap(); for (AbstractRequestableNode node : nodes) { Set dataSet = dependencyData.get(node); @@ -197,7 +199,7 @@ public class OrLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { // Do not return two identical TimeAndSpaces that are different only by // time range. For cases where two nodes have times that only differ by // range then only the first time should be returned. diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/StaticDataLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/StaticDataLevelNode.java similarity index 86% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/StaticDataLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/StaticDataLevelNode.java index 8e4413f31d..c03603a978 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/StaticDataLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/StaticDataLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.Arrays; import java.util.Collections; @@ -26,13 +26,14 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; /** * @@ -83,7 +84,8 @@ public class StaticDataLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { return Collections.emptyMap(); } @@ -91,7 +93,7 @@ public class StaticDataLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { return new HashSet(Arrays.asList(source)); } @@ -154,7 +156,7 @@ public class StaticDataLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { Set result = new HashSet(); result.add(source.getTimeAndSpace()); return result; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/TimeRangeLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/TimeRangeLevelNode.java similarity index 91% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/TimeRangeLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/TimeRangeLevelNode.java index 8f04af1526..6aefb12fd5 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/TimeRangeLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/TimeRangeLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.ArrayList; import java.util.HashMap; @@ -26,17 +26,18 @@ import java.util.List; import java.util.Map; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AggregateRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher; +import com.raytheon.uf.common.inventory.TimeAndSpaceMatcher.MatchResult; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AggregateRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpaceMatcher.MatchResult; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; /** * @@ -84,7 +85,7 @@ public class TimeRangeLevelNode extends AbstractAliasLevelNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { TimeAndSpaceMatcher matcher = new TimeAndSpaceMatcher(); matcher.setIgnoreRange(true); Map dataMap = new HashMap(); @@ -120,7 +121,7 @@ public class TimeRangeLevelNode extends AbstractAliasLevelNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { TimeAndSpaceMatcher matcher = new TimeAndSpaceMatcher(); matcher.setIgnoreRange(true); Set allAvail = availability.get(sourceNode); @@ -157,7 +158,8 @@ public class TimeRangeLevelNode extends AbstractAliasLevelNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { // neededAvailability will contain all of the TimeAndSpace needed to // construct // the TimeAndSpace requested in availability. diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/UnionLevelNode.java b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/UnionLevelNode.java similarity index 91% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/UnionLevelNode.java rename to edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/UnionLevelNode.java index fe525d6797..b73ef0c2be 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/UnionLevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/UnionLevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.derivparam.tree; import java.util.ArrayList; import java.util.Collections; @@ -29,14 +29,15 @@ import java.util.Map; import java.util.Map.Entry; import java.util.Set; +import com.raytheon.uf.common.inventory.data.AbstractRequestableData; +import com.raytheon.uf.common.inventory.data.AggregateRequestableData; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; +import com.raytheon.uf.common.inventory.tree.AbstractRequestableNode; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.data.AbstractRequestableData; -import com.raytheon.uf.viz.derivparam.data.AggregateRequestableData; -import com.raytheon.uf.viz.derivparam.inv.AvailabilityContainer; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; -import com.raytheon.uf.viz.derivparam.library.DerivParamDesc; -import com.raytheon.uf.viz.derivparam.library.DerivParamMethod; +import com.raytheon.uf.common.derivparam.inv.AvailabilityContainer; +import com.raytheon.uf.common.derivparam.library.DerivParamDesc; +import com.raytheon.uf.common.derivparam.library.DerivParamMethod; /** * @@ -104,7 +105,8 @@ public class UnionLevelNode extends AbstractDerivedDataNode { @Override public Map> getDataDependency( Set availability, - AvailabilityContainer availabilityContainer) throws VizException { + AvailabilityContainer availabilityContainer) + throws DataCubeException { Map> result = new HashMap>(); for (AbstractRequestableNode node : nodes) { result.put(node, availability); @@ -116,7 +118,7 @@ public class UnionLevelNode extends AbstractDerivedDataNode { public Set getData( Set availability, Map> dependencyData) - throws VizException { + throws DataCubeException { List rawRecords = new ArrayList(); List requests = new ArrayList( @@ -155,7 +157,7 @@ public class UnionLevelNode extends AbstractDerivedDataNode { @Override public Set getAvailability( Map> availability) - throws VizException { + throws DataCubeException { // things in one are available for one level Set one = new HashSet(); // things in two are available for two levels. diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/0to5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/0to5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/0to5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/0to5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/2xTP6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/2xTP6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/2xTP6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/2xTP6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/36SHRMi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/36SHRMi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/36SHRMi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/36SHRMi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/50dbzZ.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/50dbzZ.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/50dbzZ.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/50dbzZ.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/AV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/AV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/AV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/AV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Along.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Along.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Along.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Along.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Alt24Chg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Alt24Chg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Alt24Chg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Alt24Chg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Alti.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Alti.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Alti.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Alti.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/AppT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/AppT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/AppT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/AppT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BARO.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BARO.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BARO.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BARO.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BASSW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BASSW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BASSW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BASSW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNEHIi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNEHIi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNEHIi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNEHIi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNSHR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNSHR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNSHR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNSHR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNmag.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNmag.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNmag.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNmag.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNvec.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNvec.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BRNvec.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BRNvec.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BdEPT06.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BdEPT06.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BdEPT06.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BdEPT06.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BlkMag.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BlkMag.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BlkMag.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BlkMag.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BlkShr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BlkShr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/BlkShr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/BlkShr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CAPEc5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CAPEc5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CCP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CCP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CCP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CCP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZRc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZRc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZRc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZRc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZRmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZRmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZRmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZRmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZRsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZRsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CFRZRsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CFRZRsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEPc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEPc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEPc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEPc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEPmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEPmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEPmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEPmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEPsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEPsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CICEPsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CICEPsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CIce.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CIce.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CIce.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CIce.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/COCO.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/COCO.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/COCO.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/COCO.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOFP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOFP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOFP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOFP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOLP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOLP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOLP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOLP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOZP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOZP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPOZP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPOZP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPrD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPrD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CPrD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CPrD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAIN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAIN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAIN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAIN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAINc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAINc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAINc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAINc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAINmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAINmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAINmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAINmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAINsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAINsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CRAINsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CRAINsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOWc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOWc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOWc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOWc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOWmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOWmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOWmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOWmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOWsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOWsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSNOWsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSNOWsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSSI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSSI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CSSI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CSSI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CTSTM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CTSTM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CTSTM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CTSTM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CTyp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CTyp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CTyp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CTyp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CURU.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CURU.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CURU.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CURU.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CXR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CXR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CXR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CXR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CapeStk.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CapeStk.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CapeStk.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CapeStk.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cig.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cig.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cig.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cig.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cigc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cigc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cigc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cigc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cigc2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cigc2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cigc2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cigc2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cigc3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cigc3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Cigc3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Cigc3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ClCond.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ClCond.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ClCond.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ClCond.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Corf.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Corf.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Corf.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Corf.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CorfF.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CorfF.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CorfF.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CorfF.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CorfFM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CorfFM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CorfFM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CorfFM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CorfM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CorfM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CorfM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CorfM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CritT1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CritT1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CritT1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CritT1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CumNrm.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CumNrm.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CumNrm.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CumNrm.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CumShr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CumShr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/CumShr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/CumShr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DIABi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DIABi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DIABi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DIABi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DIRC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DIRC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DIRC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DIRC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Dir24Chg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Dir24Chg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Dir24Chg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Dir24Chg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DivF.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DivF.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DivF.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DivF.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DivFn.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DivFn.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DivFn.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DivFn.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DivFs.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DivFs.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DivFs.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DivFs.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Dp24Chg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Dp24Chg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Dp24Chg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Dp24Chg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpDt.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpDt.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpDt.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpDt.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpTerranl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpTerranl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpTerranl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpTerranl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpTmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpTmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpTmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpTmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpTsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpTsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DpTsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DpTsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Dpress.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Dpress.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Dpress.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Dpress.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DthDt.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DthDt.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/DthDt.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/DthDt.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EHI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EHI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EHI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EHI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EHIi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EHIi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EHIi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EHIi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTGrd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTGrd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTGrd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTGrd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTGrdM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTGrdM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTGrdM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTGrdM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTs.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTs.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPTs.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPTs.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVs.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVs.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVs.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVs.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVt1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVt1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVt1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVt1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVt2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVt2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/EPVt2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/EPVt2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FVecs.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FVecs.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FVecs.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FVecs.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FeatMot.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FeatMot.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FeatMot.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FeatMot.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FnVecs.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FnVecs.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FnVecs.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FnVecs.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FsVecs.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FsVecs.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/FsVecs.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/FsVecs.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Fzra1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Fzra1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Fzra1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Fzra1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Fzra2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Fzra2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Fzra2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Fzra2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH12hour.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH12hour.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH12hour.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH12hour.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH2day.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH2day.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH2day.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH2day.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH5day.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH5day.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH5day.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH5day.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GH_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GH_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHxSM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHxSM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHxSM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHxSM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHxSM2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHxSM2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GHxSM2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GHxSM2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GVV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GVV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/GVV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/GVV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Gust.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Gust.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Gust.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Gust.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HAILPROB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HAILPROB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HAILPROB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HAILPROB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HI4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HI4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HIWC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HIWC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HIWC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HIWC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HIdx.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HIdx.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HIdx.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HIdx.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HTSGW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HTSGW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HTSGW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HTSGW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Heli.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Heli.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Heli.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Heli.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HeliD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HeliD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HeliD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HeliD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HyC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HyC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/HyC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/HyC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICEC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICEC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICEC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICEC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICEG.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICEG.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICEG.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICEG.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICIP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICIP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICIP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICIP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICNG.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICNG.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICNG.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICNG.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICPRB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICPRB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICPRB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICPRB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICSEV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICSEV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ICSEV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ICSEV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ILW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ILW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ILW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ILW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/IP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/IP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/IP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/IP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/IPLayer.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/IPLayer.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/IPLayer.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/IPLayer.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Into.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Into.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Into.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Into.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/KDP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/KDP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/KDP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/KDP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/KI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/KI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/KI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/KI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/L-I.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/L-I.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/L-I.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/L-I.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/LIsfc2x.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/LIsfc2x.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/LIsfc2x.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/LIsfc2x.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/LM5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/LM5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/LM5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/LM5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/LatLon.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/LatLon.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/LatLon.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/LatLon.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MAXRH12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MAXRH12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MAXRH12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MAXRH12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MAXRH3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MAXRH3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MAXRH3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MAXRH3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MAdv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MAdv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MAdv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MAdv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MCon.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MCon.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MCon.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MCon.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MINRH12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MINRH12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MINRH12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MINRH12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MINRH3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MINRH3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MINRH3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MINRH3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MRETag.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MRETag.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MRETag.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MRETag.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSFDi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSFDi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSFDi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSFDi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSFi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSFi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSFi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSFi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSFmi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSFmi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSFmi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSFmi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSG.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSG.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSG.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSG.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSL5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSL5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSLSA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSLSA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MSLSA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MSLSA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MTV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MTV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MTV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MTV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Mix1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Mix1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Mix1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Mix1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Mix2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Mix2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Mix2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Mix2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Mmag.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Mmag.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Mmag.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Mmag.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MnT_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MnT_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MpV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MpV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MpV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MpV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/MxT_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/MxT_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/NBE.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/NBE.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/NBE.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/NBE.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/NetIO.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/NetIO.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/NetIO.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/NetIO.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/OGRD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/OGRD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/OGRD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/OGRD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/OTIM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/OTIM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/OTIM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/OTIM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/OmDiff.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/OmDiff.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/OmDiff.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/OmDiff.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/P.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/P.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/P.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/P.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PAdv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PAdv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PAdv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PAdv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PBE.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PBE.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PBE.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PBE.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PERPW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PERPW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PERPW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PERPW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PERSW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PERSW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PERSW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PERSW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PFrnt.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PFrnt.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PFrnt.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PFrnt.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PGrd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PGrd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PGrd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PGrd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PGrd1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PGrd1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PGrd1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PGrd1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PGrdM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PGrdM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PGrdM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PGrdM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PICE.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PICE.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PICE.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PICE.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PIVA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PIVA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PIVA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PIVA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PLIxc5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PLIxc5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PMSLmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PMSLmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PMSLmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PMSLmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PMSLsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PMSLsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PMSLsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PMSLsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/POP6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/POP6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPAM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPAM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPAM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPAM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPAN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPAN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPAN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPAN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPAS.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPAS.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPAS.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPAS.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPBM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPBM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPBM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPBM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPBN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPBN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPBN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPBN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPBS.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPBS.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPBS.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPBS.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPFFG.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPFFG.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPFFG.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPFFG.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPNN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPNN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PPNN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PPNN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PRSIGSV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PRSIGSV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PRSIGSV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PRSIGSV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PRSVR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PRSVR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PRSVR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PRSVR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PT3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PT3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PT3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PT3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTAM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTAM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTAM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTAM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTAN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTAN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTAN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTAN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTAS.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTAS.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTAS.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTAS.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTBM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTBM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTBM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTBM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTBN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTBN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTBN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTBN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTBS.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTBS.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTBS.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTBS.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTNN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTNN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTNN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTNN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTOR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTOR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTOR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTOR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTvA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTvA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTvA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTvA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTyp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTyp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PTyp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PTyp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PVV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PVV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PVV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PVV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWS34.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWS34.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWS34.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWS34.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWS50.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWS50.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWS50.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWS50.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWS64.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWS64.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWS64.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWS64.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PWsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PWsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PoT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PoT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PoT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PoT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PoTA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PoTA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PoTA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PoTA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Precip24Hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Precip24Hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Precip24Hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Precip24Hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Precip3Hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Precip3Hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Precip3Hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Precip3Hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Precip6Hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Precip6Hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Precip6Hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Precip6Hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PresStk.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PresStk.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/PresStk.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/PresStk.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Prob34.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Prob34.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Prob34.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Prob34.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Prob50.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Prob50.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Prob50.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Prob50.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Prob64.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Prob64.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Prob64.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Prob64.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Psfc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Psfc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Psfc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Psfc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Ptopo.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Ptopo.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Ptopo.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Ptopo.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RAIN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RAIN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RAIN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RAIN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_001_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_001_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_001_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_001_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_001_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_001_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_001_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_001_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_002_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_002_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_002_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_002_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_002_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_002_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_002_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_002_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RH_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RH_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RHmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RHmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RHmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RHmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RHsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RHsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RHsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RHsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RM5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RM5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RM5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RM5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RMGH2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RMGH2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RMGH2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RMGH2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RMprop.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RMprop.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RMprop.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RMprop.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RMprop2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RMprop2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RMprop2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RMprop2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RRV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RRV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RRV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RRV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/RV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/RV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Rain1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Rain1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Rain1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Rain1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Rain2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Rain2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Rain2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Rain2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Rain3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Rain3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Rain3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Rain3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Raob.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Raob.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Raob.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Raob.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Ro.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Ro.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Ro.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Ro.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA24hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA24hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA24hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA24hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA36hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA36hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA36hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA36hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA48hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA48hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA48hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA48hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SA6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SA6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SAcc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SAcc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SAcc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SAcc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SAmodel.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SAmodel.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SAmodel.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SAmodel.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SArun.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SArun.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SArun.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SArun.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SCP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SCP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SCP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SCP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SH.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SH.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SH.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SH.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SHx.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SHx.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SHx.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SHx.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIGHAILPROB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIGHAILPROB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIGHAILPROB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIGHAILPROB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIGTRNDPROB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIGTRNDPROB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIGTRNDPROB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIGTRNDPROB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIGWINDPROB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIGWINDPROB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIGWINDPROB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIGWINDPROB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIPD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIPD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SIPD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SIPD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SLDP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SLDP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SLDP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SLDP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SLI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SLI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SLI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SLI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SMC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SMC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SMC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SMC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c10.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c10.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c10.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c10.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c7.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c7.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c7.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c7.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c8.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c8.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c8.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c8.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c9.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c9.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12c9.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12c9.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12mean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12mean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12mean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12mean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12sprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12sprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOL12sprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOL12sprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNOW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNOW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SNW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SNW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SPAcc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SPAcc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SPAcc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SPAcc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SPBARO.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SPBARO.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SPBARO.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SPBARO.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SPC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SPC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SPC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SPC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMlM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMlM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMlM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMlM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMm.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMm.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMm.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMm.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMmM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMmM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMmM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMmM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMrM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMrM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SRMrM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SRMrM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SSAcc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SSAcc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SSAcc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SSAcc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SSi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SSi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SSi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SSi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWELL.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWELL.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWELL.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWELL.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWLEN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWLEN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWLEN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWLEN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWPER.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWPER.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWPER.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWPER.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWSTP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWSTP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWSTP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWSTP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWdir.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWdir.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SWdir.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SWdir.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Shear.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Shear.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Shear.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Shear.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ShrMag.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ShrMag.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ShrMag.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ShrMag.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SnD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SnD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SnD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SnD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Snow1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Snow1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Snow1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Snow1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Snow2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Snow2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Snow2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Snow2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Snow3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Snow3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Snow3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Snow3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SnowT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SnowT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SnowT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SnowT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Spd24Chg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Spd24Chg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Spd24Chg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Spd24Chg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr2hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr2hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr2hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr2hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/St-Pr3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/St-Pr3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/StrTP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/StrTP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/StrTP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/StrTP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/StrmMot.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/StrmMot.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/StrmMot.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/StrmMot.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SuCP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SuCP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SuCP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SuCP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SynPrecip24Hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SynPrecip24Hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/SynPrecip24Hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/SynPrecip24Hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T24Chg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T24Chg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T24Chg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T24Chg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T24hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T24hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T24hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T24hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TAdv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TAdv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TAdv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TAdv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TGrd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TGrd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TGrd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TGrd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TGrdM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TGrdM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TGrdM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TGrdM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TKE.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TKE.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TKE.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TKE.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TORi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TORi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TORi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TORi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TORi2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TORi2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TORi2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TORi2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TOTSN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TOTSN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TOTSN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TOTSN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP120hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP120hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP120hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP120hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c7.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c7.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c7.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c7.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c8.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c8.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12c8.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12c8.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12mean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12mean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12mean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12mean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12sprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12sprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP12sprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP12sprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c7.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c7.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c7.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c7.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c8.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c8.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24c8.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24c8.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24hr_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24hr_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24hr_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24hr_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24hr_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24hr_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24hr_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24hr_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24mean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24mean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24mean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24mean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24sprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24sprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP24sprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP24sprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP36hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP36hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP36hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP36hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c7.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c7.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c7.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c7.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c8.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c8.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3c8.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3c8.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3mean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3mean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3mean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3mean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3sprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3sprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP3sprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP3sprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP48hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP48hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP48hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP48hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c7.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c7.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c7.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c7.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c8.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c8.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6c8.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6c8.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6hr_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6hr_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6mean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6mean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6mean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6mean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6sprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6sprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP6sprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP6sprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG518E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG518E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG518E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG518E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG549E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG549E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG549E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG549E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG579E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG579E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG579E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG579E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_122E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_122E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_122E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_122E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_152E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_152E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_152E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_152E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_183E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_183E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_183E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_183E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_20.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_20.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_20.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_20.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_213E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_213E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_213E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_213E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_244E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_244E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_244E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_244E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_274E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_274E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_274E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_274E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_30.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_30.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_30.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_30.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_305E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_305E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_305E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_305E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_335E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_335E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_335E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_335E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_366E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_366E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_366E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_366E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_396E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_396E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_396E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_396E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_40.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_40.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_40.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_40.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_427E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_427E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_427E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_427E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_457E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_457E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_457E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_457E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_488E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_488E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_488E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_488E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_50.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_50.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_50.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_50.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_610E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_610E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_610E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_610E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_61E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_61E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_61E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_61E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_640E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_640E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_640E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_640E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_671E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_671E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_671E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_671E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_701E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_701E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_701E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_701E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_732E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_732E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_732E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_732E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_762E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_762E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_762E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_762E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_91E2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_91E2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPCSG_91E2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPCSG_91E2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPFI.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPFI.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPFI.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPFI.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ACR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ACR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ACR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ACR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ALR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ALR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ALR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ALR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ECMWF.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ECMWF.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ECMWF.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ECMWF.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ECMWF12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ECMWF12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ECMWF12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ECMWF12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_FWR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_FWR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_FWR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_FWR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_HPC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_HPC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_HPC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_HPC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_KRF.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_KRF.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_KRF.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_KRF.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_MSR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_MSR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_MSR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_MSR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ORN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ORN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_ORN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_ORN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_PTR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_PTR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_PTR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_PTR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_RHA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_RHA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_RHA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_RHA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_RSA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_RSA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_RSA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_RSA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_STR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_STR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_STR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_STR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_TAR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_TAR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_TAR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_TAR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_TIR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_TIR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_TIR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_TIR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_TUA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_TUA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_TUA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_TUA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TP_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TP_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPmodel.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPmodel.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPmodel.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPmodel.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPrun_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPrun_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPx12x6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPx12x6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPx12x6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPx12x6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPx1x3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPx1x3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPx1x3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPx1x3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPx3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPx3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TPx3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TPx3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TQIND.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TQIND.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TQIND.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TQIND.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TSLSA.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TSLSA.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TSLSA.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TSLSA.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TShrMi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TShrMi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TShrMi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TShrMi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TURB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TURB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TURB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TURB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_001_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_001_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_001_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_001_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_001_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_001_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_001_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_001_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/T_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/T_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tdef.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tdef.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tdef.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tdef.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Terranl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Terranl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Terranl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Terranl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThGrd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThGrd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThGrd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThGrd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP2hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP2hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP2hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP2hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThP6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThP6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThPcat.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThPcat.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ThPcat.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ThPcat.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Thom5.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Thom5.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Thom5.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Thom5.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Thom5a.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Thom5a.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Thom5a.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Thom5a.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Thom6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Thom6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Thom6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Thom6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TiltAng.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TiltAng.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TiltAng.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TiltAng.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TmDpD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TmDpD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TmDpD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TmDpD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tmax.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tmax.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tmax.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tmax.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tmin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tmin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tmin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tmin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Topo.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Topo.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Topo.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Topo.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TotQi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TotQi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TotQi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TotQi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tstk.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tstk.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Tstk.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Tstk.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TwMax.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TwMax.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TwMax.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TwMax.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TwMin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TwMin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TwMin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TwMin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Twstk.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Twstk.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Twstk.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Twstk.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TxSM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TxSM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/TxSM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/TxSM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VAdv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VAdv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VAdv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VAdv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VAdvAdvection.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VAdvAdvection.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VAdvAdvection.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VAdvAdvection.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VGP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VGP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VGP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VGP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/VV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/VV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Vis.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Vis.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Vis.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Vis.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Visc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Visc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Visc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Visc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Visc2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Visc2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Visc2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Visc2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WDea.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WDea.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WDea.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WDea.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WDmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WDmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WDmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WDmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WEASD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WEASD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WEASD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WEASD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WGH.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WGH.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WGH.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WGH.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WGS.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WGS.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WGS.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WGS.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WINDPROB.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WINDPROB.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WINDPROB.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WINDPROB.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSc4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSc4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WSsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WSsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVHGT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVHGT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVHGT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVHGT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVLEN.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVLEN.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVLEN.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVLEN.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVPER.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVPER.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVPER.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVPER.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVSTP.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVSTP.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVSTP.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVSTP.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVdir.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVdir.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WVdir.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WVdir.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Wind.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Wind.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Wind.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Wind.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Wind_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Wind_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Wind_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Wind_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Wind_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Wind_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Wind_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Wind_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Windmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Windmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/Windmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/Windmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WndChl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WndChl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/WndChl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/WndChl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ZDR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ZDR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ZDR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ZDR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_GH12.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_GH12.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_GH12.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_GH12.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_altimiter24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_altimiter24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_altimiter24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_altimiter24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_dewpoint24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_dewpoint24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_dewpoint24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_dewpoint24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_dpFromTenths24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_dpFromTenths24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_dpFromTenths24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_dpFromTenths24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_htMan12.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_htMan12.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_htMan12.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_htMan12.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_numMand12.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_numMand12.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_numMand12.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_numMand12.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_prMan12.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_prMan12.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_prMan12.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_prMan12.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip15min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip15min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip15min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip15min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip1Hour3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip1Hour3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip1Hour3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip1Hour3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip1Hour6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip1Hour6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip1Hour6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip1Hour6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip30min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip30min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip30min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip30min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip6Hour24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip6Hour24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precip6Hour24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precip6Hour24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum15min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum15min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum15min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum15min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum30min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum30min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum30min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum30min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum5min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum5min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_precipAccum5min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_precipAccum5min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_rawMETAR24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_rawMETAR24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_rawMETAR24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_rawMETAR24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_sfcPress3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_sfcPress3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_sfcPress3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_sfcPress3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_tempFromTenths24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_tempFromTenths24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_tempFromTenths24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_tempFromTenths24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_temperature24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_temperature24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_temperature24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_temperature24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_windDir24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_windDir24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_windDir24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_windDir24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_windSpeed24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_windSpeed24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/accum_windSpeed24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/accum_windSpeed24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/adimc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/adimc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/adimc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/adimc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ageoVC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ageoVC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ageoVC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ageoVC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ageoW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ageoW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ageoW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ageoW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ageoWM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ageoWM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ageoWM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ageoWM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/cCape.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/cCape.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/cCape.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/cCape.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/cCin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/cCin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/cCin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/cCin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/cTOT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/cTOT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/cTOT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/cTOT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/capeToLvl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/capeToLvl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/capeToLvl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/capeToLvl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/climoPW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/climoPW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/climoPW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/climoPW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/climoPWimp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/climoPWimp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/climoPWimp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/climoPWimp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/covCat.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/covCat.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/covCat.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/covCat.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dCape.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dCape.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dCape.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dCape.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dGH12.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dGH12.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dGH12.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dGH12.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dP1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dP1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dP1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dP1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dP3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dP3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dP3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dP3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dP6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dP6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dP6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dP6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dPW1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dPW1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dPW1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dPW1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dPW3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dPW3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dPW3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dPW3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dPW6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dPW6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dPW6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dPW6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dVAdv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dVAdv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dVAdv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dVAdv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dZ.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dZ.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dZ.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dZ.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/defV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/defV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/defV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/defV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/del2gH.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/del2gH.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/del2gH.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/del2gH.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/df.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/df.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/df.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/df.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/diam.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/diam.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/diam.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/diam.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dirPW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dirPW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dirPW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dirPW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dirSW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dirSW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/dirSW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/dirSW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ehi01.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ehi01.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ehi01.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ehi01.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/esp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/esp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/esp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/esp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/esp2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/esp2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/esp2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/esp2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/fGen.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/fGen.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/fGen.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/fGen.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/fnD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/fnD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/fnD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/fnD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/fsD.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/fsD.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/fsD.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/fsD.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/g2gsh.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/g2gsh.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/g2gsh.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/g2gsh.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/gOvf.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/gOvf.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/gOvf.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/gOvf.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/gamma.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/gamma.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/gamma.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/gamma.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/gammaE.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/gammaE.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/gammaE.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/gammaE.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/geoVort.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/geoVort.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/geoVort.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/geoVort.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/geoW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/geoW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/geoW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/geoW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/geoWM.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/geoWM.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/geoWM.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/geoWM.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/inv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/inv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/inv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/inv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/latitude.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/latitude.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/latitude.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/latitude.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip15min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip15min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip15min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip15min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip1hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip1hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip1hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip1hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip30min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip30min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip30min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip30min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip5min.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip5min.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lh_precip5min.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lh_precip5min.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lm6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lm6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lm6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lm6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/loCape.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/loCape.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/loCape.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/loCape.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/longitude.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/longitude.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/longitude.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/longitude.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lsrSample.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lsrSample.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lsrSample.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lsrSample.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lzfpc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lzfpc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lzfpc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lzfpc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lzfsc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lzfsc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lzfsc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lzfsc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lztwc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lztwc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/lztwc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/lztwc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/maxEPT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/maxEPT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/maxEPT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/maxEPT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/minEPT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/minEPT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/minEPT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/minEPT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/mixRat.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/mixRat.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/mixRat.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/mixRat.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/mllcl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/mllcl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/mllcl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/mllcl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/mmp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/mmp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/mmp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/mmp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/msl-P_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/msl-P_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/muCape.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/muCape.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/muCape.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/muCape.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/nst.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/nst.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/nst.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/nst.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/nst1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/nst1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/nst1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/nst1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/nst2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/nst2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/nst2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/nst2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/numLevels.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/numLevels.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/numLevels.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/numLevels.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/obVis.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/obVis.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/obVis.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/obVis.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/one.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/one.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/one.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/one.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pV.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pV.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pV.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pV.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pVeq.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pVeq.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pVeq.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pVeq.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pec.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pec.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pec.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pec.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pec_tt24.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pec_tt24.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pec_tt24.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pec_tt24.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pkPwr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pkPwr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pkPwr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pkPwr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/poesDif11u3_7uIR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/poesDif11u3_7uIR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/poesDif11u3_7uIR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/poesDif11u3_7uIR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_001.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_001.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_001.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_001.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_002.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_002.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_002.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_002.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_003.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_003.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_003.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_003.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_004.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_004.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_004.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_004.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_005.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_005.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_005.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_005.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_006.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_006.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_006.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_006.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_007.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_007.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_007.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_007.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_008.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_008.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_008.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_008.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_009.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_009.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_009.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_009.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_010.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_010.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_010.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_010.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_011.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_011.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_011.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_011.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_012.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_012.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_012.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_012.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_013.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_013.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_013.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_013.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_014.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_014.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_014.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_014.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_015.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_015.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_015.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_015.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_016.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_016.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/pop_016.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/pop_016.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgt.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgt.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgt.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgt.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgtHi.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgtHi.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgtHi.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgtHi.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgtLow.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgtLow.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgtLow.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgtLow.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgtMid.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgtMid.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prCloudHgtMid.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prCloudHgtMid.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prcp12hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prcp12hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prcp12hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prcp12hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prcp3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prcp3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prcp3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prcp3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prcp6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prcp6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/prcp6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/prcp6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/presWeather.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/presWeather.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/presWeather.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/presWeather.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qDiv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qDiv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qDiv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qDiv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qVec.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qVec.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qVec.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qVec.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qnVec.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qnVec.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qnVec.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qnVec.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv3.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv3.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv3.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv3.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv4.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv4.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qpv4.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qpv4.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qsVec.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qsVec.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/qsVec.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/qsVec.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rawMETAR24Chg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rawMETAR24Chg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rawMETAR24Chg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rawMETAR24Chg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rh_001.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rh_001.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rh_001.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rh_001.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rh_002.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rh_002.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rh_002.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rh_002.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rm6.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rm6.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rm6.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rm6.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rms.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rms.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/rms.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/rms.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow_c.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow_c.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow_c.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow_c.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow_h.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow_h.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow_h.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow_h.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow_m.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow_m.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/routed_flow_m.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/routed_flow_m.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/sRank.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/sRank.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/sRank.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/sRank.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDif11u12uIR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDif11u12uIR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDif11u12uIR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDif11u12uIR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDif11u13uIR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDif11u13uIR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDif11u13uIR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDif11u13uIR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDif11u3_9uIR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDif11u3_9uIR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDif11u3_9uIR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDif11u3_9uIR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDivWVIR.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDivWVIR.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/satDivWVIR.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/satDivWVIR.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/sce.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/sce.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/sce.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/sce.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/shWlt.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/shWlt.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/shWlt.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/shWlt.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snoRat.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snoRat.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snoRat.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snoRat.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snoRatOv2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snoRatOv2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snoRatOv2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snoRatOv2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snowd3hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snowd3hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snowd3hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snowd3hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snowd6hr.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snowd6hr.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snowd6hr.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snowd6hr.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snwa.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snwa.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/snwa.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/snwa.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ssp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ssp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ssp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ssp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/staName.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/staName.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/staName.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/staName.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stationId.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stationId.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stationId.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stationId.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdDewpoint.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdDewpoint.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdDewpoint.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdDewpoint.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdMaxWindSpeed.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdMaxWindSpeed.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdMaxWindSpeed.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdMaxWindSpeed.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdSkyCover.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdSkyCover.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdSkyCover.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdSkyCover.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdTemperature.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdTemperature.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdTemperature.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdTemperature.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdWindDir.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdWindDir.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdWindDir.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdWindDir.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdWindSpeed.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdWindSpeed.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stdWindSpeed.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stdWindSpeed.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stp1.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stp1.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/stp1.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/stp1.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/swe.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/swe.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/swe.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/swe.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/swtIdx.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/swtIdx.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/swtIdx.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/swtIdx.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tTOT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tTOT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tTOT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tTOT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tWind.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tWind.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tWind.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tWind.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/t_001.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/t_001.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/t_001.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/t_001.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tpHPC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tpHPC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tpHPC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tpHPC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tpHPCndfd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tpHPCndfd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/tpHPCndfd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/tpHPCndfd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/two.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/two.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/two.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/two.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uFX.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uFX.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uFX.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uFX.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uStk.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uStk.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uStk.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uStk.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uWerranl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uWerranl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uWerranl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uWerranl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uWmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uWmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uWmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uWmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uWsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uWsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uWsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uWsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ulSnoRat.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ulSnoRat.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ulSnoRat.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ulSnoRat.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ulwrf.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ulwrf.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/ulwrf.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/ulwrf.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uswrf.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uswrf.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uswrf.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uswrf.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uv2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uv2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uv2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uv2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uvQC.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uvQC.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uvQC.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uvQC.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uzfwc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uzfwc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uzfwc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uzfwc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uztwc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uztwc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/uztwc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/uztwc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vSmthW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vSmthW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vSmthW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vSmthW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vStk.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vStk.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vStk.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vStk.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vTOT.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vTOT.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vTOT.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vTOT.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vWerranl.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vWerranl.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vWerranl.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vWerranl.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vWmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vWmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vWmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vWmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vWsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vWsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vWsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vWsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vertCirc.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vertCirc.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vertCirc.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vertCirc.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/visCat.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/visCat.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/visCat.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/visCat.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vwpSample.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vwpSample.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/vwpSample.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/vwpSample.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/w2.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/w2.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/w2.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/w2.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wDiv.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wDiv.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wDiv.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wDiv.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_001.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_001.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_001.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_001.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_001_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_001_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_001_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_001_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_001_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_001_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_001_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_001_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_002.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_002.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_002.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_002.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_002_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_002_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_002_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_002_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_002_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_002_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_002_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_002_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_003.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_003.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_003.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_003.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_003_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_003_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_003_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_003_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_003_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_003_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_003_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_003_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_004.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_004.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_004.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_004.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_004_bin.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_004_bin.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_004_bin.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_004_bin.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_004_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_004_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_004_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_004_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_avg.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_avg.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_avg.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_avg.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_perts.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_perts.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_perts.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_perts.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_std.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_std.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSp_std.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSp_std.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSpea.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSpea.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSpea.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSpea.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSpmean.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSpmean.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSpmean.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSpmean.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSpsprd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSpsprd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wSpsprd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wSpsprd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wW.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wW.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wW.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wW.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/water_depth.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/water_depth.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/water_depth.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/water_depth.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wcd.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wcd.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wcd.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wcd.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wvHeight.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wvHeight.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wvHeight.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wvHeight.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wvPeriod.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wvPeriod.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wvPeriod.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wvPeriod.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wvType.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wvType.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wvType.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wvType.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wx.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wx.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/wx.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/wx.xml diff --git a/cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/zAGL.xml b/edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/zAGL.xml similarity index 100% rename from cave/com.raytheon.uf.viz.derivparam/localization/derivedParameters/definitions/zAGL.xml rename to edexOsgi/com.raytheon.uf.common.derivparam/utility/common_static/derivedParameters/definitions/zAGL.xml diff --git a/edexOsgi/com.raytheon.uf.common.inventory/.classpath b/edexOsgi/com.raytheon.uf.common.inventory/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/edexOsgi/com.raytheon.uf.common.inventory/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/edexOsgi/com.raytheon.uf.common.inventory/.project b/edexOsgi/com.raytheon.uf.common.inventory/.project new file mode 100644 index 0000000000..81f6cf37ef --- /dev/null +++ b/edexOsgi/com.raytheon.uf.common.inventory/.project @@ -0,0 +1,28 @@ + + + com.raytheon.uf.common.inventory + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/edexOsgi/com.raytheon.uf.common.inventory/.settings/org.eclipse.jdt.core.prefs b/edexOsgi/com.raytheon.uf.common.inventory/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..c537b63063 --- /dev/null +++ b/edexOsgi/com.raytheon.uf.common.inventory/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/edexOsgi/com.raytheon.uf.common.inventory/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.uf.common.inventory/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..5f11d9b679 --- /dev/null +++ b/edexOsgi/com.raytheon.uf.common.inventory/META-INF/MANIFEST.MF @@ -0,0 +1,28 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Datacube +Bundle-SymbolicName: com.raytheon.uf.common.inventory +Bundle-Version: 1.14.0.qualifier +Bundle-Vendor: RAYTHEON +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Export-Package: com.raytheon.uf.common.inventory, + com.raytheon.uf.common.inventory.data, + com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.inventory.tree +Import-Package: com.raytheon.uf.common.comm, + com.raytheon.uf.common.dataplugin, + com.raytheon.uf.common.dataplugin.level, + com.raytheon.uf.common.dataquery.requests, + com.raytheon.uf.common.dataquery.responses, + com.raytheon.uf.common.datastorage, + com.raytheon.uf.common.datastorage.records, + com.raytheon.uf.common.geospatial, + com.raytheon.uf.common.pointdata, + com.raytheon.uf.common.serialization, + com.raytheon.uf.common.serialization.annotations, + com.raytheon.uf.common.serialization.comm, + com.raytheon.uf.common.status, + com.raytheon.uf.common.time +Require-Bundle: javax.measure;bundle-version="1.0.0", + javax.persistence;bundle-version="1.0.0", + org.geotools;bundle-version="10.5.0" diff --git a/edexOsgi/com.raytheon.uf.common.inventory/build.properties b/edexOsgi/com.raytheon.uf.common.inventory/build.properties new file mode 100644 index 0000000000..34d2e4d2da --- /dev/null +++ b/edexOsgi/com.raytheon.uf.common.inventory/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/TimeAndSpace.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/TimeAndSpace.java similarity index 99% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/TimeAndSpace.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/TimeAndSpace.java index 746b7528fc..b00baaedc6 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/TimeAndSpace.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/TimeAndSpace.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.inv; +package com.raytheon.uf.common.inventory; import org.opengis.referencing.crs.CoordinateReferenceSystem; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/TimeAndSpaceMatcher.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/TimeAndSpaceMatcher.java similarity index 99% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/TimeAndSpaceMatcher.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/TimeAndSpaceMatcher.java index c56e252c96..df6e649b4c 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/inv/TimeAndSpaceMatcher.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/TimeAndSpaceMatcher.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.inv; +package com.raytheon.uf.common.inventory; import java.util.Collection; import java.util.HashMap; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AbstractRequestableData.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AbstractRequestableData.java similarity index 95% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AbstractRequestableData.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AbstractRequestableData.java index 43944d258d..68126737f0 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AbstractRequestableData.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AbstractRequestableData.java @@ -17,18 +17,18 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.common.inventory.data; import java.util.Collections; import java.util.List; import javax.measure.unit.Unit; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.TimeAndSpace; import com.raytheon.uf.common.dataplugin.level.Level; import com.raytheon.uf.common.geospatial.ISpatialObject; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; /** * AbstractRequestableData is the base metadata class for derived parameters. It @@ -85,7 +85,7 @@ public abstract class AbstractRequestableData { // example grib uses the arg as a Request for subgridding. Point data may // use it to hold the pdc which serves as the base data for all base // parameters - public abstract Object getDataValue(Object arg) throws VizException; + public abstract Object getDataValue(Object arg) throws DataCubeException; /** * @return the source diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AggregateRequestableData.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AggregateRequestableData.java similarity index 92% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AggregateRequestableData.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AggregateRequestableData.java index 11d2777f96..8aecc47779 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AggregateRequestableData.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AggregateRequestableData.java @@ -17,12 +17,12 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.common.inventory.data; import java.util.ArrayList; import java.util.List; -import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; /** * @@ -57,7 +57,7 @@ public class AggregateRequestableData extends AbstractRequestableData { this.sourceRecords = sourceRecords; } - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { List args = new ArrayList(sourceRecords.size()); for (AbstractRequestableData sourceRecord : sourceRecords) { args.add(sourceRecord.getDataValue(arg)); diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AliasRequestableData.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AliasRequestableData.java similarity index 96% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AliasRequestableData.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AliasRequestableData.java index d42dab5a85..5d8ba80247 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/AliasRequestableData.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/AliasRequestableData.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.common.inventory.data; import java.util.Arrays; import java.util.List; @@ -26,9 +26,9 @@ import javax.measure.converter.UnitConverter; import javax.measure.unit.NonSI; import javax.measure.unit.Unit; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.datastorage.records.FloatDataRecord; import com.raytheon.uf.common.datastorage.records.IDataRecord; -import com.raytheon.uf.viz.core.exception.VizException; /** * Represents a simple alias, where a parameter represents the same data as @@ -59,12 +59,12 @@ public class AliasRequestableData extends AbstractRequestableData { this.space = sourceRecord.space; } - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { return getDataAndConvert(sourceRecord, arg); } protected Object getDataAndConvert(AbstractRequestableData record, - Object arg) throws VizException { + Object arg) throws DataCubeException { Object rval = record.getDataValue(arg); // Clone and rename records. if (rval instanceof IDataRecord) { diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/CubeRequestableData.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/CubeRequestableData.java similarity index 95% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/CubeRequestableData.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/CubeRequestableData.java index 0b4603bbdc..116e0fc596 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/CubeRequestableData.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/CubeRequestableData.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.common.inventory.data; import java.util.ArrayList; import java.util.Comparator; @@ -27,10 +27,10 @@ import java.util.Map; import java.util.NavigableMap; import java.util.TreeMap; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.inventory.tree.CubeLevel; import com.raytheon.uf.common.dataplugin.level.CompareType; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.derivparam.tree.CubeLevel; /** * TODO Add Description @@ -128,7 +128,7 @@ public class CubeRequestableData extends AbstractRequestableData { * () */ @Override - public Object getDataValue(Object arg) throws VizException { + public Object getDataValue(Object arg) throws DataCubeException { List> rval = new ArrayList>( dataMap.size()); for (CubeLevel cubeLevel : dataMap diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/FloatRequestableData.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/FloatRequestableData.java similarity index 94% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/FloatRequestableData.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/FloatRequestableData.java index 0ebd23edcf..3264507900 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/data/FloatRequestableData.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/data/FloatRequestableData.java @@ -17,9 +17,9 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.data; +package com.raytheon.uf.common.inventory.data; -import com.raytheon.uf.viz.derivparam.inv.TimeAndSpace; +import com.raytheon.uf.common.inventory.TimeAndSpace; /** * RequestableData object for a single constant float value. diff --git a/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/exception/DataCubeException.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/exception/DataCubeException.java new file mode 100644 index 0000000000..d1fa628741 --- /dev/null +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/exception/DataCubeException.java @@ -0,0 +1,83 @@ +/** + * This software was developed and / or modified by Raytheon Company, + * pursuant to Contract DG133W-05-CQ-1067 with the US Government. + * + * U.S. EXPORT CONTROLLED TECHNICAL DATA + * This software product contains export-restricted data whose + * export/transfer/disclosure is restricted by U.S. law. Dissemination + * to non-U.S. persons whether in the United States or abroad requires + * an export license or other authorization. + * + * Contractor Name: Raytheon Company + * Contractor Address: 6825 Pine Street, Suite 340 + * Mail Stop B8 + * Omaha, NE 68106 + * 402.291.0100 + * + * See the AWIPS II Master Rights File ("Master Rights File.pdf") for + * further licensing information. + **/ +package com.raytheon.uf.common.inventory.exception; + +/** + * Specific exception type for inventory errors + * + *
+ * 
+ * SOFTWARE HISTORY
+ * 
+ * Date         Ticket#    Engineer    Description
+ * ------------ ---------- ----------- --------------------------
+ * Mar 15, 2014            ekladstrup     Initial creation
+ * 
+ * 
+ * + * @author ekladstrup + * @version 1.0 + */ + +public class DataCubeException extends Exception { + + private static final long serialVersionUID = -2577688542200002780L; + + /** + * + */ + public DataCubeException() { + super(); + } + + /** + * @param message + */ + public DataCubeException(String message) { + super(message); + } + + /** + * @param cause + */ + public DataCubeException(Throwable cause) { + super(cause); + } + + /** + * @param message + * @param cause + */ + public DataCubeException(String message, Throwable cause) { + super(message, cause); + } + + /** + * @param message + * @param cause + * @param enableSuppression + * @param writableStackTrace + */ + public DataCubeException(String message, Throwable cause, + boolean enableSuppression, boolean writableStackTrace) { + super(message, cause, enableSuppression, writableStackTrace); + } + +} diff --git a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractNode.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/AbstractNode.java similarity index 98% rename from edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractNode.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/AbstractNode.java index 821f4f4dfb..3f1742b81c 100644 --- a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/AbstractNode.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/AbstractNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.common.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; import java.util.HashMap; import java.util.HashSet; diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractRequestableNode.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/AbstractRequestableNode.java similarity index 96% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractRequestableNode.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/AbstractRequestableNode.java index b4049f48b6..3e69596475 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/AbstractRequestableNode.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/AbstractRequestableNode.java @@ -17,10 +17,9 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; import com.raytheon.uf.common.dataplugin.level.Level; -import com.raytheon.uf.common.derivparam.tree.LevelNode; /** * diff --git a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/CubeLevel.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/CubeLevel.java similarity index 97% rename from cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/CubeLevel.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/CubeLevel.java index dd1cf9baec..adc6e7683e 100644 --- a/cave/com.raytheon.uf.viz.derivparam/src/com/raytheon/uf/viz/derivparam/tree/CubeLevel.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/CubeLevel.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.viz.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; /** * A pair set of items for a cube. Always represented as a parameter and a pressure. diff --git a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/DataTree.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/DataTree.java similarity index 99% rename from edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/DataTree.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/DataTree.java index 94b854ee3a..28e268fb7a 100644 --- a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/DataTree.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/DataTree.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.common.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; import java.util.HashMap; import java.util.HashSet; diff --git a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/LevelNode.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/LevelNode.java similarity index 98% rename from edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/LevelNode.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/LevelNode.java index fa5f231a00..2d55d723a2 100644 --- a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/LevelNode.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/LevelNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.common.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; import javax.persistence.Transient; diff --git a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/ParameterNode.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/ParameterNode.java similarity index 97% rename from edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/ParameterNode.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/ParameterNode.java index 21d4167d40..bdb04f5f56 100644 --- a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/ParameterNode.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/ParameterNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.common.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; import com.raytheon.uf.common.serialization.annotations.DynamicSerialize; import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement; diff --git a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/SourceNode.java b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/SourceNode.java similarity index 97% rename from edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/SourceNode.java rename to edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/SourceNode.java index 7a5303189c..f4523d3557 100644 --- a/edexOsgi/com.raytheon.uf.common.derivparam/src/com/raytheon/uf/common/derivparam/tree/SourceNode.java +++ b/edexOsgi/com.raytheon.uf.common.inventory/src/com/raytheon/uf/common/inventory/tree/SourceNode.java @@ -17,7 +17,7 @@ * See the AWIPS II Master Rights File ("Master Rights File.pdf") for * further licensing information. **/ -package com.raytheon.uf.common.derivparam.tree; +package com.raytheon.uf.common.inventory.tree; import com.raytheon.uf.common.serialization.annotations.DynamicSerialize; import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement; diff --git a/edexOsgi/com.raytheon.uf.edex.plugin.grid/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.uf.edex.plugin.grid/META-INF/MANIFEST.MF index 99148e274a..0f1ab86d17 100644 --- a/edexOsgi/com.raytheon.uf.edex.plugin.grid/META-INF/MANIFEST.MF +++ b/edexOsgi/com.raytheon.uf.edex.plugin.grid/META-INF/MANIFEST.MF @@ -5,12 +5,12 @@ Bundle-SymbolicName: com.raytheon.uf.edex.plugin.grid Bundle-Version: 1.0.0.qualifier Bundle-Vendor: RAYTHEON Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Import-Package: com.raytheon.uf.common.dataplugin, +Import-Package: com.raytheon.uf.common.inventory.tree, + com.raytheon.uf.common.dataplugin, com.raytheon.uf.common.dataplugin.persist, com.raytheon.uf.common.dataquery.db, com.raytheon.uf.common.datastorage, com.raytheon.uf.common.datastorage.records, - com.raytheon.uf.common.derivparam.tree, com.raytheon.uf.edex.core, com.raytheon.uf.edex.core.dataplugin, com.raytheon.uf.edex.database, diff --git a/edexOsgi/com.raytheon.uf.edex.plugin.grid/src/com/raytheon/uf/edex/plugin/grid/handler/GridTreeHandler.java b/edexOsgi/com.raytheon.uf.edex.plugin.grid/src/com/raytheon/uf/edex/plugin/grid/handler/GridTreeHandler.java index 8ca65f1f5f..fcc71c1be9 100644 --- a/edexOsgi/com.raytheon.uf.edex.plugin.grid/src/com/raytheon/uf/edex/plugin/grid/handler/GridTreeHandler.java +++ b/edexOsgi/com.raytheon.uf.edex.plugin.grid/src/com/raytheon/uf/edex/plugin/grid/handler/GridTreeHandler.java @@ -23,12 +23,12 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import com.raytheon.uf.common.inventory.tree.DataTree; import com.raytheon.uf.common.dataplugin.grid.GridInfoConstants; import com.raytheon.uf.common.dataplugin.grid.GridInfoRecord; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfo; import com.raytheon.uf.common.dataplugin.grid.dataset.DatasetInfoLookup; import com.raytheon.uf.common.dataplugin.grid.request.GetGridTreeRequest; -import com.raytheon.uf.common.derivparam.tree.DataTree; import com.raytheon.uf.common.serialization.comm.IRequestHandler; import com.raytheon.uf.edex.database.dao.CoreDao; import com.raytheon.uf.edex.database.dao.DaoConfig; diff --git a/edexOsgi/com.raytheon.uf.edex.pointdata/META-INF/MANIFEST.MF b/edexOsgi/com.raytheon.uf.edex.pointdata/META-INF/MANIFEST.MF index d701383659..649772d25d 100644 --- a/edexOsgi/com.raytheon.uf.edex.pointdata/META-INF/MANIFEST.MF +++ b/edexOsgi/com.raytheon.uf.edex.pointdata/META-INF/MANIFEST.MF @@ -13,10 +13,10 @@ Require-Bundle: com.raytheon.uf.common.pointdata;bundle-version="1.12.1174";visi com.raytheon.uf.common.localization;bundle-version="1.12.1174", com.raytheon.uf.common.comm;bundle-version="1.12.1174", com.raytheon.uf.common.message;bundle-version="1.12.1174", - com.raytheon.uf.common.derivparam;bundle-version="1.12.1174", com.raytheon.uf.common.dataplugin.level;bundle-version="1.12.1174", com.raytheon.edex.common;bundle-version="1.12.1174", org.geotools;bundle-version="2.6.4", javax.measure;bundle-version="1.0.0" Export-Package: com.raytheon.uf.edex.pointdata, com.raytheon.uf.edex.pointdata.spatial +Import-Package: com.raytheon.uf.common.inventory.tree diff --git a/edexOsgi/com.raytheon.uf.edex.pointdata/src/com/raytheon/uf/edex/pointdata/GetPointDataTreeHandler.java b/edexOsgi/com.raytheon.uf.edex.pointdata/src/com/raytheon/uf/edex/pointdata/GetPointDataTreeHandler.java index 50153843ad..db46edef3c 100644 --- a/edexOsgi/com.raytheon.uf.edex.pointdata/src/com/raytheon/uf/edex/pointdata/GetPointDataTreeHandler.java +++ b/edexOsgi/com.raytheon.uf.edex.pointdata/src/com/raytheon/uf/edex/pointdata/GetPointDataTreeHandler.java @@ -24,11 +24,11 @@ import java.util.Collections; import java.util.List; import java.util.Map.Entry; +import com.raytheon.uf.common.inventory.tree.DataTree; import com.raytheon.uf.common.dataplugin.level.LevelFactory; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.responses.DbQueryResponse; -import com.raytheon.uf.common.derivparam.tree.DataTree; import com.raytheon.uf.common.pointdata.GetPointDataTreeRequest; import com.raytheon.uf.common.serialization.comm.IRequestHandler; import com.raytheon.uf.common.serialization.comm.RequestRouter; diff --git a/ncep/gov.noaa.nws.ncep.ui.nctextui/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.ui.nctextui/META-INF/MANIFEST.MF index 98e013eb2a..7d4fb180da 100644 --- a/ncep/gov.noaa.nws.ncep.ui.nctextui/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.ui.nctextui/META-INF/MANIFEST.MF @@ -13,11 +13,13 @@ Require-Bundle: org.eclipse.ui, com.raytheon.viz.core;bundle-version="1.11.17", gov.noaa.nws.ncep.ui.pgen, gov.noaa.nws.ncep.viz.common;bundle-version="1.0.0", - com.raytheon.uf.common.pointdata + com.raytheon.uf.common.pointdata, + com.raytheon.uf.viz.datacube Eclipse-LazyStart: true Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Bundle-Vendor: SIB -Import-Package: com.raytheon.uf.common.dataplugin, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.dataplugin, com.raytheon.uf.common.dataplugin.obs.metar, com.raytheon.uf.common.pointdata, com.raytheon.uf.viz.core, diff --git a/ncep/gov.noaa.nws.ncep.ui.nctextui/src/gov/noaa/nws/ncep/ui/nctextui/dbutil/NctextDbQuery.java b/ncep/gov.noaa.nws.ncep.ui.nctextui/src/gov/noaa/nws/ncep/ui/nctextui/dbutil/NctextDbQuery.java index 2df040a9af..6e80bec2a5 100644 --- a/ncep/gov.noaa.nws.ncep.ui.nctextui/src/gov/noaa/nws/ncep/ui/nctextui/dbutil/NctextDbQuery.java +++ b/ncep/gov.noaa.nws.ncep.ui.nctextui/src/gov/noaa/nws/ncep/ui/nctextui/dbutil/NctextDbQuery.java @@ -71,13 +71,15 @@ import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.TimeZone; + +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.viz.core.catalog.DirectDbQuery.QueryLanguage; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.PointDataRequest; @@ -974,7 +976,7 @@ public class NctextDbQuery { try { pdc = DataCubeContainer.getPointData(tableName, parameters.toArray(new String[parameters.size()]), null,rcMap); - } catch (VizException e) { + } catch (DataCubeException e) { System.out.println("requestObsPointData-DataCubeContainer:Error getting raw data from "+tableName+" ::" + e); } diff --git a/ncep/gov.noaa.nws.ncep.ui.pgen/src/gov/noaa/nws/ncep/ui/pgen/store/StorageUtils.java b/ncep/gov.noaa.nws.ncep.ui.pgen/src/gov/noaa/nws/ncep/ui/pgen/store/StorageUtils.java index 07ed6e5835..1015bfc29c 100644 --- a/ncep/gov.noaa.nws.ncep.ui.pgen/src/gov/noaa/nws/ncep/ui/pgen/store/StorageUtils.java +++ b/ncep/gov.noaa.nws.ncep.ui.pgen/src/gov/noaa/nws/ncep/ui/pgen/store/StorageUtils.java @@ -20,6 +20,7 @@ import javax.xml.bind.JAXBException; import org.eclipse.jface.dialogs.MessageDialog; import org.eclipse.ui.PlatformUI; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginException; import com.raytheon.uf.common.dataquery.requests.DbQueryRequest; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; @@ -32,7 +33,6 @@ import com.raytheon.uf.common.message.response.ResponseMessageError; import com.raytheon.uf.common.message.response.ResponseMessageGeneric; import com.raytheon.uf.common.serialization.SerializationUtil; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.requests.ThriftClient; import com.raytheon.viz.core.mode.CAVEMode; diff --git a/ncep/gov.noaa.nws.ncep.viz.cloudHeight/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.viz.cloudHeight/META-INF/MANIFEST.MF index e2434c69f1..37120789a8 100644 --- a/ncep/gov.noaa.nws.ncep.viz.cloudHeight/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.viz.cloudHeight/META-INF/MANIFEST.MF @@ -20,10 +20,12 @@ Require-Bundle: org.eclipse.ui, gov.noaa.nws.ncep.viz.rsc.satellite;bundle-version="1.0.0", gov.noaa.nws.ncep.edex.common;bundle-version="1.0.0", com.raytheon.uf.common.colormap;bundle-version="1.12.1174", - com.raytheon.uf.common.numeric;bundle-version="1.14.0" + com.raytheon.uf.common.numeric;bundle-version="1.14.0", + com.raytheon.uf.viz.datacube Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Import-Package: com.raytheon.uf.common.pypies, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.pypies, com.raytheon.viz.core.gl.dataformat, com.raytheon.viz.satellite.rsc, gov.noaa.nws.ncep.common.dataplugin.mcidas, diff --git a/ncep/gov.noaa.nws.ncep.viz.cloudHeight/src/gov/noaa/nws/ncep/viz/cloudHeight/CloudHeightProcesser.java b/ncep/gov.noaa.nws.ncep.viz.cloudHeight/src/gov/noaa/nws/ncep/viz/cloudHeight/CloudHeightProcesser.java index c13fc857c5..6d6d5e1cb2 100644 --- a/ncep/gov.noaa.nws.ncep.viz.cloudHeight/src/gov/noaa/nws/ncep/viz/cloudHeight/CloudHeightProcesser.java +++ b/ncep/gov.noaa.nws.ncep.viz.cloudHeight/src/gov/noaa/nws/ncep/viz/cloudHeight/CloudHeightProcesser.java @@ -57,6 +57,8 @@ import org.opengis.referencing.operation.MathTransform; import org.opengis.referencing.operation.NoninvertibleTransformException; import org.opengis.referencing.operation.TransformException; +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.records.AbstractStorageRecord; import com.raytheon.uf.common.datastorage.records.ByteDataRecord; @@ -68,15 +70,14 @@ import com.raytheon.uf.common.numeric.filter.UnsignedFilter; import com.raytheon.uf.common.numeric.source.DataSource; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.util.BufferUtil; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IDisplayPane; import com.raytheon.uf.viz.core.data.IColorMapDataRetrievalCallback; import com.raytheon.uf.viz.core.data.prep.HDF5DataRetriever; -import com.raytheon.uf.viz.core.datastructure.CubeUtil; import com.raytheon.uf.viz.core.drawables.ResourcePair; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.ResourceList; +import com.raytheon.uf.viz.datacube.CubeUtil; import com.raytheon.viz.core.rsc.hdf5.FileBasedTileSet; import com.vividsolutions.jts.geom.Coordinate; //import com.raytheon.uf.viz.core.data.IDataRetrievalCallback; @@ -1207,14 +1208,14 @@ public class CloudHeightProcesser { } } - } catch (VizException e) { - e.printStackTrace(); } catch (FactoryException e) { e.printStackTrace(); } catch (NoninvertibleTransformException e) { e.printStackTrace(); } catch (TransformException e) { e.printStackTrace(); + } catch (DataCubeException e1) { + e1.printStackTrace(); } } } diff --git a/ncep/gov.noaa.nws.ncep.viz.gempak/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.viz.gempak/META-INF/MANIFEST.MF index 37a5a29a3e..9acb5928b0 100644 --- a/ncep/gov.noaa.nws.ncep.viz.gempak/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.viz.gempak/META-INF/MANIFEST.MF @@ -27,7 +27,6 @@ Export-Package: gov.noaa.nws.ncep.viz.gempak, gov.noaa.nws.ncep.viz.gempak.grid.mapper, gov.noaa.nws.ncep.viz.gempak.grid.units, gov.noaa.nws.ncep.viz.gempak.util -Import-Package: com.raytheon.uf.common.derivparam.tree, - gov.noaa.nws.ncep.edex.common.ncinventory, +Import-Package: gov.noaa.nws.ncep.edex.common.ncinventory, gov.noaa.nws.ncep.common.log.logger, com.raytheon.uf.common.serialization diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.lightning/src/gov/noaa/nws/ncep/viz/rsc/lightning/rsc/LightningResource.java b/ncep/gov.noaa.nws.ncep.viz.rsc.lightning/src/gov/noaa/nws/ncep/viz/rsc/lightning/rsc/LightningResource.java index 8b0c46f7f8..750734a74d 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.lightning/src/gov/noaa/nws/ncep/viz/rsc/lightning/rsc/LightningResource.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.lightning/src/gov/noaa/nws/ncep/viz/rsc/lightning/rsc/LightningResource.java @@ -15,6 +15,7 @@ import java.util.Date; import java.util.HashMap; import java.util.List; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.dataplugin.binlightning.BinLightningRecord; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; @@ -31,7 +32,6 @@ import com.raytheon.uf.common.status.UFStatus; import com.raytheon.uf.common.status.UFStatus.Priority; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.TimeRange; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IExtent; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.PixelExtent; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.mosaic/src/gov/noaa/nws/ncep/viz/rsc/mosaic/rsc/MosaicResource.java b/ncep/gov.noaa.nws.ncep.viz.rsc.mosaic/src/gov/noaa/nws/ncep/viz/rsc/mosaic/rsc/MosaicResource.java index 6e393d90ee..4924680c0a 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.mosaic/src/gov/noaa/nws/ncep/viz/rsc/mosaic/rsc/MosaicResource.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.mosaic/src/gov/noaa/nws/ncep/viz/rsc/mosaic/rsc/MosaicResource.java @@ -32,6 +32,7 @@ import com.raytheon.uf.common.colormap.ColorMap; import com.raytheon.uf.common.colormap.prefs.ColorMapParameters; import com.raytheon.uf.common.colormap.prefs.DataMappingPreferences; import com.raytheon.uf.common.colormap.prefs.DataMappingPreferences.DataMappingEntry; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; @@ -44,7 +45,6 @@ import com.raytheon.uf.common.style.image.ImagePreferences; import com.raytheon.uf.common.style.image.SamplePreferences; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.units.PiecewisePixel; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.drawables.PaintProperties; import com.raytheon.uf.viz.core.drawables.ResourcePair; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/META-INF/MANIFEST.MF index 09f4c9c673..2b3245f475 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/META-INF/MANIFEST.MF @@ -38,15 +38,10 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Export-Package: gov.noaa.nws.ncep.viz.rsc.ncgrid, gov.noaa.nws.ncep.viz.rsc.ncgrid.contours, gov.noaa.nws.ncep.viz.rsc.ncgrid.rsc -Import-Package: com.raytheon.viz.core.contours.util, - com.raytheon.uf.common.comm, +Import-Package: com.raytheon.uf.common.comm, com.raytheon.uf.common.dataplugin.level, - com.raytheon.uf.common.derivparam.tree, com.raytheon.uf.common.pointdata, - com.raytheon.uf.viz.derivparam.data, - com.raytheon.uf.viz.derivparam.inv, - com.raytheon.uf.viz.derivparam.library, - com.raytheon.uf.viz.derivparam.tree, + com.raytheon.viz.core.contours.util, com.raytheon.viz.grid.inv, com.sun.jna, com.sun.jna.ptr, diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.ncradar/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.viz.rsc.ncradar/META-INF/MANIFEST.MF index 289b458556..d602e1c0cb 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.ncradar/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.ncradar/META-INF/MANIFEST.MF @@ -36,7 +36,6 @@ Import-Package: com.raytheon.uf.common.dataplugin, com.raytheon.uf.common.time, com.raytheon.uf.viz.core.exception, com.raytheon.uf.viz.d2d.core.map, - com.raytheon.uf.viz.derivparam.library, com.raytheon.viz.awipstools.capabilities, com.raytheon.viz.awipstools.capabilityInterfaces, com.raytheon.viz.awipstools.common, diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.ncscat/src/gov/noaa/nws/ncep/viz/rsc/ncscat/rsc/NcscatResource.java b/ncep/gov.noaa.nws.ncep.viz.rsc.ncscat/src/gov/noaa/nws/ncep/viz/rsc/ncscat/rsc/NcscatResource.java index fb3ec62845..72ea140553 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.ncscat/src/gov/noaa/nws/ncep/viz/rsc/ncscat/rsc/NcscatResource.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.ncscat/src/gov/noaa/nws/ncep/viz/rsc/ncscat/rsc/NcscatResource.java @@ -28,6 +28,7 @@ import javax.measure.unit.Unit; import org.eclipse.swt.graphics.RGB; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataplugin.PluginDataObject; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; @@ -35,7 +36,6 @@ import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.StorageException; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IExtent; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.PixelExtent; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.ntrans/src/gov/noaa/nws/ncep/viz/rsc/ntrans/rsc/NtransResource.java b/ncep/gov.noaa.nws.ncep.viz.rsc.ntrans/src/gov/noaa/nws/ncep/viz/rsc/ntrans/rsc/NtransResource.java index 5d72a9b7ef..b246429955 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.ntrans/src/gov/noaa/nws/ncep/viz/rsc/ntrans/rsc/NtransResource.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.ntrans/src/gov/noaa/nws/ncep/viz/rsc/ntrans/rsc/NtransResource.java @@ -27,6 +27,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.eclipse.swt.graphics.RGB; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.datastorage.DataStoreFactory; @@ -35,7 +36,6 @@ import com.raytheon.uf.common.datastorage.Request; import com.raytheon.uf.common.datastorage.StorageException; import com.raytheon.uf.common.datastorage.records.IDataRecord; import com.raytheon.uf.common.time.DataTime; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.IExtent; import com.raytheon.uf.viz.core.IGraphicsTarget; import com.raytheon.uf.viz.core.PixelExtent; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/META-INF/MANIFEST.MF index e47fca59b5..c2487e84b3 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/META-INF/MANIFEST.MF @@ -22,10 +22,12 @@ Require-Bundle: org.eclipse.ui, com.raytheon.uf.common.pointdata, gov.noaa.nws.ncep.edex.common, com.raytheon.uf.common.colormap;bundle-version="1.12.1174", - gov.noaa.nws.ncep.ui.pgen + gov.noaa.nws.ncep.ui.pgen, + com.raytheon.uf.viz.datacube Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.6 -Import-Package: com.raytheon.uf.common.dataplugin, +Import-Package: com.raytheon.uf.common.inventory.exception, + com.raytheon.uf.common.dataplugin, com.raytheon.uf.common.pointdata, com.raytheon.uf.common.time, com.raytheon.uf.viz.core.rsc, diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelDataRequestJob.java b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelDataRequestJob.java index d99e86a50d..e12926c1f6 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelDataRequestJob.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelDataRequestJob.java @@ -23,16 +23,16 @@ package gov.noaa.nws.ncep.viz.rsc.plotdata.plotModels; import gov.noaa.nws.ncep.edex.common.metparameters.AbstractMetParameter; import gov.noaa.nws.ncep.edex.common.metparameters.Amount; import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory; +import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory.NotDerivableException; import gov.noaa.nws.ncep.edex.common.metparameters.StationElevation; import gov.noaa.nws.ncep.edex.common.metparameters.StationID; import gov.noaa.nws.ncep.edex.common.metparameters.StationLatitude; import gov.noaa.nws.ncep.edex.common.metparameters.StationLongitude; import gov.noaa.nws.ncep.edex.common.metparameters.StationNumber; -import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory.NotDerivableException; import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingCube; +import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingCube.QueryStatus; import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingLayer2; import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingProfile; -import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingCube.QueryStatus; import gov.noaa.nws.ncep.viz.common.soundingQuery.NcSoundingQuery2; import gov.noaa.nws.ncep.viz.rsc.plotdata.conditionalfilter.ConditionalFilter; import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefn; @@ -55,21 +55,21 @@ import org.eclipse.core.runtime.IStatus; import org.eclipse.core.runtime.Status; import org.eclipse.core.runtime.jobs.Job; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.pointdata.ParameterDescription; import com.raytheon.uf.common.pointdata.PointDataContainer; -import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.pointdata.PointDataDescription.Type; +import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.serialization.adapters.UnitAdapter; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.TimeRange; import com.raytheon.uf.viz.core.IGraphicsTarget; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.map.IMapDescriptor; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.IPlotModelGeneratorCaller; -import com.raytheon.viz.pointdata.PlotData; import com.raytheon.viz.pointdata.PlotInfo; import com.raytheon.viz.pointdata.PointDataRequest; @@ -570,6 +570,9 @@ public class NcPlotModelDataRequestJob extends Job { } catch (VizException e1) { e1.printStackTrace(); return null; + } catch (DataCubeException e) { + e.printStackTrace(); + return null; } j = 0; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelHdf5DataRequestor.java b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelHdf5DataRequestor.java index 5a80e78f63..30030c508c 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelHdf5DataRequestor.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/NcPlotModelHdf5DataRequestor.java @@ -39,6 +39,7 @@ import java.util.concurrent.Semaphore; import javax.measure.unit.NonSI; +import com.raytheon.uf.common.inventory.exception.DataCubeException; import com.raytheon.uf.common.dataquery.requests.RequestConstraint; import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; import com.raytheon.uf.common.pointdata.ParameterDescription; @@ -47,9 +48,9 @@ import com.raytheon.uf.common.pointdata.PointDataDescription.Type; import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.TimeRange; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; import com.raytheon.uf.viz.core.exception.VizException; import com.raytheon.uf.viz.core.jobs.JobPool; +import com.raytheon.uf.viz.datacube.DataCubeContainer; import com.raytheon.viz.pointdata.PointDataRequest; /** @@ -1875,6 +1876,9 @@ public class NcPlotModelHdf5DataRequestor { } catch (VizException e) { e.printStackTrace(); + } catch (DataCubeException e1) { + + e1.printStackTrace(); } } diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/PlotModelGenerator2.java b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/PlotModelGenerator2.java index 7e8d20e66c..265adda8a3 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/PlotModelGenerator2.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.plotdata/src/gov/noaa/nws/ncep/viz/rsc/plotdata/plotModels/PlotModelGenerator2.java @@ -20,83 +20,71 @@ package gov.noaa.nws.ncep.viz.rsc.plotdata.plotModels; -import java.awt.image.BufferedImage; -import java.text.ParseException; -import java.text.ParsePosition; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Date; -import java.util.HashMap; -import java.util.IllegalFormatConversionException; -import java.util.List; -import java.util.Set; -import java.util.Map; -import java.util.UUID; -import java.util.Map.Entry; -import java.util.concurrent.ConcurrentLinkedQueue; - -import javax.measure.unit.NonSI; -import javax.measure.unit.SI; -import javax.measure.unit.Unit; -import javax.measure.unit.UnitFormat; -import javax.sound.midi.MidiDevice.Info; - -import org.eclipse.core.runtime.IProgressMonitor; -import org.eclipse.core.runtime.IStatus; -import org.eclipse.core.runtime.Status; -import org.eclipse.core.runtime.jobs.Job; -import org.eclipse.swt.graphics.RGB; - -import com.raytheon.uf.common.dataquery.requests.RequestConstraint; -import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; -import com.raytheon.uf.common.pointdata.ParameterDescription; -import com.raytheon.uf.common.pointdata.PointDataContainer; -import com.raytheon.uf.common.pointdata.PointDataDescription; -import com.raytheon.uf.common.pointdata.PointDataView; -import com.raytheon.uf.viz.core.IGraphicsTarget; -import com.raytheon.uf.viz.core.data.prep.IODataPreparer; -import com.raytheon.uf.viz.core.datastructure.DataCubeContainer; -import com.raytheon.uf.viz.core.drawables.IImage; -import com.raytheon.uf.viz.core.exception.VizException; -import com.raytheon.uf.viz.core.map.IMapDescriptor; -import com.raytheon.viz.pointdata.IPlotModelGeneratorCaller; -import com.raytheon.viz.pointdata.PlotInfo; -import com.raytheon.viz.pointdata.PointDataRequest; - -import gov.noaa.nws.ncep.viz.common.soundingQuery.NcSoundingQuery2; -import gov.noaa.nws.ncep.viz.rsc.plotdata.conditionalfilter.ConditionalFilter; -import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefn; -import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefns; -import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefnsMngr; -import gov.noaa.nws.ncep.viz.rsc.plotdata.plotModels.PlotModelFactory2.PlotElement; -import gov.noaa.nws.ncep.viz.rsc.plotdata.plotModels.elements.PlotModel; import gov.noaa.nws.ncep.edex.common.metparameters.AbstractMetParameter; -//import gov.noaa.nws.ncep.edex.common.metparameters.Amount; -import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory; //import gov.noaa.nws.ncep.edex.common.metparameters.PressureLevel; //import gov.noaa.nws.ncep.edex.common.metparameters.RelativeHumidity; //import gov.noaa.nws.ncep.edex.common.metparameters.StationElevation; //import gov.noaa.nws.ncep.edex.common.metparameters.StationID; import gov.noaa.nws.ncep.edex.common.metparameters.Amount; +//import gov.noaa.nws.ncep.edex.common.metparameters.Amount; +import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory; +//import gov.noaa.nws.ncep.edex.common.metparameters.StationName; +import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory.NotDerivableException; import gov.noaa.nws.ncep.edex.common.metparameters.StationElevation; import gov.noaa.nws.ncep.edex.common.metparameters.StationID; import gov.noaa.nws.ncep.edex.common.metparameters.StationLatitude; import gov.noaa.nws.ncep.edex.common.metparameters.StationLongitude; import gov.noaa.nws.ncep.edex.common.metparameters.StationNumber; -//import gov.noaa.nws.ncep.edex.common.metparameters.StationName; -import gov.noaa.nws.ncep.edex.common.metparameters.MetParameterFactory.NotDerivableException; import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingCube; +import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingCube.QueryStatus; //import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingLayer; //import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingLayer.DataType; import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingLayer2; import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingProfile; -import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingCube.QueryStatus; +import gov.noaa.nws.ncep.viz.common.soundingQuery.NcSoundingQuery2; +import gov.noaa.nws.ncep.viz.rsc.plotdata.conditionalfilter.ConditionalFilter; +import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefn; +import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefns; +import gov.noaa.nws.ncep.viz.rsc.plotdata.parameters.PlotParameterDefnsMngr; +import gov.noaa.nws.ncep.viz.rsc.plotdata.plotModels.elements.PlotModel; +import java.awt.image.BufferedImage; +import java.util.ArrayList; +import java.util.Date; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.UUID; +import java.util.concurrent.ConcurrentLinkedQueue; + +import javax.measure.unit.NonSI; +import javax.measure.unit.Unit; + +import org.eclipse.core.runtime.IProgressMonitor; +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Status; +import org.eclipse.core.runtime.jobs.Job; + +import com.raytheon.uf.common.inventory.exception.DataCubeException; +import com.raytheon.uf.common.dataquery.requests.RequestConstraint; +import com.raytheon.uf.common.dataquery.requests.RequestConstraint.ConstraintType; +import com.raytheon.uf.common.pointdata.ParameterDescription; +import com.raytheon.uf.common.pointdata.PointDataContainer; import com.raytheon.uf.common.pointdata.PointDataDescription.Type; +import com.raytheon.uf.common.pointdata.PointDataView; import com.raytheon.uf.common.serialization.adapters.UnitAdapter; import com.raytheon.uf.common.time.DataTime; import com.raytheon.uf.common.time.TimeRange; -import com.vividsolutions.jts.geom.Coordinate; +import com.raytheon.uf.viz.core.IGraphicsTarget; +import com.raytheon.uf.viz.core.data.prep.IODataPreparer; +import com.raytheon.uf.viz.core.drawables.IImage; +import com.raytheon.uf.viz.core.exception.VizException; +import com.raytheon.uf.viz.core.map.IMapDescriptor; +import com.raytheon.uf.viz.datacube.DataCubeContainer; +import com.raytheon.viz.pointdata.IPlotModelGeneratorCaller; +import com.raytheon.viz.pointdata.PlotInfo; +import com.raytheon.viz.pointdata.PointDataRequest; /** * A Eclipse Job thread that will listen for new stations on a queue and request * the data to create the plots. @@ -591,6 +579,9 @@ public class PlotModelGenerator2 extends Job { } catch (VizException e1) { e1.printStackTrace(); return Status.OK_STATUS; + } catch (DataCubeException e) { + e.printStackTrace(); + return Status.OK_STATUS; } j = 0; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/META-INF/MANIFEST.MF b/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/META-INF/MANIFEST.MF index 964962f6cb..ae8bd1e1d2 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/META-INF/MANIFEST.MF +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/META-INF/MANIFEST.MF @@ -27,10 +27,10 @@ Require-Bundle: org.eclipse.ui, com.raytheon.viz.satellite;bundle-version="1.11.17", com.raytheon.uf.viz.core, javax.media.opengl, - com.raytheon.uf.viz.derivparam;bundle-version="1.11.31", gov.noaa.nws.ncep.common.dataplugin.mcidas;bundle-version="1.0.0", com.raytheon.uf.common.dataplugin.satellite;bundle-version="1.0.0", - com.raytheon.uf.common.style;bundle-version="1.0.0" + com.raytheon.uf.common.style;bundle-version="1.0.0", + com.raytheon.uf.common.derivparam;bundle-version="1.14.0" Bundle-ActivationPolicy: lazy Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Export-Package: gov.noaa.nws.ncep.viz.rsc.satellite, diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/src/gov/noaa/nws/ncep/viz/rsc/satellite/rsc/AbstractSatelliteResource.java b/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/src/gov/noaa/nws/ncep/viz/rsc/satellite/rsc/AbstractSatelliteResource.java index 6e3f79d8ec..bd9858ee0b 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/src/gov/noaa/nws/ncep/viz/rsc/satellite/rsc/AbstractSatelliteResource.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.satellite/src/gov/noaa/nws/ncep/viz/rsc/satellite/rsc/AbstractSatelliteResource.java @@ -73,7 +73,7 @@ import com.raytheon.uf.viz.core.rsc.LoadProperties; import com.raytheon.uf.viz.core.rsc.ResourceProperties; import com.raytheon.uf.viz.core.rsc.capabilities.ColorMapCapability; import com.raytheon.uf.viz.core.rsc.capabilities.ImagingCapability; -import com.raytheon.uf.viz.derivparam.library.DerivedParameterRequest; +import com.raytheon.uf.common.derivparam.library.DerivedParameterRequest; import com.raytheon.viz.core.gl.IGLTarget; import com.raytheon.viz.core.rsc.hdf5.AbstractTileSet; import com.raytheon.viz.core.rsc.hdf5.FileBasedTileSet; diff --git a/ncep/gov.noaa.nws.ncep.viz.rsc.solarimage/src/gov/noaa/nws/ncep/viz/rsc/solarimage/util/SolarImageUtil.java b/ncep/gov.noaa.nws.ncep.viz.rsc.solarimage/src/gov/noaa/nws/ncep/viz/rsc/solarimage/util/SolarImageUtil.java index 8ab686d6c0..ad1c63cdfe 100644 --- a/ncep/gov.noaa.nws.ncep.viz.rsc.solarimage/src/gov/noaa/nws/ncep/viz/rsc/solarimage/util/SolarImageUtil.java +++ b/ncep/gov.noaa.nws.ncep.viz.rsc.solarimage/src/gov/noaa/nws/ncep/viz/rsc/solarimage/util/SolarImageUtil.java @@ -9,10 +9,10 @@ import java.io.FileNotFoundException; import nom.tam.fits.BasicHDU; import nom.tam.fits.Fits; +import com.raytheon.uf.common.dataplugin.HDF5Util; import com.raytheon.uf.common.datastorage.DataStoreFactory; import com.raytheon.uf.common.datastorage.IDataStore; import com.raytheon.uf.common.datastorage.StorageException; -import com.raytheon.uf.viz.core.HDF5Util; import com.raytheon.uf.viz.core.exception.VizException; /**