Omaha #3478 removed PointDataDescription.Type.Double from code and config
Change-Id: I85eabcbe7afc0543c98d23e2c194b9e30a14db13 Former-commit-id: b548a88c6850a558c021a55657edaa6466d57e51
This commit is contained in:
parent
e814b8b302
commit
9374355af3
8 changed files with 64 additions and 49 deletions
|
@ -40,6 +40,7 @@ import com.raytheon.uf.viz.datacube.CubeUtil;
|
|||
* ------------ ---------- ----------- --------------------------
|
||||
* Jul 19, 2011 njensen Initial creation.
|
||||
* Jul 12, 2013 2096 mpduff Add method to check if parameter is valid.
|
||||
* Aug 07, 2014 3478 bclement removed PointDataDescription.Type.Double
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -72,7 +73,6 @@ public class PlotData {
|
|||
pv.dimension = dimensions;
|
||||
switch (t) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
if (dimensions == 2) {
|
||||
|
@ -114,7 +114,6 @@ public class PlotData {
|
|||
pv.dimension = dimensions;
|
||||
switch (t) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
if (dimensions == 2) {
|
||||
|
|
|
@ -92,6 +92,7 @@ import com.raytheon.viz.pointdata.rsc.PlotResourceData;
|
|||
* Nov 20, 2013 2033 njensen Fix detecting plotModels dirs from multiple plugins
|
||||
* Mar 21, 2014 2868 njensen Refactored python usage to PythonJobCoordinator
|
||||
* Jun 06, 2014 2061 bsteffen Rename and add support for data formats in sampling.
|
||||
* Aug 07, 2014 3478 bclement removed PointDataDescription.Type.Double
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -774,7 +775,6 @@ public class PlotModelFactory {
|
|||
dimensions = ob.getDimensions(param);
|
||||
switch (ob.getType(param)) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
if (dimensions == 1) {
|
||||
|
@ -985,7 +985,6 @@ public class PlotModelFactory {
|
|||
String[] fields = null;
|
||||
switch (ob.getType(element.parameter)) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
if (dimensions == 1) {
|
||||
|
@ -1041,7 +1040,6 @@ public class PlotModelFactory {
|
|||
String parameter = element.parameter;
|
||||
switch (ob.getType(parameter)) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
Number value = ob.getNumber(parameter);
|
||||
|
@ -1117,7 +1115,6 @@ public class PlotModelFactory {
|
|||
String sValue = null;
|
||||
switch (ob.getType(element.parameter)) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
Number value = ob.getNumber(element.parameter);
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
<pointDataDescription>
|
||||
<parameter name="test1" numDims="2" type="STRING" size="156" />
|
||||
<parameter name="test3" numDims="2" type="STRING" size="156" />
|
||||
<parameter name="reportTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="reportTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1-1-1970" fillValue="3.40282346e+38" />
|
||||
<parameter name="test5" numDims="2" type="STRING" size="156" />
|
||||
<parameter name="test4" numDims="2" type="STRING" size="156" />
|
||||
|
@ -36,7 +36,7 @@
|
|||
fillValue="-2147483647.0" />
|
||||
<parameter name="skyLayerBase" numDims="2" type="FLOAT"
|
||||
unit="m" fillValue="3.40282346639e+38" />
|
||||
<parameter name="windGustChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="windGustChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="windSpeedICR" numDims="1" type="INT" />
|
||||
<parameter name="precipAccum" numDims="1" type="FLOAT" unit="mm"
|
||||
|
@ -49,10 +49,10 @@
|
|||
<parameter name="staticIds" numDims="2" type="STRING" size="85" />
|
||||
<parameter name="latitude" numDims="1" type="FLOAT" unit="degree_N"
|
||||
fillValue="3.40282346639e+38" />
|
||||
<parameter name="windSpeedChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="windSpeedChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="precipAccumICA" numDims="1" type="INT" />
|
||||
<parameter name="windDirChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="windDirChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="solarRadiation" numDims="1" type="FLOAT"
|
||||
unit="W/m²" fillValue="3.40282346639e+38" />
|
||||
|
@ -108,11 +108,11 @@
|
|||
<parameter name="lowLevelCloudType" numDims="1" type="INT"
|
||||
fillValue="-32767.0" />
|
||||
<parameter name="stationPressureQCA" numDims="1" type="INT" />
|
||||
<parameter name="receivedTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="receivedTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1-1-1970" fillValue="3.40282346e+38" />
|
||||
<parameter name="stationPressureQCD" numDims="2" type="FLOAT"
|
||||
unit="Pa" fillValue="3.40282346639e+38" />
|
||||
<parameter name="solarRadChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="solarRadChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="visibilityQCA" numDims="1" type="INT" />
|
||||
<parameter name="visibilityQCD" numDims="2" type="FLOAT"
|
||||
|
@ -128,7 +128,7 @@
|
|||
<parameter name="dewpointDD" numDims="1" type="STRING" size="1" />
|
||||
<parameter name="dewpoint" numDims="1" type="FLOAT" unit="K"
|
||||
fillValue="3.40282346639e+38" />
|
||||
<parameter name="timeSinceLastPcp" numDims="1" type="DOUBLE"
|
||||
<parameter name="timeSinceLastPcp" numDims="1" type="FLOAT"
|
||||
unit="s" fillValue="3.40282346e+38" />
|
||||
<parameter name="precipRateDD" numDims="1" type="STRING"
|
||||
size="1" />
|
||||
|
@ -203,7 +203,7 @@
|
|||
<parameter name="seaLevelPressureQCR" numDims="1" type="INT" />
|
||||
<parameter name="visibility" numDims="1" type="FLOAT" unit="m"
|
||||
fillValue="3.40282346639e+38" />
|
||||
<parameter name="stationPressChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="stationPressChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="stationType" numDims="2" type="STRING" size="37" />
|
||||
<parameter name="cloudBaseHeight" numDims="1" type="INT"
|
||||
|
@ -220,7 +220,7 @@
|
|||
<parameter name="longitude" numDims="1" type="FLOAT" unit="degree_E"
|
||||
fillValue="3.40282346639e+38" />
|
||||
<parameter name="handbook5Id" numDims="2" type="STRING" size="19" />
|
||||
<parameter name="observationTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="observationTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1-1-1970" fillValue="3.40282346e+38" />
|
||||
<parameter name="windGust" numDims="1" type="FLOAT" unit="m/s"
|
||||
fillValue="3.40282346639e+38" />
|
||||
|
@ -254,7 +254,7 @@
|
|||
<parameter name="windDirQCR" numDims="1" type="INT" />
|
||||
<parameter name="highLevelCloudType" numDims="1" type="INT"
|
||||
fillValue="-32767.0" />
|
||||
<parameter name="tempChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="tempChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="visibilityDD" numDims="1" type="STRING"
|
||||
size="1" />
|
||||
|
@ -277,7 +277,7 @@
|
|||
<parameter name="test9" numDims="2" type="STRING" size="156" />
|
||||
<parameter name="windDir" numDims="1" type="FLOAT" unit="degree"
|
||||
fillValue="3.40282346639e+38" />
|
||||
<parameter name="rhChangeTime" numDims="1" type="DOUBLE"
|
||||
<parameter name="rhChangeTime" numDims="1" type="FLOAT"
|
||||
unit="seconds since 1970-1-1 00:00:00.0" fillValue="3.40282346e+38" />
|
||||
<parameter name="windSpeed" numDims="1" type="FLOAT" unit="m/s"
|
||||
fillValue="3.40282346639e+38" />
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
<parameter name="subsrc" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="analsta" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="olapsta" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="timeObs" numDims="1" type="DOUBLE" unit="seconds since 1-1-1970" fillValue="1.7976931348623157e+308" />
|
||||
<parameter name="timeObsTrue" numDims="1" type="DOUBLE" unit="seconds since 1-1-1970" fillValue="1.7976931348623157e+308" />
|
||||
<parameter name="timeObs" numDims="1" type="FLOAT" unit="seconds since 1-1-1970" fillValue="1.7976931348623157e+308" />
|
||||
<parameter name="timeObsTrue" numDims="1" type="FLOAT" unit="seconds since 1-1-1970" fillValue="1.7976931348623157e+308" />
|
||||
<parameter name="MAPSseaLevelPress" numDims="1" type="FLOAT" unit="Pa" fillValue="3.4028235e+38" />
|
||||
<parameter name="MAPSseaLevelPressDD" numDims="1" type="STRING" />
|
||||
<parameter name="MAPSseaLevelPressQCA" numDims="1" type="INT" />
|
||||
|
@ -54,7 +54,7 @@
|
|||
<parameter name="MAPSseaLevelPressNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="MAPSseaLevelPressAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="MAPSseaLevelPressAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="MAPSseaLevelPressAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="MAPSseaLevelPressAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="dewpoint" numDims="1" type="FLOAT" unit="K" fillValue="3.4028235e+38" />
|
||||
<parameter name="dewpointDD" numDims="1" type="STRING" />
|
||||
<parameter name="dewpointQCA" numDims="1" type="INT" />
|
||||
|
@ -68,7 +68,7 @@
|
|||
<parameter name="dewpointNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="dewpointAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="dewpointAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="dewpointAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="dewpointAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="potentialTemp" numDims="1" type="FLOAT" unit="K" fillValue="3.4028235e+38" />
|
||||
<parameter name="potentialTempDD" numDims="1" type="STRING" />
|
||||
<parameter name="potentialTempQCA" numDims="1" type="INT" />
|
||||
|
@ -82,7 +82,7 @@
|
|||
<parameter name="potentialTempNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="potentialTempAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="potentialTempAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="potentialTempAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="potentialTempAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="potentialTempSfchqc" numDims="1" type="FLOAT" unit="K" fillValue="3.4028235e+38" />
|
||||
<parameter name="uwSfchqc" numDims="1" type="FLOAT" unit="m/s" fillValue="3.4028235e+38" />
|
||||
<parameter name="vwSfchqc" numDims="1" type="FLOAT" unit="m/s" fillValue="3.4028235e+38" />
|
||||
|
@ -99,7 +99,7 @@
|
|||
<parameter name="dewpointDepressionNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="dewpointDepressionAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="dewpointDepressionAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="dewpointDepressionAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="dewpointDepressionAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="uw" numDims="1" type="FLOAT" unit="m/s" fillValue="3.4028235e+38" />
|
||||
<parameter name="uwDD" numDims="1" type="STRING" />
|
||||
<parameter name="uwQCA" numDims="1" type="INT" />
|
||||
|
@ -113,7 +113,7 @@
|
|||
<parameter name="uwNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="uwAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="uwAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="uwAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="uwAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="vw" numDims="1" type="FLOAT" unit="m/s" fillValue="3.4028235e+38" />
|
||||
<parameter name="vwDD" numDims="1" type="STRING" />
|
||||
<parameter name="vwQCA" numDims="1" type="INT" />
|
||||
|
@ -127,7 +127,7 @@
|
|||
<parameter name="vwNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="vwAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="vwAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="vwAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="vwAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="pressChange3Hour" numDims="1" type="FLOAT" unit="Pa/s" fillValue="3.4028235e+38" />
|
||||
<parameter name="pressChange3HourDD" numDims="1" type="STRING" />
|
||||
<parameter name="pressChange3HourQCA" numDims="1" type="INT" />
|
||||
|
@ -139,7 +139,7 @@
|
|||
<parameter name="pressChange3HourNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="pressChange3HourAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="pressChange3HourAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="pressChange3HourAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="pressChange3HourAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="seaLevelPress" numDims="1" type="FLOAT" unit="Pa" fillValue="3.4028235e+38" />
|
||||
<parameter name="seaLevelPressDD" numDims="1" type="STRING" />
|
||||
<parameter name="seaLevelPressQCA" numDims="1" type="INT" />
|
||||
|
@ -153,7 +153,7 @@
|
|||
<parameter name="seaLevelPressNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="seaLevelPressAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="seaLevelPressAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="seaLevelPressAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="seaLevelPressAnalStaTime" numDims="2" type="FLOAT" />
|
||||
<parameter name="altimeter" numDims="1" type="FLOAT" unit="Pa" fillValue="3.4028235e+38" />
|
||||
<parameter name="altimeterDD" numDims="1" type="STRING" />
|
||||
<parameter name="altimeterQCA" numDims="1" type="INT" />
|
||||
|
@ -165,5 +165,5 @@
|
|||
<parameter name="altimeterNobs" numDims="1" type="INT" fillValue="-2147483647" />
|
||||
<parameter name="altimeterAnalStaNam" numDims="3" type="STRING" size="5" />
|
||||
<parameter name="altimeterAnalStaSubsrc" numDims="2" type="INT" />
|
||||
<parameter name="altimeterAnalStaTime" numDims="2" type="DOUBLE" />
|
||||
<parameter name="altimeterAnalStaTime" numDims="2" type="FLOAT" />
|
||||
</pointDataDescription>
|
||||
|
|
|
@ -11,6 +11,22 @@ import com.raytheon.uf.common.pointdata.PointDataView;
|
|||
import com.raytheon.uf.common.serialization.comm.IRequestHandler;
|
||||
import com.raytheon.uf.edex.pointdata.PointDataQuery;
|
||||
|
||||
/**
|
||||
* Executes point data queries for station data
|
||||
*
|
||||
* <pre>
|
||||
*
|
||||
* SOFTWARE HISTORY
|
||||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* ??? ??? ??? Initial creation
|
||||
* Aug 07, 2014 3478 bclement removed PointDataDescription.Type.Double
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
* @version 1.0
|
||||
*/
|
||||
public class StationDataRequestHandler implements
|
||||
IRequestHandler<StationDataRequest> {
|
||||
|
||||
|
@ -59,7 +75,6 @@ public class StationDataRequestHandler implements
|
|||
Type t = pdv.getType(param);
|
||||
switch (t) {
|
||||
case FLOAT:
|
||||
case DOUBLE:
|
||||
case INT:
|
||||
case LONG:
|
||||
if (dimensions == 2) {
|
||||
|
|
|
@ -55,9 +55,9 @@ 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.inventory.exception.DataCubeException;
|
||||
import com.raytheon.uf.common.pointdata.ParameterDescription;
|
||||
import com.raytheon.uf.common.pointdata.PointDataContainer;
|
||||
import com.raytheon.uf.common.pointdata.PointDataDescription.Type;
|
||||
|
@ -86,6 +86,7 @@ import com.raytheon.viz.pointdata.PointDataRequest;
|
|||
* Apr 22, 2011 njensen Initial creation
|
||||
* 09/2012 896 sgurung Refactored raytheon's class PlotModelDataRequestJob and added
|
||||
* code from ncep's PlotModelGenerator2
|
||||
* Aug 07, 2014 3478 bclement removed PointDataDescription.Type.Double
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -624,14 +625,14 @@ public class NcPlotModelDataRequestJob extends Job {
|
|||
metPrm.setMissingDataSentinel(
|
||||
pDesc.getFillValue().floatValue() );
|
||||
break;
|
||||
case DOUBLE :
|
||||
metPrm.setMissingDataSentinel(
|
||||
pDesc.getFillValue() );
|
||||
break;
|
||||
case INT :
|
||||
metPrm.setMissingDataSentinel(
|
||||
pDesc.getFillValue().intValue() );
|
||||
break;
|
||||
case LONG:
|
||||
metPrm.setMissingDataSentinel(pDesc.getFillValue()
|
||||
.longValue());
|
||||
break;
|
||||
case STRING :
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -42,9 +42,9 @@ 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.inventory.exception.DataCubeException;
|
||||
import com.raytheon.uf.common.pointdata.ParameterDescription;
|
||||
import com.raytheon.uf.common.pointdata.PointDataContainer;
|
||||
import com.raytheon.uf.common.pointdata.PointDataDescription.Type;
|
||||
|
@ -69,6 +69,7 @@ import com.raytheon.viz.pointdata.PointDataRequest;
|
|||
* 02/26/2014 1061 B. Hebbard Don't block on JobPool cancel, so CAVE doesn't freeze if resource unloaded during long retrieval
|
||||
* 04/01/2014 1040 B. Hebbard In requestUpperAirData, (1) clear displayStationPlotBoolList for each new station, (2) call cond filter check with newInstance vs. metPrm
|
||||
* 04/08/2014 1127 B. Hebbard In requestSurfaceData, exclude only those obs returned from HDF5 that don't match desired time; fix dataTime association; removed redundant dataTimes from constraint
|
||||
* Aug 07, 2014 3478 bclement removed PointDataDescription.Type.Double
|
||||
*/
|
||||
|
||||
public class NcPlotModelHdf5DataRequestor {
|
||||
|
@ -1555,9 +1556,9 @@ public class NcPlotModelHdf5DataRequestor {
|
|||
metPrm.setMissingDataSentinel(pDesc
|
||||
.getFillValue().floatValue());
|
||||
break;
|
||||
case DOUBLE:
|
||||
case LONG:
|
||||
metPrm.setMissingDataSentinel(pDesc
|
||||
.getFillValue());
|
||||
.getFillValue().longValue());
|
||||
break;
|
||||
case INT:
|
||||
metPrm.setMissingDataSentinel(pDesc
|
||||
|
|
|
@ -21,14 +21,8 @@
|
|||
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.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;
|
||||
|
@ -37,8 +31,6 @@ 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.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.viz.common.soundingQuery.NcSoundingQuery2;
|
||||
|
@ -66,9 +58,9 @@ 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.inventory.exception.DataCubeException;
|
||||
import com.raytheon.uf.common.pointdata.ParameterDescription;
|
||||
import com.raytheon.uf.common.pointdata.PointDataContainer;
|
||||
import com.raytheon.uf.common.pointdata.PointDataDescription.Type;
|
||||
|
@ -85,6 +77,15 @@ 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;
|
||||
//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.StationName;
|
||||
//import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingLayer;
|
||||
//import gov.noaa.nws.ncep.edex.common.sounding.NcSoundingLayer.DataType;
|
||||
|
||||
/**
|
||||
* A Eclipse Job thread that will listen for new stations on a queue and request
|
||||
* the data to create the plots.
|
||||
|
@ -118,6 +119,7 @@ import com.raytheon.viz.pointdata.PointDataRequest;
|
|||
* 04/02/2012 #615 sgurung Modified code to support conditional filtering: added conditionalFilterMap,
|
||||
* applyConditionalFilters(), and modified constructor to take ConditionalFilter
|
||||
* 12/19/2012 #947 ghull check for empty conditional filter before applying
|
||||
* Aug 07, 2014 3478 bclement removed PointDataDescription.Type.Double
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -632,9 +634,9 @@ public class PlotModelGenerator2 extends Job {
|
|||
metPrm.setMissingDataSentinel(
|
||||
pDesc.getFillValue().floatValue() );
|
||||
break;
|
||||
case DOUBLE :
|
||||
metPrm.setMissingDataSentinel(
|
||||
pDesc.getFillValue() );
|
||||
case LONG:
|
||||
metPrm.setMissingDataSentinel(pDesc
|
||||
.getFillValue().longValue());
|
||||
break;
|
||||
case INT :
|
||||
metPrm.setMissingDataSentinel(
|
||||
|
|
Loading…
Add table
Reference in a new issue