From 50d156116549834c94f73d645fded7d8adfd67cf Mon Sep 17 00:00:00 2001 From: Ben Steffensmeier Date: Mon, 14 Jan 2013 17:44:46 -0600 Subject: [PATCH] Issue #1483 switch dual pol bundles to no longer use bestRes, fix bestRes updates. Former-commit-id: a9654f859a774347fcd614fb77d3d46fd515f1a8 [formerly f0af056d97df30a986416f1b45a902f889e3a369] [formerly ec199ad7d1cadf02885c09d178a0f01abef2adc4 [formerly deeff9eae06f096612b65832a344e5d05a36db07]] Former-commit-id: ec199ad7d1cadf02885c09d178a0f01abef2adc4 Former-commit-id: 3bfba5b77120f5a210c0a65cdbf706928844a314 --- .../bundles/DefaultRadarDualPolBaseData.xml | 704 +---------------- .../DefaultRadarDualPolFourPanelZHCML.xml | 717 +----------------- .../etc/bundles/DefaultRadarDualPolHCA.xml | 381 +--------- .../DefaultRadarDualPolPrecipAnalysis.xml | 62 +- .../rsc/AbstractRequestableResourceData.java | 14 + 5 files changed, 64 insertions(+), 1814 deletions(-) diff --git a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolBaseData.xml b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolBaseData.xml index 411e9a2128..2d5266b6f2 100644 --- a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolBaseData.xml +++ b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolBaseData.xml @@ -60,9 +60,9 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -230,9 +94,9 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -352,9 +148,9 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -454,9 +182,9 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -639,8 +231,7 @@ - - + @@ -655,58 +246,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -718,8 +257,7 @@ - - + @@ -734,58 +272,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -812,8 +298,7 @@ - - + @@ -828,58 +313,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -891,8 +324,7 @@ - - + @@ -907,110 +339,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolFourPanelZHCML.xml b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolFourPanelZHCML.xml index 9183ec178d..6250e381c8 100644 --- a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolFourPanelZHCML.xml +++ b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolFourPanelZHCML.xml @@ -6,10 +6,17 @@ 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. --> - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -362,8 +165,7 @@ - - + @@ -378,116 +180,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -502,58 +199,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -605,8 +250,7 @@ - - + @@ -621,116 +265,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + > @@ -745,58 +284,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -848,8 +335,7 @@ - - + @@ -864,116 +350,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -988,58 +369,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolHCA.xml b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolHCA.xml index 4f30e8980a..8f78c5c530 100644 --- a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolHCA.xml +++ b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolHCA.xml @@ -48,9 +48,8 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -214,9 +85,8 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -321,8 +127,7 @@ - - + @@ -337,58 +142,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -400,8 +153,7 @@ - - + @@ -416,58 +168,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -512,9 +212,8 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolPrecipAnalysis.xml b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolPrecipAnalysis.xml index 615d7c65cc..0bc4f6d2b0 100644 --- a/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolPrecipAnalysis.xml +++ b/cave/build/static/common/cave/etc/bundles/DefaultRadarDualPolPrecipAnalysis.xml @@ -191,9 +191,9 @@ - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 7baa0495bd..8056384cfd 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 @@ -275,6 +275,20 @@ public abstract class AbstractRequestableResourceData extends Validate.isTrue(updateData instanceof Object[], "Update expected Object[]"); + if (updateData instanceof PluginDataObject[]) { + for (PluginDataObject pdo : (PluginDataObject[]) updateData) { + DataTime time = pdo.getDataTime(); + if (binOffset != null) { + time = binOffset.getNormalizedTime(time); + } + synchronized (cachedAvailableTimes) { + if (!cachedAvailableTimes.contains(time)) { + cachedAvailableTimes.add(time); + } + } + } + } + this.fireChangeListeners(ChangeType.DATA_UPDATE, updateData); }