parent
1e56d2f6d9
commit
6b03359539
106 changed files with 2 additions and 10721 deletions
|
@ -111,13 +111,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.uf.common.dataplugin.ldadmesonet"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="com.raytheon.uf.common.dataplugin.lsr"
|
id="com.raytheon.uf.common.dataplugin.lsr"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
|
|
|
@ -109,12 +109,6 @@
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="0.0.0"/>
|
version="0.0.0"/>
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.uf.common.dataplugin.ldadhydro"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"/>
|
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="com.raytheon.uf.viz.app.launcher"
|
id="com.raytheon.uf.viz.app.launcher"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
<launcher title="LDAD Scheduler" >
|
|
||||||
<application runDir="/awips2/fxa/bin"
|
|
||||||
path="/awips2/fxa/bin"
|
|
||||||
name="ldadScheduler" />
|
|
||||||
</launcher>
|
|
|
@ -1,67 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<bundle>
|
|
||||||
<displayList>
|
|
||||||
<displays xsi:type="d2DMapRenderableDisplay"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<descriptor xsi:type="mapDescriptor" currentAnimationMode="Temporal">
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
<capability xsi:type="outlineCapability" lineStyle="SOLID" outlineOn="true"
|
|
||||||
outlineWidth="1" />
|
|
||||||
<capability xsi:type="colorableCapability" colorAsString="#9b9b9b" />
|
|
||||||
</capabilities>
|
|
||||||
<resourceType>PLAN_VIEW</resourceType>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false" isMapLayer="true" isHoverOn="false"
|
|
||||||
isVisible="true">
|
|
||||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0" />
|
|
||||||
</properties>
|
|
||||||
<resourceData xsi:type="spiResourceData">
|
|
||||||
<filename>basemaps/ldad15.spi</filename>
|
|
||||||
<mapName>LDAD Stations</mapName>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
</capabilities>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false"
|
|
||||||
isMapLayer="false" isHoverOn="false"
|
|
||||||
isVisible="true" />
|
|
||||||
<resourceData xsi:type="plotResourceData" plotSource="${legend}"
|
|
||||||
plotModelFile="${svg}"
|
|
||||||
retrieveData="false" isUpdatingOnMetadataOnly="false"
|
|
||||||
isRequeryNecessaryOnTimeMatch="true">
|
|
||||||
<binOffset posOffset="${posOffset}" negOffset="${negOffset}" virtualOffset="0"/>
|
|
||||||
<metadataMap>
|
|
||||||
<mapping key="pluginName">
|
|
||||||
<constraint constraintValue="ldadhydro" constraintType="EQUALS" />
|
|
||||||
</mapping>
|
|
||||||
</metadataMap>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
</descriptor>
|
|
||||||
</displays>
|
|
||||||
</displayList>
|
|
||||||
</bundle>
|
|
|
@ -1,67 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<bundle>
|
|
||||||
<displayList>
|
|
||||||
<displays xsi:type="d2DMapRenderableDisplay"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<descriptor xsi:type="mapDescriptor" currentAnimationMode="Temporal">
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
<capability xsi:type="outlineCapability" lineStyle="SOLID" outlineOn="true"
|
|
||||||
outlineWidth="1" />
|
|
||||||
<capability xsi:type="colorableCapability" colorAsString="#9b9b9b" />
|
|
||||||
</capabilities>
|
|
||||||
<resourceType>PLAN_VIEW</resourceType>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false" isMapLayer="true" isHoverOn="false"
|
|
||||||
isVisible="true">
|
|
||||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0" />
|
|
||||||
</properties>
|
|
||||||
<resourceData xsi:type="spiResourceData">
|
|
||||||
<filename>basemaps/ldad15.spi</filename>
|
|
||||||
<mapName>LDAD Stations</mapName>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
</capabilities>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false"
|
|
||||||
isMapLayer="false" isHoverOn="false"
|
|
||||||
isVisible="true" />
|
|
||||||
<resourceData xsi:type="plotResourceData" plotSource="${legend}"
|
|
||||||
plotModelFile="${svg}"
|
|
||||||
retrieveData="false" isUpdatingOnMetadataOnly="false"
|
|
||||||
isRequeryNecessaryOnTimeMatch="true">
|
|
||||||
<binOffset posOffset="${posOffset}" negOffset="${negOffset}" virtualOffset="0"/>
|
|
||||||
<metadataMap>
|
|
||||||
<mapping key="pluginName">
|
|
||||||
<constraint constraintValue="ldadmesonet" constraintType="EQUALS" />
|
|
||||||
</mapping>
|
|
||||||
</metadataMap>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
</descriptor>
|
|
||||||
</displays>
|
|
||||||
</displayList>
|
|
||||||
</bundle>
|
|
|
@ -1,93 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<bundle>
|
|
||||||
<displayList>
|
|
||||||
<displays xsi:type="d2DMapRenderableDisplay"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<descriptor xsi:type="mapDescriptor" currentAnimationMode="Temporal">
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
<capability xsi:type="outlineCapability" lineStyle="SOLID" outlineOn="true"
|
|
||||||
outlineWidth="1" />
|
|
||||||
<capability xsi:type="colorableCapability" colorAsString="#9b9b9b" />
|
|
||||||
</capabilities>
|
|
||||||
<resourceType>PLAN_VIEW</resourceType>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false" isMapLayer="true" isHoverOn="false"
|
|
||||||
isVisible="true">
|
|
||||||
<pdProps maxDisplayWidth="100000000" minDisplayWidth="0" />
|
|
||||||
</properties>
|
|
||||||
<resourceData xsi:type="spiResourceData">
|
|
||||||
<filename>basemaps/ldad15.spi</filename>
|
|
||||||
<mapName>LDAD Stations</mapName>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
</capabilities>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false"
|
|
||||||
isMapLayer="false" isHoverOn="false"
|
|
||||||
isVisible="true" />
|
|
||||||
<resourceData xsi:type="plotResourceData" plotSource="${legend}--All Stns"
|
|
||||||
plotModelFile="${svgPrefix}allDesign.svg"
|
|
||||||
retrieveData="false" isUpdatingOnMetadataOnly="false"
|
|
||||||
isRequeryNecessaryOnTimeMatch="true">
|
|
||||||
<binOffset posOffset="${posOffset}" negOffset="${negOffset}" virtualOffset="0"/>
|
|
||||||
<metadataMap>
|
|
||||||
<mapping key="pluginName">
|
|
||||||
<constraint constraintValue="${plugin}" constraintType="EQUALS" />
|
|
||||||
</mapping>
|
|
||||||
<mapping key="qcType">
|
|
||||||
<constraint constraintValue="${qcType}" constraintType="EQUALS" />
|
|
||||||
</mapping>
|
|
||||||
</metadataMap>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
<resource>
|
|
||||||
<loadProperties>
|
|
||||||
<capabilities>
|
|
||||||
</capabilities>
|
|
||||||
</loadProperties>
|
|
||||||
<properties isSystemResource="false" isBlinking="false"
|
|
||||||
isMapLayer="false" isHoverOn="false"
|
|
||||||
isVisible="true" />
|
|
||||||
<resourceData xsi:type="plotResourceData" plotSource="${legend}--Suspects"
|
|
||||||
plotModelFile="${svgPrefix}failDesign.svg"
|
|
||||||
retrieveData="false" isUpdatingOnMetadataOnly="false"
|
|
||||||
isRequeryNecessaryOnTimeMatch="true">
|
|
||||||
<binOffset posOffset="${posOffset}" negOffset="${negOffset}" virtualOffset="0"/>
|
|
||||||
<metadataMap>
|
|
||||||
<mapping key="pluginName">
|
|
||||||
<constraint constraintValue="${plugin}" constraintType="EQUALS" />
|
|
||||||
</mapping>
|
|
||||||
<mapping key="qcType">
|
|
||||||
<constraint constraintValue="${qcType}" constraintType="EQUALS" />
|
|
||||||
</mapping>
|
|
||||||
</metadataMap>
|
|
||||||
</resourceData>
|
|
||||||
</resource>
|
|
||||||
</descriptor>
|
|
||||||
</displays>
|
|
||||||
</displayList>
|
|
||||||
</bundle>
|
|
|
@ -1,122 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<menuTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoPlot.xml"
|
|
||||||
menuText="30 min stn plot" id="local30minstnplot">
|
|
||||||
<substitute key="svg" value="ldadMesoDesign.svg"/>
|
|
||||||
<substitute key="legend" value="30 min Local Data Plot"/>
|
|
||||||
<substitute key="posOffset" value="900"/>
|
|
||||||
<substitute key="negOffset" value="900"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoQCPlot.xml"
|
|
||||||
menuText="30 min stn plot + QC" id="local30minstnQCplot">
|
|
||||||
<substitute key="svgPrefix" value="ldadQC"/>
|
|
||||||
<substitute key="legend" value="30 min LDAD QC Plot"/>
|
|
||||||
<substitute key="posOffset" value="900"/>
|
|
||||||
<substitute key="negOffset" value="900"/>
|
|
||||||
<substitute key="plugin" value="qc"/>
|
|
||||||
<substitute key="qcType" value="ldadmesonet"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="subMenu" menuText="Other Local Plots">
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoPlot.xml"
|
|
||||||
menuText="15 min stn plot" id="local15minstnplot">
|
|
||||||
<substitute key="svg" value="ldadMesoDesign.svg"/>
|
|
||||||
<substitute key="legend" value="15 min Local Data Plot"/>
|
|
||||||
<substitute key="posOffset" value="450"/>
|
|
||||||
<substitute key="negOffset" value="450"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoQCPlot.xml"
|
|
||||||
menuText="15 min stn plot + QC" id="local15minstnQCplot">
|
|
||||||
<substitute key="svgPrefix" value="ldadQC"/>
|
|
||||||
<substitute key="legend" value="15 min LDAD QC Plot"/>
|
|
||||||
<substitute key="posOffset" value="450"/>
|
|
||||||
<substitute key="negOffset" value="450"/>
|
|
||||||
<substitute key="plugin" value="qc"/>
|
|
||||||
<substitute key="qcType" value="ldadmesonet"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoPlot.xml"
|
|
||||||
menuText="5 min stn plot" id="local5minstnplot">
|
|
||||||
<substitute key="svg" value="ldadMesoDesign.svg"/>
|
|
||||||
<substitute key="legend" value="5 min Local Data Plot"/>
|
|
||||||
<substitute key="posOffset" value="150"/>
|
|
||||||
<substitute key="negOffset" value="150"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoPlot.xml"
|
|
||||||
menuText="1 min stn plot" id="local1minstnplot">
|
|
||||||
<substitute key="svg" value="ldadMesoDesign.svg"/>
|
|
||||||
<substitute key="legend" value="1 min Local Data Plot"/>
|
|
||||||
<substitute key="posOffset" value="30"/>
|
|
||||||
<substitute key="negOffset" value="30"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADMesoPlot.xml"
|
|
||||||
menuText="WindCh/HeatIdx" id="localWindChHeatIdx">
|
|
||||||
<substitute key="svg" value="ldadMesoHiWcDesign.svg"/>
|
|
||||||
<substitute key="legend" value="Local WindChill/HeatIndex Plot"/>
|
|
||||||
<substitute key="posOffset" value="900"/>
|
|
||||||
<substitute key="negOffset" value="900"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="titleItem"
|
|
||||||
titleText="------ Precip Plots ------" id="precipLine"/>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/CoopPrecip.xml"
|
|
||||||
menuText="Coop Precip" id="localCoopPrecip">
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADHydroPlot.xml"
|
|
||||||
menuText="3 hr Precip" id="local3hrPrecip">
|
|
||||||
<substitute key="svg" value="ldadHydro3hrPrecipDesign.svg"/>
|
|
||||||
<substitute key="legend" value="3 hr Precip Plot"/>
|
|
||||||
<substitute key="posOffset" value="5400"/>
|
|
||||||
<substitute key="negOffset" value="5400"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADHydroPlot.xml"
|
|
||||||
menuText="1 hr Precip" id="local1hrPrecip">
|
|
||||||
<substitute key="svg" value="ldadHydro1hrPrecipDesign.svg"/>
|
|
||||||
<substitute key="legend" value="1 hr Precip Plot"/>
|
|
||||||
<substitute key="posOffset" value="1800"/>
|
|
||||||
<substitute key="negOffset" value="1800"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADHydroPlot.xml"
|
|
||||||
menuText="30 min Precip" id="local30minPrecip">
|
|
||||||
<substitute key="svg" value="ldadHydro30minPrecipDesign.svg"/>
|
|
||||||
<substitute key="legend" value="30 min Precip Plot"/>
|
|
||||||
<substitute key="posOffset" value="900"/>
|
|
||||||
<substitute key="negOffset" value="900"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADHydroPlot.xml"
|
|
||||||
menuText="15 min Precip" id="local15minPrecip">
|
|
||||||
<substitute key="svg" value="ldadHydro15minPrecipDesign.svg"/>
|
|
||||||
<substitute key="legend" value="15 min Precip Plot"/>
|
|
||||||
<substitute key="posOffset" value="450"/>
|
|
||||||
<substitute key="negOffset" value="450"/>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="bundleItem" file="bundles/LDADHydroPlot.xml"
|
|
||||||
menuText="5 min Precip" id="local5minPrecip">
|
|
||||||
<substitute key="svg" value="ldadHydro5minPrecipDesign.svg"/>
|
|
||||||
<substitute key="legend" value="5 min Precip Plot"/>
|
|
||||||
<substitute key="posOffset" value="150"/>
|
|
||||||
<substitute key="negOffset" value="150"/>
|
|
||||||
</contribute>
|
|
||||||
</contribute>
|
|
||||||
<contribute xsi:type="command"
|
|
||||||
menuText="Collection/Dissemination..." id="CollectionDissemination"
|
|
||||||
commandId="com.raytheon.uf.viz.app.launcher.appLauncherHandler">
|
|
||||||
<parameter key="bundleLocation" value="bundles/run-ldadScheduler.xml"/>
|
|
||||||
</contribute>
|
|
||||||
</menuTemplate>
|
|
|
@ -25,8 +25,6 @@
|
||||||
fileName="menus/obs/baseMetar.xml"/>
|
fileName="menus/obs/baseMetar.xml"/>
|
||||||
<include installTo="menu:obs?after=SYNOPTIC"
|
<include installTo="menu:obs?after=SYNOPTIC"
|
||||||
fileName="menus/obs/baseSynoptic.xml"/>
|
fileName="menus/obs/baseSynoptic.xml"/>
|
||||||
<include installTo="menu:obs?after=LocalData"
|
|
||||||
fileName="menus/obs/baseLocalData.xml"/>
|
|
||||||
<include installTo="menu:obs?after=MARITIME"
|
<include installTo="menu:obs?after=MARITIME"
|
||||||
fileName="menus/obs/baseMaritime.xml"/>
|
fileName="menus/obs/baseMaritime.xml"/>
|
||||||
</menuContributionFile>
|
</menuContributionFile>
|
||||||
|
|
|
@ -147,7 +147,6 @@ public class PlotResourceData extends AbstractRequestableResourceData {
|
||||||
pluginProps.put("radar", new PluginPlotProperties(false));
|
pluginProps.put("radar", new PluginPlotProperties(false));
|
||||||
pluginProps.put("tcg", new PluginPlotProperties(false));
|
pluginProps.put("tcg", new PluginPlotProperties(false));
|
||||||
pluginProps.put("svrwx", new PluginPlotProperties(false));
|
pluginProps.put("svrwx", new PluginPlotProperties(false));
|
||||||
pluginProps.put("ldadhydro", new PluginPlotProperties(false));
|
|
||||||
pluginProps.put("textPoints", new PluginPlotProperties(false));
|
pluginProps.put("textPoints", new PluginPlotProperties(false));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -170,7 +169,6 @@ public class PlotResourceData extends AbstractRequestableResourceData {
|
||||||
pluginProps.put("bufrmosLAMP", new PluginPlotProperties());
|
pluginProps.put("bufrmosLAMP", new PluginPlotProperties());
|
||||||
pluginProps.put("bufrmosMRF", new PluginPlotProperties());
|
pluginProps.put("bufrmosMRF", new PluginPlotProperties());
|
||||||
pluginProps.put("bufrmosNGM", new PluginPlotProperties());
|
pluginProps.put("bufrmosNGM", new PluginPlotProperties());
|
||||||
pluginProps.put("ldadmesonet", new PluginPlotProperties());
|
|
||||||
pluginProps.put("qc", new PluginPlotProperties());
|
pluginProps.put("qc", new PluginPlotProperties());
|
||||||
pluginProps.put("bufrascat", new PluginPlotProperties());
|
pluginProps.put("bufrascat", new PluginPlotProperties());
|
||||||
pluginProps.put("bufrhdw", new PluginPlotProperties());
|
pluginProps.put("bufrhdw", new PluginPlotProperties());
|
||||||
|
|
|
@ -76,7 +76,7 @@ public class PointDataCubeAdapter extends DefaultDataCubeAdapter {
|
||||||
private static String[] supportedPlugins = { "obs", "madis",
|
private static String[] supportedPlugins = { "obs", "madis",
|
||||||
"modelsounding", "bufrssmi", "bufrquikscat", "lsr", "sfcobs",
|
"modelsounding", "bufrssmi", "bufrquikscat", "lsr", "sfcobs",
|
||||||
"goessounding", "bufrascat", "poessounding", "profiler", "bufrua",
|
"goessounding", "bufrascat", "poessounding", "profiler", "bufrua",
|
||||||
"ldadmesonet", "ldadhydro", "qc", "fssobs", "bufrmosAVN",
|
"qc", "fssobs", "bufrmosAVN",
|
||||||
"bufrmosETA", "bufrmosGFS", "bufrmosHPC", "bufrmosLAMP",
|
"bufrmosETA", "bufrmosGFS", "bufrmosHPC", "bufrmosLAMP",
|
||||||
"bufrmosMRF", "bufrmosNGM", "airep", "pirep", "nctaf" };
|
"bufrmosMRF", "bufrmosNGM", "airep", "pirep", "nctaf" };
|
||||||
|
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.edex.plugin.ldad</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,8 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldad Plug-in
|
|
||||||
Bundle-SymbolicName: com.raytheon.edex.plugin.ldad
|
|
||||||
Bundle-Version: 1.12.1174.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
|
||||||
Export-Package: com.raytheon.edex.plugin.ldad.common
|
|
|
@ -1,5 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
res/
|
|
|
@ -1,15 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
||||||
<bean id="ldadPluginName" class="java.lang.String">
|
|
||||||
<constructor-arg type="java.lang.String" value="ldad" />
|
|
||||||
</bean>
|
|
||||||
<bean id="ldadProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
|
|
||||||
<property name="pluginName" value="ldad" />
|
|
||||||
</bean>
|
|
||||||
<bean factory-bean="pluginRegistry" factory-method="register">
|
|
||||||
<constructor-arg value="ldad" />
|
|
||||||
<constructor-arg ref="ldadProperties" />
|
|
||||||
</bean>
|
|
||||||
</beans>
|
|
|
@ -1,56 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
||||||
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
||||||
|
|
||||||
<!-- unused...
|
|
||||||
<bean id="ldadDistRegistry" factory-bean="distributionSrv"
|
|
||||||
factory-method="register">
|
|
||||||
<constructor-arg value="ldad" />
|
|
||||||
<constructor-arg value="jms-durable:queue:Ingest.ldad" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<camelContext id="ldad-camel"
|
|
||||||
xmlns="http://camel.apache.org/schema/spring"
|
|
||||||
errorHandlerRef="errorHandler">
|
|
||||||
<endpoint id="ldadFileEndpoint" uri="file:${edex.home}/data/sbn/ldad?noop=true" />
|
|
||||||
<route id="ldadFileConsumerRoute">
|
|
||||||
<from ref="ldadFileEndpoint" />
|
|
||||||
<bean ref="fileToString" />
|
|
||||||
<setHeader headerName="pluginName">
|
|
||||||
<constant>ldad</constant>
|
|
||||||
</setHeader>
|
|
||||||
<to uri="jms-durable:queue:Ingest.ldad" />
|
|
||||||
</route>
|
|
||||||
|
|
||||||
<route id="ldadIngestRoute">
|
|
||||||
<from uri="jms-durable:queue:Ingest.ldad" />
|
|
||||||
<multicast>
|
|
||||||
<try>
|
|
||||||
<to uri="direct-vm:ldadmesonetIngest" />
|
|
||||||
<catch>
|
|
||||||
<exception>java.lang.Throwable</exception>
|
|
||||||
<to uri="log:ldadmesonet?level=ERROR"/>
|
|
||||||
</catch>
|
|
||||||
</try>
|
|
||||||
<try>
|
|
||||||
<to uri="direct-vm:ldadhydroIngest" />
|
|
||||||
<catch>
|
|
||||||
<exception>java.lang.Throwable</exception>
|
|
||||||
<to uri="log:ldadhydro?level=ERROR"/>
|
|
||||||
</catch>
|
|
||||||
</try>
|
|
||||||
<try>
|
|
||||||
<to uri="direct-vm:ldadmanualIngest" />
|
|
||||||
<catch>
|
|
||||||
<exception>java.lang.Throwable</exception>
|
|
||||||
<to uri="log:ldadmanual?level=ERROR"/>
|
|
||||||
</catch>
|
|
||||||
</try>
|
|
||||||
</multicast>
|
|
||||||
<bean ref="processUtil" method="delete"/>
|
|
||||||
</route>
|
|
||||||
</camelContext>
|
|
||||||
-->
|
|
||||||
</beans>
|
|
|
@ -1,67 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldad.common;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decoded LDAD XML data structure.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* 08/17/09 dfriedman Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author dfriedman
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
@XmlRootElement
|
|
||||||
public class DecodedData {
|
|
||||||
@XmlAttribute
|
|
||||||
public String fileName; // original file name
|
|
||||||
@XmlAttribute
|
|
||||||
public String storageType; // "mesonet", "hydro", etc.
|
|
||||||
@XmlAttribute
|
|
||||||
public String type; // data type name or "msas_qc.<derived name>"
|
|
||||||
@XmlAttribute
|
|
||||||
public String root; // original data type name
|
|
||||||
@XmlAttribute
|
|
||||||
public String source; // same as type?
|
|
||||||
@XmlAttribute
|
|
||||||
public String provider; // data type name? or "MSAS_QC"
|
|
||||||
@XmlAttribute
|
|
||||||
public String missingValue;
|
|
||||||
@XmlAttribute
|
|
||||||
public long reportTime; // Report time in seconds since 1/1/1970
|
|
||||||
|
|
||||||
@XmlElement(name="field")
|
|
||||||
public List<LdadField> fields = new ArrayList<LdadField>();
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,59 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldad.common;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decoded LDAD data types.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* 08/17/09 dfriedman Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author dfriedman
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
public enum LdadDataType {
|
|
||||||
STRING(0),
|
|
||||||
DATE_TIME(1),
|
|
||||||
SHORT(2), INT(3), LONG(4),
|
|
||||||
FLOAT(5), DOUBLE(6);
|
|
||||||
|
|
||||||
private int id;
|
|
||||||
private LdadDataType(int id) {
|
|
||||||
this.id = id;
|
|
||||||
}
|
|
||||||
public boolean isNumeric() {
|
|
||||||
return this != STRING && this != DATE_TIME;
|
|
||||||
}
|
|
||||||
public static LdadDataType fromId(int id) {
|
|
||||||
for (LdadDataType t : LdadDataType.values())
|
|
||||||
if (t.getId() == id)
|
|
||||||
return t;
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
private int getId() {
|
|
||||||
return id;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,56 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldad.common;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
|
||||||
import javax.xml.bind.annotation.XmlType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decoded LDAD XML data structure.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* 08/17/09 dfriedman Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author dfriedman
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
@XmlType(name="field")
|
|
||||||
public class LdadField {
|
|
||||||
@XmlAttribute
|
|
||||||
public String variableName;
|
|
||||||
@XmlAttribute
|
|
||||||
public String units;
|
|
||||||
@XmlAttribute
|
|
||||||
public LdadDataType type;
|
|
||||||
@XmlElement(name="v")
|
|
||||||
//@XmlList
|
|
||||||
public List<String> values = new ArrayList<String>();
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,356 +0,0 @@
|
||||||
#$Id: ldatUnitsMap.txt 2009-09-28 slav Exp $
|
|
||||||
#====================================================================================
|
|
||||||
# LDAD FIELD UNITS
|
|
||||||
#--------------------------------------------------
|
|
||||||
# dataProvider # Typical data providers: CDoT, KDoT, UDFCD, etc.
|
|
||||||
# homeWFO
|
|
||||||
# observationTime #observationTime
|
|
||||||
# SurfaceObsLocation location #latitude, longitude, elevation, stationId "RALC2"
|
|
||||||
# providerId #* "110" "FA6026DA" Data Provider station Id
|
|
||||||
# stationName #* "Ralston_Res" "BEN CREEK AIRSTRIP" ?????????????????
|
|
||||||
# handbook5Id #* "" ????????????????
|
|
||||||
# stationType #* "STO" "RAWS" ????????????
|
|
||||||
# reportTime #* 1.247436157E9 time data was processed by the provider
|
|
||||||
# receivedTime #* time data was received - seconds since 1-1-1970
|
|
||||||
# numericWMOid # numeric WMO identification
|
|
||||||
# dataPlatformType #short -32767 moving (e.g. floating buoy or ship)
|
|
||||||
# tempChangeTime # time of temperature last change - seconds since 1970-1-1 00:00:00.0
|
|
||||||
# rhChangeTime # time of last relative humidity change
|
|
||||||
# stationPressChangeTime #time of last station press change
|
|
||||||
# pressChangeChar #long_name = "character of pressure change"
|
|
||||||
# windDirChangeTime #seconds since 1970-1-1 00:00:00.0
|
|
||||||
# windSpeedChangeTime
|
|
||||||
# windGustChangeTime
|
|
||||||
# skyCover #char ref FMH-1
|
|
||||||
# visibilityStatus
|
|
||||||
# totalCloudCover # tenths
|
|
||||||
# presWeather #present weather ref FMH-1
|
|
||||||
# lowLevelCloudType # lowLevelCloudType:long_name = "low level cloud type"
|
|
||||||
# midLevelCloudType # midLevelCloudType:long_name = "middle level cloud type"
|
|
||||||
# highLevelCloudType # highLevelCloudType:long_name = "high level cloud type"
|
|
||||||
# maxTempRecordPeriod # maxTempRecordPeriod:long_name = "maximum temperature recording period"
|
|
||||||
# minTempRecordPeriod # minTempRecordPeriod:long_name = "minimum temperature recording period"
|
|
||||||
# precipType # precipType:long_name = "precipitation type"
|
|
||||||
# timeSinceLastPcp #seconds
|
|
||||||
# solarRadChangeTime #seconds since 1970-1-1 00:00:00.0
|
|
||||||
# rawMessage
|
|
||||||
# cloudBaseHeight # cloudBaseHeight:long_name = "height of the lowest cloud layer"
|
|
||||||
# precipIntensity # precipIntensity:long_name = "precipitation intensity"
|
|
||||||
#----------------------------------------------------
|
|
||||||
# ldad_mesonet VarName stored units
|
|
||||||
#--------------------------------------------------
|
|
||||||
platformTrueDirection degree_angle
|
|
||||||
platformTrueSpeed m*s^-1
|
|
||||||
wetBulbTemperature K
|
|
||||||
stationPressure Pa
|
|
||||||
pressChange3Hour Pa
|
|
||||||
windDirMin degree_angle
|
|
||||||
windDirMax degree_angle
|
|
||||||
skyLayerBase m
|
|
||||||
visibility m
|
|
||||||
maximumTemperature K
|
|
||||||
minimumTemperature K
|
|
||||||
precipAccum mm
|
|
||||||
solarRadiation W*m^-2
|
|
||||||
seaSurfaceTemp K
|
|
||||||
wavePeriod s
|
|
||||||
waveHeight m
|
|
||||||
temperature K
|
|
||||||
dewpoint K
|
|
||||||
relHumidity %
|
|
||||||
windDir degree_angle
|
|
||||||
windSpeed m*s^-1
|
|
||||||
windGust m*s^-1
|
|
||||||
pressure Pa
|
|
||||||
seaLevelPressure Pa
|
|
||||||
altimeter Pa
|
|
||||||
precipRate m*s^-1
|
|
||||||
fuelTemperature K
|
|
||||||
fuelMoisture %
|
|
||||||
soilTemperature K
|
|
||||||
soilMoisture %
|
|
||||||
#--------------------------------------------------
|
|
||||||
#ldad_hydro VarName stored units
|
|
||||||
#--------------------------------------------------
|
|
||||||
#voltageBattery volt
|
|
||||||
#waterConductance umhos/cm
|
|
||||||
#waterOxygen mg/l
|
|
||||||
#waterPH ph
|
|
||||||
#riverReportChangeTime
|
|
||||||
belowSurface m
|
|
||||||
riverStage m
|
|
||||||
poolElevation m
|
|
||||||
tailwaterStage m
|
|
||||||
riverVelocity kph
|
|
||||||
riverInflow m^3/s
|
|
||||||
riverFlow m^3/s
|
|
||||||
computedOutflow m^3/s
|
|
||||||
waterTemperature K
|
|
||||||
windSpeedPeak m*s^-1
|
|
||||||
precip5min mm
|
|
||||||
precip1hr mm
|
|
||||||
precip3hr mm
|
|
||||||
precip6hr mm
|
|
||||||
precip12hr mm
|
|
||||||
precip18hr mm
|
|
||||||
precip24hr mm
|
|
||||||
#--------------------------------------------------
|
|
||||||
#ldad_manual VarName stored units
|
|
||||||
#--------------------------------------------------
|
|
||||||
code10 mm
|
|
||||||
#code11 mm
|
|
||||||
#code12 mm
|
|
||||||
#code13 mm
|
|
||||||
#code14 mm
|
|
||||||
#code15 mm
|
|
||||||
#code16 mm
|
|
||||||
#code17 mm
|
|
||||||
#code18 mm
|
|
||||||
#code19 h
|
|
||||||
#code21 K
|
|
||||||
#code22 K
|
|
||||||
#code23 K
|
|
||||||
#code24 K
|
|
||||||
#code25 K
|
|
||||||
#code26 K
|
|
||||||
#code27 K
|
|
||||||
#code28 K
|
|
||||||
#code29 K
|
|
||||||
#code30 h
|
|
||||||
#code31 h
|
|
||||||
#code32 K
|
|
||||||
#code33 m
|
|
||||||
#code34 m
|
|
||||||
#code35 m
|
|
||||||
#code36 m
|
|
||||||
#code37 m
|
|
||||||
#code38 m
|
|
||||||
#code40 m
|
|
||||||
#code43 m^3/s
|
|
||||||
#code44 m^3/s
|
|
||||||
#code45 m^3/s
|
|
||||||
#code46 m^3/s
|
|
||||||
#code47 m^3/s
|
|
||||||
#code48 m^3/s
|
|
||||||
#code49 m^3/s
|
|
||||||
#code50 m^3/s
|
|
||||||
#code52 m
|
|
||||||
#code53 m
|
|
||||||
#code54 m
|
|
||||||
#code55 m
|
|
||||||
#code56 m
|
|
||||||
#code57 m
|
|
||||||
#code58 m^3/s
|
|
||||||
#code59 m^3/s
|
|
||||||
#code60 m^3/s
|
|
||||||
#code61 m^3/s
|
|
||||||
#code62 m^3/s
|
|
||||||
#code63 m^3/s
|
|
||||||
#code64 m^3/s
|
|
||||||
#code65 m^3
|
|
||||||
#code66 m
|
|
||||||
#code67 %
|
|
||||||
#code68 m
|
|
||||||
#code69 m
|
|
||||||
#code70 m/m
|
|
||||||
#code71 m
|
|
||||||
#code73 %
|
|
||||||
#code74 m
|
|
||||||
#code75 m
|
|
||||||
#code76 m
|
|
||||||
#code78 m
|
|
||||||
#code79 m
|
|
||||||
#code83 m
|
|
||||||
#code86 %
|
|
||||||
#code87 m
|
|
||||||
#code88 m*s^-1
|
|
||||||
#code89 degree_angle
|
|
||||||
#code90 h
|
|
||||||
#code91 W*m^-2
|
|
||||||
#code93 h
|
|
||||||
#code94 K
|
|
||||||
#code95 K
|
|
||||||
#code96 m
|
|
||||||
|
|
||||||
|
|
||||||
# ====================================================
|
|
||||||
# UNITS OF THERMODYNAMIC TEMPERATURE
|
|
||||||
#
|
|
||||||
#KELVIN KELVIN
|
|
||||||
#CELSIUS KELVIN @ 273.15
|
|
||||||
#RANKINE KELVIN/1.8
|
|
||||||
#FAHRENHEIT RANKINE @ 459.67
|
|
||||||
|
|
||||||
#C CELSIUS # `C' means `coulomb'
|
|
||||||
Celsius Celsius
|
|
||||||
celsius Celsius
|
|
||||||
degree_centigrade Celsius
|
|
||||||
degC Celsius
|
|
||||||
degreeC Celsius
|
|
||||||
degree_C Celsius
|
|
||||||
degree_c Celsius
|
|
||||||
deg_C Celsius
|
|
||||||
deg_c Celsius
|
|
||||||
degK K
|
|
||||||
degreeK K
|
|
||||||
degree_K K
|
|
||||||
degree_k K
|
|
||||||
deg_K K
|
|
||||||
deg_k K
|
|
||||||
K K
|
|
||||||
degF degree_fahrenheit
|
|
||||||
degreeF degree_fahrenheit
|
|
||||||
degree_F degree_fahrenheit
|
|
||||||
degree_f degree_fahrenheit
|
|
||||||
deg_F degree_fahrenheit
|
|
||||||
deg_f degree_fahrenheit
|
|
||||||
F degree_fahrenheit
|
|
||||||
Fahrenheit degree_fahrenheit
|
|
||||||
fahrenheit degree_fahrenheit
|
|
||||||
#R RANKINE # `R' means `roentgen'
|
|
||||||
degR degree_rankine
|
|
||||||
degreeR degree_rankine
|
|
||||||
degree_R degree_rankine
|
|
||||||
degree_r degree_rankine
|
|
||||||
deg_R degree_rankine
|
|
||||||
deg_r degree_rankine
|
|
||||||
Rankine degree_rankine
|
|
||||||
rankine degree_rankine
|
|
||||||
# -----------------------------------------
|
|
||||||
#Relative humidity
|
|
||||||
% %
|
|
||||||
# -----------------------------------------
|
|
||||||
# UNITS OF LENGTH
|
|
||||||
#
|
|
||||||
m m
|
|
||||||
metre m
|
|
||||||
# God help us! There's an international foot and a US survey foot and
|
|
||||||
# they're not the same!
|
|
||||||
|
|
||||||
# International foot stuff:
|
|
||||||
international_inch in
|
|
||||||
international_foot ft
|
|
||||||
international_feet ft
|
|
||||||
international_yard yd
|
|
||||||
international_mile mi
|
|
||||||
|
|
||||||
# Alias unspecified units to the international units:
|
|
||||||
inch in
|
|
||||||
foot ft
|
|
||||||
yard yd
|
|
||||||
mile mi
|
|
||||||
|
|
||||||
# The following should hold regardless:
|
|
||||||
inches in
|
|
||||||
in in
|
|
||||||
feet ft
|
|
||||||
ft ft
|
|
||||||
yd yd
|
|
||||||
|
|
||||||
nmile nmi
|
|
||||||
nmi nmi
|
|
||||||
|
|
||||||
mm mm
|
|
||||||
|
|
||||||
# -----------------------------------------
|
|
||||||
# UNITS OF TIME
|
|
||||||
#
|
|
||||||
day d
|
|
||||||
hour h
|
|
||||||
minute min
|
|
||||||
s s
|
|
||||||
sec s
|
|
||||||
common_year year
|
|
||||||
d d
|
|
||||||
min min
|
|
||||||
hr h
|
|
||||||
h h
|
|
||||||
week week
|
|
||||||
year year
|
|
||||||
yr year
|
|
||||||
a year
|
|
||||||
month month
|
|
||||||
|
|
||||||
# -----------------------------------------
|
|
||||||
# UNITS OF PLANE ANGLE
|
|
||||||
#
|
|
||||||
#rad P radian # `rad' means `grey'
|
|
||||||
#circle P 2 pi radian
|
|
||||||
degree_angle degree_angle
|
|
||||||
angular_degree degree_angle
|
|
||||||
|
|
||||||
#turn P circle
|
|
||||||
degree degree_angle
|
|
||||||
degree_north degree_angle
|
|
||||||
degree_east degree_angle
|
|
||||||
degree_true degree_angle
|
|
||||||
arcdeg degree_angle
|
|
||||||
angular_minute degree_angle/60
|
|
||||||
angular_second degree_angle/3600
|
|
||||||
|
|
||||||
|
|
||||||
degrees_north degree_angle
|
|
||||||
degreeN degree_angle
|
|
||||||
degree_N degree_angle
|
|
||||||
degreesN degree_angle
|
|
||||||
degrees_N degree_angle
|
|
||||||
|
|
||||||
degrees_east degree_angle
|
|
||||||
degreeE degree_angle
|
|
||||||
degree_E degree_angle
|
|
||||||
degreesE degree_angle
|
|
||||||
degrees_E degree_angle
|
|
||||||
|
|
||||||
degrees_west degree_angle
|
|
||||||
degreeW degree_angle
|
|
||||||
degree_W degree_angle
|
|
||||||
degreesW degree_angle
|
|
||||||
degrees_W degree_angle
|
|
||||||
|
|
||||||
degrees_true degree_angle
|
|
||||||
degreeT degree_angle
|
|
||||||
degree_T degree_angle
|
|
||||||
degreesT degree_angle
|
|
||||||
degrees_T degree_angle
|
|
||||||
|
|
||||||
# -----------------------------------------
|
|
||||||
# PRESSURE OR STRESS
|
|
||||||
#
|
|
||||||
bar bar
|
|
||||||
mB bar/1000
|
|
||||||
standard_atmosphere atm
|
|
||||||
technical_atmosphere kg*cm^-2
|
|
||||||
Pa Pa
|
|
||||||
inch_Hg inHg
|
|
||||||
inch_hg inHg
|
|
||||||
inHg inHg
|
|
||||||
in_Hg inHg
|
|
||||||
in_hg inHg
|
|
||||||
millimeter_Hg mmHg
|
|
||||||
mmHg mmHg
|
|
||||||
mm_Hg mmHg
|
|
||||||
mm_hg mmHg
|
|
||||||
torr mmHg
|
|
||||||
#at S technical_atmosphere
|
|
||||||
atmosphere atm
|
|
||||||
atm atm
|
|
||||||
|
|
||||||
# -----------------------------------------
|
|
||||||
# VELOCITY (INCLUDES SPEED)
|
|
||||||
#
|
|
||||||
#c S 2.997925e+8 meter/sec
|
|
||||||
knot kn
|
|
||||||
|
|
||||||
knot_international kn
|
|
||||||
international_knot kn
|
|
||||||
kt kn
|
|
||||||
m/s m*s^-1
|
|
||||||
mph mph
|
|
||||||
kph m*1000*h^-1
|
|
||||||
mps m*s^-1
|
|
||||||
iph in*s^-1
|
|
||||||
mmph m*1000*s^-1
|
|
||||||
|
|
||||||
# -----------------------------------------
|
|
||||||
# SOLAR RADIATION
|
|
||||||
W/meter2 W*m^-2
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.edex.plugin.ldadhydro</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,19 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldadhydro Plug-in
|
|
||||||
Bundle-SymbolicName: com.raytheon.edex.plugin.ldadhydro
|
|
||||||
Bundle-Version: 1.12.1174.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Require-Bundle: com.raytheon.edex.common;bundle-version="1.11.13",
|
|
||||||
com.raytheon.uf.edex.pointdata,
|
|
||||||
javax.persistence;bundle-version="1.0.0",
|
|
||||||
javax.measure;bundle-version="1.0.0",
|
|
||||||
org.geotools;bundle-version="2.5.2",
|
|
||||||
com.raytheon.uf.common.localization;bundle-version="1.11.13",
|
|
||||||
com.raytheon.edex.plugin.ldad;bundle-version="1.0.0"
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
|
||||||
Export-Package: com.raytheon.edex.plugin.ldadhydro.dao
|
|
||||||
Import-Package: com.raytheon.uf.common.dataplugin.ldadhydro,
|
|
||||||
com.raytheon.uf.common.status,
|
|
||||||
com.raytheon.uf.edex.pointdata,
|
|
||||||
org.apache.commons.logging
|
|
|
@ -1,5 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
res/
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<pointDataDescription>
|
|
||||||
<parameter name = "timeObs" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "latitude" numDims="1" type="FLOAT" unit="degree_N" />
|
|
||||||
<parameter name = "longitude" numDims="1" type="FLOAT" unit="degree_E" />
|
|
||||||
<parameter name = "elevation" numDims="1" type="FLOAT" unit="m" />
|
|
||||||
<parameter name = "reportTime" numDims="1" type="FLOAT"/>
|
|
||||||
<parameter name = "receivedTime" numDims="1" type="FLOAT"/>
|
|
||||||
<parameter name = "stationId" numDims="1" type="STRING" size="51"/>
|
|
||||||
<parameter name = "numericWMOid" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "belowSurface" numDims="1" type="FLOAT" unit="m"/>
|
|
||||||
<parameter name = "riverStage" numDims="1" type="FLOAT" unit="m"/>
|
|
||||||
<parameter name = "poolElevation" numDims="1" type="FLOAT" unit="m"/>
|
|
||||||
<parameter name = "tailwaterStage" numDims="1" type="FLOAT" unit="m"/>
|
|
||||||
<parameter name = "riverVelocity" numDims="1" type="FLOAT" unit="k/hr"/>
|
|
||||||
<parameter name = "riverInflow" numDims="1" type="FLOAT" unit="m^3/s"/>
|
|
||||||
<parameter name = "riverFlow" numDims="1" type="FLOAT" unit="m^3/s"/>
|
|
||||||
<parameter name = "computedOutflow" numDims="1" type="FLOAT" unit="m^3/s"/>
|
|
||||||
<parameter name = "waterTemperature" numDims="1" type="FLOAT" unit="K"/>
|
|
||||||
<parameter name = "voltageBattery" numDims="1" type="FLOAT" unit="V"/>
|
|
||||||
<parameter name = "waterConductance" numDims="1" type="FLOAT" unit="umhos/cm"/>
|
|
||||||
<parameter name = "waterOxygen" numDims="1" type="FLOAT" unit="mg/l"/>
|
|
||||||
<parameter name = "waterPH" numDims="1" type="FLOAT" unit="pH"/>
|
|
||||||
<parameter name = "relHumidity" numDims="1" type="FLOAT" unit="%"/>
|
|
||||||
<parameter name = "riverReportChangeTime" numDims="1" type="FLOAT" unit="s"/>
|
|
||||||
<parameter name = "temperature" numDims="1" type="FLOAT" unit="K"/>
|
|
||||||
<parameter name = "dewpoint" numDims="1" type="FLOAT" unit="K"/>
|
|
||||||
<parameter name = "windDir" numDims="1" type="FLOAT" unit="degree"/>
|
|
||||||
<parameter name = "windSpeed" numDims="1" type="FLOAT" unit="m/s"/>
|
|
||||||
<parameter name = "windSpeedPeak" numDims="1" type="FLOAT" unit="m/s"/>
|
|
||||||
<parameter name = "windGust" numDims="1" type="FLOAT" unit="m/s"/>
|
|
||||||
<parameter name = "precipAccum" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip5min" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip1hr" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip3hr" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip6hr" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip12hr" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip18hr" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
<parameter name = "precip24hr" numDims="1" type="FLOAT" unit="mm"/>
|
|
||||||
</pointDataDescription>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<pointDataDbDescription>
|
|
||||||
<parameter name="latitude" queryName="location.latitude" type="FLOAT" unit="°" />
|
|
||||||
<parameter name="longitude" queryName="location.longitude" type="FLOAT" unit="°" />
|
|
||||||
<parameter name="elevation" queryName="location.elevation" type="FLOAT" fillValue="-9999" unit="m" />
|
|
||||||
<parameter name="stationId" queryName="location.stationId" type="STRING" />
|
|
||||||
<parameter name="dataProvider" queryName="dataProvider" type="STRING" />
|
|
||||||
<parameter name="dataURI" queryName="dataURI" type="STRING" />
|
|
||||||
</pointDataDbDescription>
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
||||||
<bean id="hydroProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
|
|
||||||
<property name="pluginName" value="ldadhydro" />
|
|
||||||
<property name="pluginFQN" value="com.raytheon.uf.common.dataplugin.ldadhydro" />
|
|
||||||
<property name="dao" value="com.raytheon.edex.plugin.ldadhydro.dao.LdadHydroDao" />
|
|
||||||
<property name="record" value="com.raytheon.uf.common.dataplugin.ldadhydro.HydroLdadRecord" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean factory-bean="pluginRegistry" factory-method="register">
|
|
||||||
<constructor-arg value="ldadhydro" />
|
|
||||||
<constructor-arg ref="hydroProperties" />
|
|
||||||
</bean>
|
|
||||||
</beans>
|
|
|
@ -1,40 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
||||||
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
||||||
|
|
||||||
<bean id="hydroDecoder" class="com.raytheon.edex.plugin.ldadhydro.dao.HydroDecoder"/>
|
|
||||||
|
|
||||||
<bean id="hydroDatabase" class="java.lang.String">
|
|
||||||
<constructor-arg type="java.lang.String" value="metadata" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="ldadhydroDistRegistry" factory-bean="distributionSrv"
|
|
||||||
factory-method="register">
|
|
||||||
<constructor-arg value="ldadhydro" />
|
|
||||||
<constructor-arg value="jms-durable:queue:Ingest.ldadhydro" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="ldadhydroPointData" class="com.raytheon.edex.plugin.ldadhydro.dao.LdadhydroPointDataTransform"/>
|
|
||||||
|
|
||||||
<camelContext id="ldadhydro-camel"
|
|
||||||
xmlns="http://camel.apache.org/schema/spring"
|
|
||||||
errorHandlerRef="errorHandler">
|
|
||||||
<route id="ldadhydroIngestRoute">
|
|
||||||
<from uri="jms-durable:queue:Ingest.ldadhydro"/>
|
|
||||||
<doTry>
|
|
||||||
<pipeline>
|
|
||||||
<bean ref="stringToFile" />
|
|
||||||
<bean ref="hydroDecoder" method="decode" />
|
|
||||||
<bean ref="ldadhydroPointData" method="toPointData" />
|
|
||||||
<to uri="direct-vm:persistIndexAlert" />
|
|
||||||
</pipeline>
|
|
||||||
<doCatch>
|
|
||||||
<exception>java.lang.Throwable</exception>
|
|
||||||
<to uri="log:ldadhydro?level=ERROR"/>
|
|
||||||
</doCatch>
|
|
||||||
</doTry>
|
|
||||||
</route>
|
|
||||||
</camelContext>
|
|
||||||
</beans>
|
|
|
@ -1,337 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadhydro.dao;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.FileInputStream;
|
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
import java.io.StringReader;
|
|
||||||
import java.lang.reflect.Field;
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
|
||||||
import java.lang.reflect.Method;
|
|
||||||
import java.lang.reflect.Modifier;
|
|
||||||
import java.text.ParseException;
|
|
||||||
import java.text.SimpleDateFormat;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Properties;
|
|
||||||
import java.util.TimeZone;
|
|
||||||
|
|
||||||
import javax.measure.unit.Unit;
|
|
||||||
import javax.measure.unit.UnitFormat;
|
|
||||||
import javax.xml.bind.JAXBContext;
|
|
||||||
import javax.xml.bind.JAXBException;
|
|
||||||
import javax.xml.bind.Unmarshaller;
|
|
||||||
|
|
||||||
import com.raytheon.edex.exception.DecoderException;
|
|
||||||
import com.raytheon.edex.plugin.AbstractDecoder;
|
|
||||||
import com.raytheon.edex.plugin.IBinaryDecoder;
|
|
||||||
import com.raytheon.edex.plugin.ldad.common.DecodedData;
|
|
||||||
import com.raytheon.edex.plugin.ldad.common.LdadField;
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
|
||||||
import com.raytheon.uf.common.dataplugin.ldadhydro.HydroLdadRecord;
|
|
||||||
import com.raytheon.uf.common.localization.IPathManager;
|
|
||||||
import com.raytheon.uf.common.localization.LocalizationContext;
|
|
||||||
import com.raytheon.uf.common.localization.PathManagerFactory;
|
|
||||||
import com.raytheon.uf.common.pointdata.spatial.SurfaceObsLocation;
|
|
||||||
import com.raytheon.uf.common.time.DataTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decoder implementation for ldadhydro plugin.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* Sep 30, 2009 vkorolev Initial creation
|
|
||||||
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
|
||||||
* 10/16/13 DR 16685 M.Porricelli Add error checking for date
|
|
||||||
* format
|
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class HydroDecoder<E> extends AbstractDecoder implements IBinaryDecoder {
|
|
||||||
|
|
||||||
private static final String BAD_PROPERTY_FMT = "NumberFormatException setting property %s.%s(%s %s)";
|
|
||||||
|
|
||||||
private String traceId = null;
|
|
||||||
|
|
||||||
public SimpleDateFormat sdf = new SimpleDateFormat("yy/MM/dd HH:mm:ss");
|
|
||||||
|
|
||||||
public File confile;
|
|
||||||
|
|
||||||
public Properties configFile = new Properties();
|
|
||||||
|
|
||||||
public void setTraceId(String id) {
|
|
||||||
traceId = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see com.raytheon.edex.plugin.IBinaryDecoder#decode(byte[])
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public PluginDataObject[] decode(byte[] data) throws DecoderException {
|
|
||||||
List<PluginDataObject> retVal = new ArrayList<PluginDataObject>();
|
|
||||||
if (data != null) {
|
|
||||||
IPathManager pathMgr = PathManagerFactory.getPathManager();
|
|
||||||
LocalizationContext commonStaticBase = pathMgr.getContext(
|
|
||||||
LocalizationContext.LocalizationType.EDEX_STATIC,
|
|
||||||
LocalizationContext.LocalizationLevel.BASE);
|
|
||||||
try {
|
|
||||||
confile = pathMgr.getFile(commonStaticBase,
|
|
||||||
"ldad/ldadUnitsMap.txt");
|
|
||||||
FileInputStream fis = new FileInputStream(confile);
|
|
||||||
try {
|
|
||||||
configFile.load(fis);
|
|
||||||
} finally {
|
|
||||||
fis.close();
|
|
||||||
}
|
|
||||||
} catch (FileNotFoundException e) {
|
|
||||||
logger.error(traceId
|
|
||||||
+ "Configuration Units Map file (ldadUnitsMap.txt) not found.");
|
|
||||||
} catch (Exception e) {
|
|
||||||
logger.error(traceId + e);
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
JAXBContext context = JAXBContext
|
|
||||||
.newInstance(DecodedData.class);
|
|
||||||
Unmarshaller u = context.createUnmarshaller();
|
|
||||||
StringReader reader = new StringReader(new String(data));
|
|
||||||
DecodedData dd = (DecodedData) u.unmarshal(reader);
|
|
||||||
// Storage type separator
|
|
||||||
if (dd.storageType.compareTo("hydro") == 0) {
|
|
||||||
// Header
|
|
||||||
logger.info("\n***********" + "fileName= " + dd.fileName
|
|
||||||
+ "**********\n" + "storageType= " + dd.storageType
|
|
||||||
+ "\n" + "type= " + dd.type + "\n" + "root= "
|
|
||||||
+ dd.root + "\n" + "source= " + dd.source + "\n"
|
|
||||||
+ "provider= " + dd.provider + "\n"
|
|
||||||
+ "missingValue= " + dd.missingValue + "\n"
|
|
||||||
+ "reportTime= " + dd.reportTime + "\n"
|
|
||||||
+ "--------------------------------------------"
|
|
||||||
+ "\n");
|
|
||||||
String missval = dd.missingValue;
|
|
||||||
// Number of records
|
|
||||||
int recnum = dd.fields.get(0).values.size();
|
|
||||||
if (recnum == 0) {
|
|
||||||
logger.info(traceId + " - No data in the file.");
|
|
||||||
retVal.clear();
|
|
||||||
return retVal.toArray(new PluginDataObject[0]);
|
|
||||||
}
|
|
||||||
// Loop through records
|
|
||||||
badRecordStartAgain: for (int i = 0; i < recnum; i++) {
|
|
||||||
HydroLdadRecord record = new HydroLdadRecord();
|
|
||||||
SurfaceObsLocation location = new SurfaceObsLocation();
|
|
||||||
record.setDataProvider(dd.provider);
|
|
||||||
record.setStationType(dd.type);
|
|
||||||
record.setReportTime(dd.reportTime);
|
|
||||||
// Loop through fields
|
|
||||||
for (LdadField v : dd.fields) {
|
|
||||||
String nn = v.variableName;
|
|
||||||
String unit = v.units;
|
|
||||||
String vv = v.values.get(i);
|
|
||||||
// value filtering
|
|
||||||
if (vv.equals(missval)) {
|
|
||||||
if (nn.equals("observationTime")) {
|
|
||||||
logger.error(traceId
|
|
||||||
+ " - No Observation time was found.");
|
|
||||||
continue badRecordStartAgain;
|
|
||||||
} else {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (nn.equals("_lat")) {
|
|
||||||
float val = Float.parseFloat(vv);
|
|
||||||
location.setLatitude(val);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("_lon")) {
|
|
||||||
float val = Float.parseFloat(vv);
|
|
||||||
location.setLongitude(val);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("_elev")) {
|
|
||||||
// elevation in meter - integer in location
|
|
||||||
double dv = Double.parseDouble(vv);
|
|
||||||
int val = (int) dv;
|
|
||||||
location.setElevation(val);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("providerId")) {
|
|
||||||
location.setStationId(vv);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("_tz")) {
|
|
||||||
sdf.setTimeZone(TimeZone.getTimeZone(vv));
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Construct MesonetLdadRecord
|
|
||||||
this.setProperty(nn, record, vv, unit);
|
|
||||||
}
|
|
||||||
// DataTime = Observation time
|
|
||||||
Calendar ot = record.getObservationTime();
|
|
||||||
if (ot != null){
|
|
||||||
DataTime dt = new DataTime(ot);
|
|
||||||
record.setDataTime(dt);
|
|
||||||
record.setLocation(location);
|
|
||||||
retVal.add(record);
|
|
||||||
}
|
|
||||||
// logger.info("-------------------------------------------------------");
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
|
||||||
retVal.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch (JAXBException e) {
|
|
||||||
logger.error(traceId + " - Unable to unmarshall xml:", e);
|
|
||||||
} catch (SecurityException e) {
|
|
||||||
logger.error(traceId + " - SecurityException:" + e);
|
|
||||||
} catch (IllegalArgumentException e) {
|
|
||||||
logger.error(traceId + " - IllegalArgumentException:" + e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return retVal.toArray(new PluginDataObject[retVal.size()]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set values using Java Reflect API
|
|
||||||
/**
|
|
||||||
* @param name
|
|
||||||
* @param obj
|
|
||||||
* @param value
|
|
||||||
* @return
|
|
||||||
* @throws SecurityException
|
|
||||||
* @throws NoSuchMethodException
|
|
||||||
* @throws IllegalArgumentException
|
|
||||||
* @throws IllegalAccessException
|
|
||||||
* @throws InvocationTargetException
|
|
||||||
* @throws ParseException
|
|
||||||
* @throws ClassNotFoundException
|
|
||||||
* @throws Throwable
|
|
||||||
*/
|
|
||||||
|
|
||||||
public void setProperty(String name, Object obj, String value, String vunit) {
|
|
||||||
|
|
||||||
String prop = Character.toUpperCase(name.charAt(0)) + name.substring(1);
|
|
||||||
String mname = "set" + prop;
|
|
||||||
Object val = null;
|
|
||||||
try {
|
|
||||||
Class<?> cls = obj.getClass();
|
|
||||||
Field fld = cls.getDeclaredField(name);
|
|
||||||
Class<?> clazz = fld.getType();
|
|
||||||
// Type filter
|
|
||||||
if (clazz == String.class) {
|
|
||||||
val = value.trim();
|
|
||||||
} else if (clazz == Calendar.class) {
|
|
||||||
Date ot = null;
|
|
||||||
try {
|
|
||||||
ot = sdf.parse(value);
|
|
||||||
Calendar cal = Calendar.getInstance();
|
|
||||||
cal.setTimeZone(TimeZone.getTimeZone("GMT"));
|
|
||||||
cal.setTime(ot);
|
|
||||||
val = cal;
|
|
||||||
} catch(Exception e) {
|
|
||||||
logger.error("Could not parse date field [" + name + ":" + value + "]");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// only numbers
|
|
||||||
} else {
|
|
||||||
Double tval = null;
|
|
||||||
try {
|
|
||||||
tval = Double.parseDouble(value);
|
|
||||||
} catch (NumberFormatException nfe) {
|
|
||||||
String msg = String.format(BAD_PROPERTY_FMT,
|
|
||||||
cls.getSimpleName(), fld.getName(),
|
|
||||||
clazz.getSimpleName(), value);
|
|
||||||
logger.error(msg);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (configFile.containsKey(vunit)) {
|
|
||||||
Unit<?> inUnit = (Unit<?>) UnitFormat.getUCUMInstance()
|
|
||||||
.parseObject(configFile.getProperty(vunit));
|
|
||||||
Unit<?> outUnit = (Unit<?>) UnitFormat.getUCUMInstance()
|
|
||||||
.parseObject(configFile.getProperty(name));
|
|
||||||
tval = inUnit.getConverterTo(outUnit).convert(
|
|
||||||
(tval).doubleValue());
|
|
||||||
}
|
|
||||||
if (clazz == Integer.class) {
|
|
||||||
val = tval.intValue();
|
|
||||||
} else if (clazz == Short.class) {
|
|
||||||
val = tval.shortValue();
|
|
||||||
} else if (clazz == Float.class) {
|
|
||||||
val = tval.floatValue();
|
|
||||||
} else {
|
|
||||||
val = tval;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Class<?> types = clazz;
|
|
||||||
Method method = obj.getClass().getMethod(mname, types);
|
|
||||||
method.invoke(obj, val);
|
|
||||||
|
|
||||||
} catch (RuntimeException e) {
|
|
||||||
logger.error(traceId + " - RuntimeException:", e);
|
|
||||||
} catch (NoSuchMethodException e) {
|
|
||||||
logger.error(traceId + " - NoSuchMethodException:", e);
|
|
||||||
} catch (NoSuchFieldException e) {
|
|
||||||
// logger.error(traceId + " - NoSuchFieldException = "+
|
|
||||||
// e.getMessage());
|
|
||||||
} catch (IllegalAccessException e) {
|
|
||||||
logger.error(traceId + " - IllegalAccessException:", e);
|
|
||||||
} catch (InvocationTargetException e) {
|
|
||||||
logger.error(traceId + " - InvocationTargetException:", e);
|
|
||||||
} catch (ParseException e) {
|
|
||||||
logger.error(traceId + " - ParseException:", e);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// List of Fields in record
|
|
||||||
public static void main(String args[]) {
|
|
||||||
HydroLdadRecord record = new HydroLdadRecord();
|
|
||||||
try {
|
|
||||||
Class<?> cls = record.getClass();
|
|
||||||
|
|
||||||
Field fieldlist[] = cls.getDeclaredFields();
|
|
||||||
for (Field fld : fieldlist) {
|
|
||||||
System.out.println("name = " + fld.getName());
|
|
||||||
// System.out.println("decl class = " +
|
|
||||||
// fld.getDeclaringClass());
|
|
||||||
System.out.println("type = " + fld.getType());
|
|
||||||
int mod = fld.getModifiers();
|
|
||||||
System.out.println("modifiers = " + Modifier.toString(mod));
|
|
||||||
System.out.println("-----");
|
|
||||||
}
|
|
||||||
} catch (Throwable e) {
|
|
||||||
System.err.println(e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,174 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadhydro.dao;
|
|
||||||
|
|
||||||
import java.sql.SQLException;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginException;
|
|
||||||
import com.raytheon.uf.common.dataplugin.ldadhydro.HydroLdadRecord;
|
|
||||||
import com.raytheon.uf.common.dataplugin.persist.IPersistable;
|
|
||||||
import com.raytheon.uf.common.dataquery.db.QueryParam;
|
|
||||||
import com.raytheon.uf.common.datastorage.IDataStore;
|
|
||||||
import com.raytheon.uf.common.pointdata.PointDataDescription;
|
|
||||||
import com.raytheon.uf.common.pointdata.spatial.ObStation;
|
|
||||||
import com.raytheon.uf.edex.database.DataAccessLayerException;
|
|
||||||
import com.raytheon.uf.edex.database.query.DatabaseQuery;
|
|
||||||
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
|
||||||
import com.raytheon.uf.edex.pointdata.spatial.ObStationDao;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Data access object for accessing LDAD HYDRO records in the database.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* 9/30/09 vkorolev Initial creation
|
|
||||||
* Feb 27, 2013 1638 mschenke Moved ObStationDao to edex pointdata plugin
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class LdadHydroDao extends PointDataPluginDao<HydroLdadRecord> {
|
|
||||||
|
|
||||||
private PointDataDescription pdd;
|
|
||||||
|
|
||||||
public LdadHydroDao(String pluginName) throws PluginException {
|
|
||||||
super(pluginName);
|
|
||||||
}
|
|
||||||
|
|
||||||
public LdadHydroDao() throws PluginException, SQLException {
|
|
||||||
this("ldadhydro");
|
|
||||||
}
|
|
||||||
|
|
||||||
protected IDataStore populateDataStore(IDataStore dataStore,
|
|
||||||
IPersistable obj) throws Exception {
|
|
||||||
// TODO Auto-generated method stub
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** The station dao */
|
|
||||||
private ObStationDao obDao = new ObStationDao();
|
|
||||||
|
|
||||||
public List<?> queryBySpatialBox(double upperLeftLat, double upperLeftLon,
|
|
||||||
double lowerRightLat, double lowerRightLon)
|
|
||||||
throws DataAccessLayerException {
|
|
||||||
|
|
||||||
List<ObStation> stationList = obDao.queryBySpatialBox(upperLeftLat,
|
|
||||||
upperLeftLon, lowerRightLat, lowerRightLon);
|
|
||||||
|
|
||||||
List<String> stationNames = new ArrayList<String>();
|
|
||||||
for (ObStation station : stationList) {
|
|
||||||
stationNames.add((String) station.getIdentifier());
|
|
||||||
}
|
|
||||||
stationList.clear();
|
|
||||||
|
|
||||||
DatabaseQuery query = new DatabaseQuery(HydroLdadRecord.class);
|
|
||||||
query.addQueryParam("location.stationId", stationNames,
|
|
||||||
QueryParam.QueryOperand.IN);
|
|
||||||
return queryByCriteria(query);
|
|
||||||
}
|
|
||||||
|
|
||||||
public List<?> queryByState(String state, Integer count)
|
|
||||||
throws DataAccessLayerException {
|
|
||||||
|
|
||||||
List<ObStation> results = obDao.queryByState(state);
|
|
||||||
|
|
||||||
ArrayList<String> icaos = new ArrayList<String>();
|
|
||||||
for (ObStation station : results) {
|
|
||||||
icaos.add((String) station.getIdentifier());
|
|
||||||
}
|
|
||||||
|
|
||||||
DatabaseQuery query = new DatabaseQuery(HydroLdadRecord.class, count);
|
|
||||||
query.addQueryParam("location.stationId", icaos,
|
|
||||||
QueryParam.QueryOperand.IN);
|
|
||||||
return queryByCriteria(query);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves an ldadMesonet report using the datauri .
|
|
||||||
*
|
|
||||||
* @param dataURI
|
|
||||||
* The dataURI to match against.
|
|
||||||
* @return The report record if it exists.
|
|
||||||
*/
|
|
||||||
public HydroLdadRecord queryByDataURI(String dataURI) {
|
|
||||||
HydroLdadRecord report = null;
|
|
||||||
List<?> obs = null;
|
|
||||||
try {
|
|
||||||
obs = queryBySingleCriteria("dataURI", dataURI);
|
|
||||||
} catch (DataAccessLayerException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
if ((obs != null) && (obs.size() > 0)) {
|
|
||||||
report = (HydroLdadRecord) obs.get(0);
|
|
||||||
}
|
|
||||||
return report;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Queries for to determine if a given data uri exists on the redbook table.
|
|
||||||
*
|
|
||||||
* @param dataUri
|
|
||||||
* The DataURI to find.
|
|
||||||
* @return An array of objects. If not null, there should only be a single
|
|
||||||
* element.
|
|
||||||
*/
|
|
||||||
public Object[] queryDataUriColumn(final String dataUri) {
|
|
||||||
|
|
||||||
String sql = "select datauri from awips.ldadmesonet where datauri='"
|
|
||||||
+ dataUri + "';";
|
|
||||||
|
|
||||||
Object[] results = executeSQLQuery(sql);
|
|
||||||
|
|
||||||
return results;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ObStationDao getObDao() {
|
|
||||||
return obDao;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setObDao(ObStationDao obDao) {
|
|
||||||
this.obDao = obDao;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String[] getKeysRequiredForFileName() {
|
|
||||||
return new String[] { "dataTime.refTime" };
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getPointDataFileName(HydroLdadRecord p) {
|
|
||||||
return "ldadhydro.h5";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public HydroLdadRecord newObject() {
|
|
||||||
return new HydroLdadRecord();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,205 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadhydro.dao;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import javax.xml.bind.JAXBException;
|
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginException;
|
|
||||||
import com.raytheon.uf.common.dataplugin.ldadhydro.HydroLdadRecord;
|
|
||||||
import com.raytheon.uf.common.pointdata.PointDataContainer;
|
|
||||||
import com.raytheon.uf.common.pointdata.PointDataDescription;
|
|
||||||
import com.raytheon.uf.common.pointdata.PointDataView;
|
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* Transform LDAD HYDRO records into Point Data Model.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* Nov 19, 2010 bsteffen Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author bsteffen
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
public class LdadhydroPointDataTransform {
|
|
||||||
|
|
||||||
private Log logger = LogFactory.getLog(getClass());
|
|
||||||
|
|
||||||
private LdadHydroDao dao;
|
|
||||||
|
|
||||||
private PointDataDescription description;
|
|
||||||
|
|
||||||
public LdadhydroPointDataTransform() throws JAXBException, PluginException {
|
|
||||||
this.dao = new LdadHydroDao("ldadhydro");
|
|
||||||
this.description = dao.getPointDataDescription(null);
|
|
||||||
}
|
|
||||||
|
|
||||||
public PluginDataObject[] toPointData(PluginDataObject[] pdo) {
|
|
||||||
|
|
||||||
if (pdo.length > 0) {
|
|
||||||
Map<File, PointDataContainer> pointMap = new HashMap<File, PointDataContainer>();
|
|
||||||
|
|
||||||
for (PluginDataObject p : pdo) {
|
|
||||||
if (!(p instanceof HydroLdadRecord))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
File f = this.dao.getFullFilePath(p);
|
|
||||||
|
|
||||||
PointDataContainer pdc = pointMap.get(f);
|
|
||||||
if (pdc == null) {
|
|
||||||
pdc = PointDataContainer.build(this.description);
|
|
||||||
pointMap.put(f, pdc);
|
|
||||||
}
|
|
||||||
|
|
||||||
HydroLdadRecord mesor = (HydroLdadRecord) p;
|
|
||||||
PointDataView pdv = buildView(pdc, mesor);
|
|
||||||
mesor.setPointDataView(pdv);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return pdo;
|
|
||||||
}
|
|
||||||
|
|
||||||
private PointDataView buildView(PointDataContainer container,
|
|
||||||
HydroLdadRecord record) {
|
|
||||||
PointDataView pdv = container.append();
|
|
||||||
if (record.getObservationTime() != null) {
|
|
||||||
pdv.setLong("timeObs", record.getObservationTime()
|
|
||||||
.getTimeInMillis());
|
|
||||||
}
|
|
||||||
if (record.getLocation() != null) {
|
|
||||||
pdv.setFloat("latitude", (float) record.getLatitude());
|
|
||||||
pdv.setFloat("longitude", (float) record.getLongitude());
|
|
||||||
pdv.setFloat("elevation", record.getElevation());
|
|
||||||
}
|
|
||||||
if (record.getReportTime() != null) {
|
|
||||||
pdv.setFloat("reportTime", record.getReportTime().floatValue());
|
|
||||||
}
|
|
||||||
if (record.getReceivedTime() != null) {
|
|
||||||
pdv.setFloat("receivedTime", record.getReceivedTime().floatValue());
|
|
||||||
}
|
|
||||||
if (record.getStationId() != null) {
|
|
||||||
pdv.setString("stationId", record.getStationId());
|
|
||||||
}
|
|
||||||
pdv.setLong("numericWMOid", record.getNumericWMOid());
|
|
||||||
if (record.getBelowSurface() != null) {
|
|
||||||
pdv.setFloat("belowSurfac", record.getBelowSurface());
|
|
||||||
}
|
|
||||||
if (record.getRiverStage() != null) {
|
|
||||||
pdv.setFloat("riverStage", record.getRiverStage());
|
|
||||||
}
|
|
||||||
if (record.getPoolElevation() != null) {
|
|
||||||
pdv.setFloat("poolElevation", record.getPoolElevation());
|
|
||||||
}
|
|
||||||
if (record.getTailwaterStage() != null) {
|
|
||||||
pdv.setFloat("tailwaterStage", record.getTailwaterStage());
|
|
||||||
}
|
|
||||||
if (record.getRiverVelocity() != null) {
|
|
||||||
pdv.setFloat("riverVelocity", record.getRiverVelocity());
|
|
||||||
}
|
|
||||||
if (record.getRiverInflow() != null) {
|
|
||||||
pdv.setFloat("riverInflow", record.getRiverInflow());
|
|
||||||
}
|
|
||||||
if (record.getRiverFlow() != null) {
|
|
||||||
pdv.setFloat("riverFlow", record.getRiverFlow());
|
|
||||||
}
|
|
||||||
if (record.getComputedOutflow() != null) {
|
|
||||||
pdv.setFloat("computedOutflow", record.getComputedOutflow());
|
|
||||||
}
|
|
||||||
if (record.getWaterTemperature() != null) {
|
|
||||||
pdv.setFloat("waterTemperature", record.getWaterTemperature());
|
|
||||||
}
|
|
||||||
if (record.getVoltageBattery() != null) {
|
|
||||||
pdv.setFloat("voltageBattery", record.getVoltageBattery());
|
|
||||||
}
|
|
||||||
if (record.getWaterConductance() != null) {
|
|
||||||
pdv.setFloat("waterConductance", record.getWaterConductance());
|
|
||||||
}
|
|
||||||
if (record.getWaterOxygen() != null) {
|
|
||||||
pdv.setFloat("waterOxygen", record.getWaterConductance());
|
|
||||||
}
|
|
||||||
if (record.getWaterPH() != null) {
|
|
||||||
pdv.setFloat("waterPH", record.getWaterPH());
|
|
||||||
}
|
|
||||||
if (record.getRelHumidity() != null) {
|
|
||||||
pdv.setFloat("relHumidity", record.getRelHumidity());
|
|
||||||
}
|
|
||||||
if (record.getRiverReportChangeTime() != null) {
|
|
||||||
pdv.setFloat("riverReportChangeTime", record
|
|
||||||
.getRiverReportChangeTime().floatValue());
|
|
||||||
}
|
|
||||||
if (record.getTemperature() != null) {
|
|
||||||
pdv.setFloat("temperature", record.getTemperature());
|
|
||||||
}
|
|
||||||
if (record.getDewpoint() != null) {
|
|
||||||
pdv.setFloat("dewpoint", record.getDewpoint());
|
|
||||||
}
|
|
||||||
if (record.getWindDir() != null) {
|
|
||||||
pdv.setFloat("windDir", record.getWindDir());
|
|
||||||
}
|
|
||||||
if (record.getWindSpeed() != null) {
|
|
||||||
pdv.setFloat("windSpeed", record.getWindSpeed());
|
|
||||||
}
|
|
||||||
if (record.getWindSpeedPeak() != null) {
|
|
||||||
pdv.setFloat("windSpeedPeak", record.getWindSpeedPeak());
|
|
||||||
}
|
|
||||||
if (record.getWindGust() != null) {
|
|
||||||
pdv.setFloat("windGust", record.getWindGust().floatValue());
|
|
||||||
}
|
|
||||||
if (record.getPrecipAccum() != null) {
|
|
||||||
pdv.setFloat("precipAccum", record.getPrecipAccum());
|
|
||||||
}
|
|
||||||
if (record.getPrecip5min() != null) {
|
|
||||||
pdv.setFloat("precip5min", record.getPrecip5min());
|
|
||||||
}
|
|
||||||
if (record.getPrecip1hr() != null) {
|
|
||||||
pdv.setFloat("precip1hr", record.getPrecip1hr());
|
|
||||||
}
|
|
||||||
if (record.getPrecip3hr() != null) {
|
|
||||||
pdv.setFloat("precip3hr", record.getPrecip3hr());
|
|
||||||
}
|
|
||||||
if (record.getPrecip6hr() != null) {
|
|
||||||
pdv.setFloat("precip6hr", record.getPrecip6hr());
|
|
||||||
}
|
|
||||||
if (record.getPrecip12hr() != null) {
|
|
||||||
pdv.setFloat("precip12hr", record.getPrecip12hr());
|
|
||||||
}
|
|
||||||
if (record.getPrecip18hr() != null) {
|
|
||||||
pdv.setFloat("precip18hr", record.getPrecip18hr());
|
|
||||||
}
|
|
||||||
if (record.getPrecip24hr() != null) {
|
|
||||||
pdv.setFloat("precip24hr", record.getPrecip24hr());
|
|
||||||
}
|
|
||||||
return pdv;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<purgeRuleSet>
|
|
||||||
<defaultRule>
|
|
||||||
<versionsToKeep>24</versionsToKeep>
|
|
||||||
<delta>=00-01:00:00</delta>
|
|
||||||
<round>00-01:00:00</round>
|
|
||||||
</defaultRule>
|
|
||||||
</purgeRuleSet>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<requestPatterns xmlns:ns2="group">
|
|
||||||
<regex>LDAD\.hydro\.*</regex>
|
|
||||||
</requestPatterns>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.edex.plugin.ldadmanual</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,16 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldadmanual Plug-in
|
|
||||||
Bundle-SymbolicName: com.raytheon.edex.plugin.ldadmanual
|
|
||||||
Bundle-Version: 1.12.1174.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Require-Bundle: com.raytheon.edex.common;bundle-version="1.11.13",
|
|
||||||
com.raytheon.uf.common.pointdata,
|
|
||||||
javax.persistence;bundle-version="1.0.0",
|
|
||||||
javax.measure;bundle-version="1.0.0",
|
|
||||||
org.geotools;bundle-version="2.5.2",
|
|
||||||
com.raytheon.uf.common.localization;bundle-version="1.11.13",
|
|
||||||
com.raytheon.edex.plugin.ldad;bundle-version="1.0.0"
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
|
||||||
Export-Package: com.raytheon.edex.plugin.ldadmanual.dao
|
|
||||||
Import-Package: org.apache.commons.logging
|
|
|
@ -1 +0,0 @@
|
||||||
com.raytheon.edex.plugin.ldadmanual.dao.ManualLdadRecord
|
|
|
@ -1,5 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
res/
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
||||||
<bean id="manualProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
|
|
||||||
<property name="pluginName" value="ldadmanual" />
|
|
||||||
<property name="pluginFQN" value="com.raytheon.edex.plugin.ldadmanual" />
|
|
||||||
<property name="dao" value="com.raytheon.edex.plugin.ldadmanual.dao.LdadManualDao" />
|
|
||||||
<property name="record" value="com.raytheon.edex.plugin.ldadmanual.dao.ManualLdadRecord" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean factory-bean="pluginRegistry" factory-method="register">
|
|
||||||
<constructor-arg value="ldadmanual" />
|
|
||||||
<constructor-arg ref="manualProperties" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
|
|
@ -1,37 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
||||||
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
||||||
|
|
||||||
<bean id="manualDecoder" class="com.raytheon.edex.plugin.ldadmanual.dao.ManualDecoder"/>
|
|
||||||
<bean id="manualDatabase" class="java.lang.String">
|
|
||||||
<constructor-arg type="java.lang.String" value="metadata" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="ldadmanualDistRegistry" factory-bean="distributionSrv"
|
|
||||||
factory-method="register">
|
|
||||||
<constructor-arg value="ldadmanual" />
|
|
||||||
<constructor-arg value="jms-durable:queue:Ingest.ldadmanual"/>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<camelContext id="ldadmanual-camel"
|
|
||||||
xmlns="http://camel.apache.org/schema/spring"
|
|
||||||
errorHandlerRef="errorHandler">
|
|
||||||
|
|
||||||
<route id="ldadmanualIngestRoute">
|
|
||||||
<from uri="jms-durable:queue:Ingest.ldadmanual"/>
|
|
||||||
<doTry>
|
|
||||||
<pipeline>
|
|
||||||
<bean ref="stringToFile" />
|
|
||||||
<bean ref="manualDecoder" method="decode" />
|
|
||||||
<to uri="direct-vm:indexAlert" />
|
|
||||||
</pipeline>
|
|
||||||
<doCatch>
|
|
||||||
<exception>java.lang.Throwable</exception>
|
|
||||||
<to uri="log:ldadmanual?level=ERROR"/>
|
|
||||||
</doCatch>
|
|
||||||
</doTry>
|
|
||||||
</route>
|
|
||||||
</camelContext>
|
|
||||||
</beans>
|
|
|
@ -1,76 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadmanual.dao;
|
|
||||||
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.raytheon.edex.db.dao.DefaultPluginDao;
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginException;
|
|
||||||
import com.raytheon.uf.edex.database.DataAccessLayerException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Data access object for accessing LDAD MANUAL records in the database.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* 9/30/09 vkorolev Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class LdadManualDao extends DefaultPluginDao {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Creates a new Dao
|
|
||||||
*
|
|
||||||
* @throws PluginException
|
|
||||||
*/
|
|
||||||
public LdadManualDao(String pluginName) throws PluginException {
|
|
||||||
super(pluginName);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves an ldadMesonet report using the datauri .
|
|
||||||
*
|
|
||||||
* @param dataURI
|
|
||||||
* The dataURI to match against.
|
|
||||||
* @return The report record if it exists.
|
|
||||||
*/
|
|
||||||
public ManualLdadRecord queryByDataURI(String dataURI) {
|
|
||||||
ManualLdadRecord report = null;
|
|
||||||
List<?> obs = null;
|
|
||||||
try {
|
|
||||||
obs = queryBySingleCriteria("dataURI", dataURI);
|
|
||||||
} catch (DataAccessLayerException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
if ((obs != null) && (obs.size() > 0)) {
|
|
||||||
report = (ManualLdadRecord) obs.get(0);
|
|
||||||
}
|
|
||||||
return report;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,292 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadmanual.dao;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.FileInputStream;
|
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
import java.io.StringReader;
|
|
||||||
import java.lang.reflect.Field;
|
|
||||||
import java.lang.reflect.InvocationTargetException;
|
|
||||||
import java.lang.reflect.Method;
|
|
||||||
import java.text.ParseException;
|
|
||||||
import java.text.SimpleDateFormat;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.Date;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Properties;
|
|
||||||
import java.util.TimeZone;
|
|
||||||
|
|
||||||
import javax.measure.unit.Unit;
|
|
||||||
import javax.measure.unit.UnitFormat;
|
|
||||||
import javax.xml.bind.JAXBContext;
|
|
||||||
import javax.xml.bind.JAXBException;
|
|
||||||
import javax.xml.bind.Unmarshaller;
|
|
||||||
|
|
||||||
import com.raytheon.edex.exception.DecoderException;
|
|
||||||
import com.raytheon.edex.plugin.AbstractDecoder;
|
|
||||||
import com.raytheon.edex.plugin.IBinaryDecoder;
|
|
||||||
import com.raytheon.edex.plugin.ldad.common.DecodedData;
|
|
||||||
import com.raytheon.edex.plugin.ldad.common.LdadField;
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
|
||||||
import com.raytheon.uf.common.localization.IPathManager;
|
|
||||||
import com.raytheon.uf.common.localization.LocalizationContext;
|
|
||||||
import com.raytheon.uf.common.localization.PathManagerFactory;
|
|
||||||
import com.raytheon.uf.common.pointdata.spatial.SurfaceObsLocation;
|
|
||||||
import com.raytheon.uf.common.time.DataTime;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Decoder implementation for ldadmanual plugin.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* Sep 30, 2009 vkorolev Initial creation
|
|
||||||
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
|
||||||
* Jul 23, 2014 3410 bclement location changed to floats
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class ManualDecoder<E> extends AbstractDecoder implements IBinaryDecoder {
|
|
||||||
private String traceId = null;
|
|
||||||
|
|
||||||
public SimpleDateFormat sdf = new SimpleDateFormat("yy/MM/dd HH:mm:ss");
|
|
||||||
|
|
||||||
public File confile;
|
|
||||||
|
|
||||||
public Properties configFile = new Properties();
|
|
||||||
|
|
||||||
public void setTraceId(String id) {
|
|
||||||
traceId = id;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
*
|
|
||||||
* @see com.raytheon.edex.plugin.IBinaryDecoder#decode(byte[])
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public PluginDataObject[] decode(byte[] data) throws DecoderException {
|
|
||||||
List<PluginDataObject> retVal = new ArrayList<PluginDataObject>();
|
|
||||||
if (data != null) {
|
|
||||||
IPathManager pathMgr = PathManagerFactory.getPathManager();
|
|
||||||
LocalizationContext ctx = pathMgr.getContext(
|
|
||||||
LocalizationContext.LocalizationType.EDEX_STATIC,
|
|
||||||
LocalizationContext.LocalizationLevel.BASE);
|
|
||||||
try {
|
|
||||||
confile = pathMgr.getFile(ctx, "ldad/ldadUnitsMap.txt");
|
|
||||||
FileInputStream fis = new FileInputStream(confile);
|
|
||||||
try {
|
|
||||||
configFile.load(fis);
|
|
||||||
} finally {
|
|
||||||
fis.close();
|
|
||||||
}
|
|
||||||
} catch (FileNotFoundException e) {
|
|
||||||
logger.error(traceId
|
|
||||||
+ "Configuration Units Map file (ldadUnitsMap.txt) not found.");
|
|
||||||
} catch (Exception e) {
|
|
||||||
logger.error(traceId + e);
|
|
||||||
}
|
|
||||||
try {
|
|
||||||
JAXBContext context = JAXBContext
|
|
||||||
.newInstance(DecodedData.class);
|
|
||||||
Unmarshaller u = context.createUnmarshaller();
|
|
||||||
StringReader reader = new StringReader(new String(data));
|
|
||||||
DecodedData dd = (DecodedData) u.unmarshal(reader);
|
|
||||||
|
|
||||||
// Storage type separator
|
|
||||||
if (dd.storageType.compareTo("manual") == 0) {
|
|
||||||
// Header
|
|
||||||
logger.info("\n***********" + "fileName= " + dd.fileName
|
|
||||||
+ "**********\n" + "storageType= " + dd.storageType
|
|
||||||
+ "\n" + "type= " + dd.type + "\n" + "root= "
|
|
||||||
+ dd.root + "\n" + "source= " + dd.source + "\n"
|
|
||||||
+ "provider= " + dd.provider + "\n"
|
|
||||||
+ "missingValue= " + dd.missingValue + "\n"
|
|
||||||
+ "reportTime= " + dd.reportTime + "\n"
|
|
||||||
+ "--------------------------------------------"
|
|
||||||
+ "\n");
|
|
||||||
String missval = dd.missingValue;
|
|
||||||
// Number of records
|
|
||||||
int recnum = dd.fields.get(0).values.size();
|
|
||||||
if (recnum == 0) {
|
|
||||||
logger.info(traceId + " - No data in the file.");
|
|
||||||
retVal.clear();
|
|
||||||
return retVal.toArray(new PluginDataObject[0]);
|
|
||||||
}
|
|
||||||
// Loop through records
|
|
||||||
badRecordStartAgain: for (int i = 0; i < recnum; i++) {
|
|
||||||
ManualLdadRecord record = new ManualLdadRecord();
|
|
||||||
SurfaceObsLocation location = new SurfaceObsLocation();
|
|
||||||
record.setProviderId(dd.provider);
|
|
||||||
// record.setReportType???(dd.type));
|
|
||||||
// record.set???(dd.reportTime);
|
|
||||||
// Loop through fields
|
|
||||||
for (LdadField v : dd.fields) {
|
|
||||||
String nn = v.variableName;
|
|
||||||
String unit = v.units;
|
|
||||||
String vv = v.values.get(i);
|
|
||||||
|
|
||||||
// value filtering
|
|
||||||
if (vv.equals(missval)) {
|
|
||||||
if (nn.equals("observationTime")) {
|
|
||||||
logger.error(traceId
|
|
||||||
+ " - No Observation time was found.");
|
|
||||||
continue badRecordStartAgain;
|
|
||||||
} else {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (nn.equals("_lat")) {
|
|
||||||
float val = Float.parseFloat(vv);
|
|
||||||
location.setLatitude(val);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("_lon")) {
|
|
||||||
float val = Float.parseFloat(vv);
|
|
||||||
location.setLongitude(val);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("_elev")) {
|
|
||||||
// elevation in meter - integer in location
|
|
||||||
double dv = Double.parseDouble(vv);
|
|
||||||
int val = (int) dv;
|
|
||||||
location.setElevation(val);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("providerId")) {
|
|
||||||
location.setStationId(vv);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (nn.equals("_tz")) {
|
|
||||||
sdf.setTimeZone(TimeZone.getTimeZone(vv));
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Construct MesonetLdadRecord
|
|
||||||
this.setProperty(nn, record, vv, unit);
|
|
||||||
}
|
|
||||||
// DataTime = Observation time
|
|
||||||
Calendar ot = record.getObservationTime();
|
|
||||||
DataTime dt = new DataTime(ot);
|
|
||||||
record.setDataTime(dt);
|
|
||||||
record.setLocation(location);
|
|
||||||
retVal.add(record);
|
|
||||||
// logger.info("-------------------------------------------------------");
|
|
||||||
}
|
|
||||||
|
|
||||||
} else {
|
|
||||||
retVal.clear();
|
|
||||||
}
|
|
||||||
|
|
||||||
} catch (JAXBException e) {
|
|
||||||
logger.error(traceId + " - Unable to unmarshall xml:", e);
|
|
||||||
} catch (SecurityException e) {
|
|
||||||
logger.error(traceId + " - SecurityException:" + e);
|
|
||||||
} catch (IllegalArgumentException e) {
|
|
||||||
logger.error(traceId + " - IllegalArgumentException:" + e);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return retVal.toArray(new PluginDataObject[retVal.size()]);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set values using Java Reflect API
|
|
||||||
/**
|
|
||||||
* @param name
|
|
||||||
* @param obj
|
|
||||||
* @param value
|
|
||||||
* @return
|
|
||||||
* @throws SecurityException
|
|
||||||
* @throws NoSuchMethodException
|
|
||||||
* @throws IllegalArgumentException
|
|
||||||
* @throws IllegalAccessException
|
|
||||||
* @throws InvocationTargetException
|
|
||||||
* @throws ParseException
|
|
||||||
* @throws ClassNotFoundException
|
|
||||||
* @throws Throwable
|
|
||||||
*/
|
|
||||||
public void setProperty(String name, Object obj, String value, String vunit) {
|
|
||||||
|
|
||||||
String prop = Character.toUpperCase(name.charAt(0)) + name.substring(1);
|
|
||||||
String mname = "set" + prop;
|
|
||||||
Object val = null;
|
|
||||||
try {
|
|
||||||
@SuppressWarnings("rawtypes")
|
|
||||||
Class cls = obj.getClass();
|
|
||||||
Field fld = cls.getDeclaredField(name);
|
|
||||||
Class<?> clazz = fld.getType();
|
|
||||||
// Type filter
|
|
||||||
if (clazz == String.class) {
|
|
||||||
val = value.trim();
|
|
||||||
} else if (clazz == Calendar.class) {
|
|
||||||
Date ot = sdf.parse(value);
|
|
||||||
Calendar cal = Calendar.getInstance();
|
|
||||||
cal.setTime(ot);
|
|
||||||
val = cal;
|
|
||||||
// only numbers
|
|
||||||
} else {
|
|
||||||
Double tval = Double.parseDouble(value);
|
|
||||||
if (configFile.containsKey(vunit)) {
|
|
||||||
Unit<?> inUnit = (Unit<?>) UnitFormat.getUCUMInstance()
|
|
||||||
.parseObject(configFile.getProperty(vunit));
|
|
||||||
Unit<?> outUnit = (Unit<?>) UnitFormat.getUCUMInstance()
|
|
||||||
.parseObject(configFile.getProperty(name));
|
|
||||||
tval = inUnit.getConverterTo(outUnit).convert(
|
|
||||||
(tval).doubleValue());
|
|
||||||
}
|
|
||||||
if (clazz == Integer.class) {
|
|
||||||
val = tval.intValue();
|
|
||||||
} else if (clazz == Short.class) {
|
|
||||||
val = tval.shortValue();
|
|
||||||
} else if (clazz == Float.class) {
|
|
||||||
val = tval.floatValue();
|
|
||||||
} else {
|
|
||||||
val = tval;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Class<?> types = clazz;
|
|
||||||
Method method = obj.getClass().getMethod(mname, types);
|
|
||||||
method.invoke(obj, val);
|
|
||||||
|
|
||||||
} catch (RuntimeException e) {
|
|
||||||
logger.error(traceId + " - RuntimeException:", e);
|
|
||||||
} catch (NoSuchMethodException e) {
|
|
||||||
logger.error(traceId + " - NoSuchMethodException:", e);
|
|
||||||
} catch (NoSuchFieldException e) {
|
|
||||||
// logger.error(traceId + " - NoSuchFieldException = "+
|
|
||||||
// e.getMessage());
|
|
||||||
} catch (IllegalAccessException e) {
|
|
||||||
logger.error(traceId + " - IllegalAccessException:", e);
|
|
||||||
} catch (InvocationTargetException e) {
|
|
||||||
logger.error(traceId + " - InvocationTargetException:", e);
|
|
||||||
} catch (ParseException e) {
|
|
||||||
logger.error(traceId + " - ParseException:", e);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<purgeRuleSet>
|
|
||||||
<defaultRule>
|
|
||||||
<versionsToKeep>24</versionsToKeep>
|
|
||||||
<delta>=00-01:00:00</delta>
|
|
||||||
<round>00-01:00:00</round>
|
|
||||||
</defaultRule>
|
|
||||||
</purgeRuleSet>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<requestPatterns xmlns:ns2="group">
|
|
||||||
<regex>LDAD\.manual\.*</regex>
|
|
||||||
</requestPatterns>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,34 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.edex.plugin.ldadprofiler</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.python.pydev.PyDevBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
<nature>org.python.pydev.pythonNature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<?eclipse-pydev version="1.0"?>
|
|
||||||
|
|
||||||
<pydev_project>
|
|
||||||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.5</pydev_property>
|
|
||||||
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
|
|
||||||
</pydev_project>
|
|
|
@ -1,122 +0,0 @@
|
||||||
##
|
|
||||||
# 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.
|
|
||||||
##
|
|
||||||
import sys, os, time, re, string, getopt
|
|
||||||
import copy
|
|
||||||
import LogStream
|
|
||||||
import pupynere
|
|
||||||
from com.raytheon.uf.common.pointdata.spatial import SurfaceObsLocation
|
|
||||||
from java.lang import Double
|
|
||||||
from java.lang import Integer
|
|
||||||
from com.raytheon.edex.plugin.ldadprofiler.common import ProfilerLdadLevel
|
|
||||||
|
|
||||||
typeMap = { 'd' : 'DOUBLE', 'f' : 'FLOAT',
|
|
||||||
'i' : 'INT', 'c' : 'CHAR',
|
|
||||||
's' : 'STRING', 'h' : 'INT' }
|
|
||||||
|
|
||||||
excludeVars = ('time', 'validTimeList', 'nStaticIds', 'inventory', 'globalInventory', 'firstInBin', 'lastInBin', 'lastRecord', 'staticIds','prevRecord', 'firstOverflow', 'isOverflow')
|
|
||||||
|
|
||||||
class LdadprofilerDecoder():
|
|
||||||
|
|
||||||
def __init__(self, text=None, filePath=None):
|
|
||||||
|
|
||||||
#self._parameters = ['height','wdir_tru','wspd_k','v','vconf','u','uconf','w','wconf']
|
|
||||||
#self._mappings = ['levelHeight','windDir', 'windSpeed','vcWind','ucWind','wcWind']
|
|
||||||
|
|
||||||
|
|
||||||
#to ensure time calls are based on Zulu
|
|
||||||
os.environ['TZ'] = "GMT0"
|
|
||||||
|
|
||||||
self._deleteAfterProcessing = 0
|
|
||||||
if filePath is None:
|
|
||||||
self._incomingFilename = None
|
|
||||||
else:
|
|
||||||
self._incomingFilename = filePath
|
|
||||||
|
|
||||||
def decode(self):
|
|
||||||
LogStream.logEvent("<<<<<<<<<<<<<<<<<<<<<<<<<<<<LdadProfilerDecoder is working>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
|
||||||
fillValue = None
|
|
||||||
missing = None
|
|
||||||
reportType = 3000
|
|
||||||
ldadprofilerReports = list()
|
|
||||||
net = pupynere.netcdf_file(self._incomingFilename,"r")
|
|
||||||
records = net._recs
|
|
||||||
location = SurfaceObsLocation()
|
|
||||||
lat = Double.valueOf(str(net.variables['lat'].getValue()))
|
|
||||||
lon = Double.valueOf(str(net.variables['lon'].getValue()))
|
|
||||||
elv = Double.valueOf(str(net.variables['alt'].getValue()))
|
|
||||||
location.assignLocation(lat.doubleValue(), lon.doubleValue());
|
|
||||||
location.setElevation(Integer(elv.intValue()));
|
|
||||||
location.setStationId(net._attributes['site_acronym'])
|
|
||||||
for x in range(records):
|
|
||||||
reportTime = net.variables['start_time_offset'][x] + net.variables['base_time'].getValue()
|
|
||||||
#obsPeriod = net.variables['end_time_offset'][x]-net.variables['start_time_offset'][x]
|
|
||||||
ldadprofilerReport = dict()
|
|
||||||
levels = list()
|
|
||||||
for y in range(net.dimensions['gate']):
|
|
||||||
level = ProfilerLdadLevel()
|
|
||||||
height = Double.valueOf(str(net.variables['height'][x][y]))
|
|
||||||
level.setLevelHeight(Integer(height.intValue()))
|
|
||||||
level.setWindSpeed(Double.valueOf(str(net.variables['wspd_k'][x][y])))
|
|
||||||
level.setWindDir(Double.valueOf(str(net.variables['wdir_tru'][x][y])))
|
|
||||||
level.setUcWind(Double.valueOf(str(net.variables['u'][x][y])))
|
|
||||||
level.setVcWind(Double.valueOf(str(net.variables['v'][x][y])))
|
|
||||||
level.setWcWind(Double.valueOf(str(net.variables['w'][x][y])))
|
|
||||||
level.setUconf(Double.valueOf(str(net.variables['uconf'][x][y])))
|
|
||||||
level.setVconf(Double.valueOf(str(net.variables['vconf'][x][y])))
|
|
||||||
level.setWconf(Double.valueOf(str(net.variables['wconf'][x][y])))
|
|
||||||
levels.append(level)
|
|
||||||
ldadprofilerReport['location'] = location
|
|
||||||
ldadprofilerReport['base_time'] = int(net.variables['base_time'].getValue())
|
|
||||||
ldadprofilerReport['start_time_offset']= Double.valueOf(str(net.variables['start_time_offset'][x]))
|
|
||||||
ldadprofilerReport['end_time_offset']= Double.valueOf(str(net.variables['end_time_offset'][x]))
|
|
||||||
ldadprofilerReport['timeObs'] = long(reportTime)
|
|
||||||
ldadprofilerReport['dataTime'] = ldadprofilerReport['timeObs']
|
|
||||||
ldadprofilerReport['nhts']= int(net.variables['nhts'][x])
|
|
||||||
ldadprofilerReport['reportType']=reportType
|
|
||||||
ldadprofilerReport['stationName']=net._attributes['sensor_site']
|
|
||||||
ldadprofilerReport['levels'] = levels
|
|
||||||
ldadprofilerReports.append(ldadprofilerReport)
|
|
||||||
net.close()
|
|
||||||
return ldadprofilerReports
|
|
||||||
|
|
||||||
|
|
||||||
def _usage(self):
|
|
||||||
#Prints out usage information if started without sufficient command
|
|
||||||
#line arguments.
|
|
||||||
s = "This tool is not meant to be run from the command line."
|
|
||||||
print s
|
|
||||||
LogStream.logProblem(s)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
try:
|
|
||||||
LogStream.logEvent("LdadProfilerDecoder Starting")
|
|
||||||
decoder = LdadprofilerDecoder()
|
|
||||||
decoder.decode()
|
|
||||||
decoder = None
|
|
||||||
LogStream.logEvent("LdadProfilerDecoder Finished")
|
|
||||||
except:
|
|
||||||
LogStream.logProblem("Caught Exception: ", LogStream.exc())
|
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
||||||
sys.exit(0)
|
|
|
@ -1,19 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldadprofiler Plug-in
|
|
||||||
Bundle-SymbolicName: com.raytheon.edex.plugin.ldadprofiler
|
|
||||||
Bundle-Version: 1.12.1174.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Require-Bundle: com.raytheon.edex.common;bundle-version="1.11.13",
|
|
||||||
javax.persistence;bundle-version="1.0.0",
|
|
||||||
javax.measure;bundle-version="1.0.0",
|
|
||||||
org.geotools;bundle-version="2.5.2",
|
|
||||||
com.raytheon.uf.common.localization;bundle-version="1.11.13",
|
|
||||||
com.raytheon.edex.plugin.ldad;bundle-version="1.0.0",
|
|
||||||
com.raytheon.uf.common.pointdata;bundle-version="1.11.17",
|
|
||||||
com.raytheon.uf.edex.pointdata
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
|
||||||
Export-Package: com.raytheon.edex.plugin.ldadprofiler.common,
|
|
||||||
com.raytheon.edex.plugin.ldadprofiler.dao
|
|
||||||
Import-Package: com.raytheon.uf.common.status,
|
|
||||||
org.apache.commons.logging
|
|
|
@ -1,2 +0,0 @@
|
||||||
com.raytheon.edex.plugin.ldadprofiler.common.ProfilerLdadObs
|
|
||||||
com.raytheon.edex.plugin.ldadprofiler.common.ProfilerLdadLevel
|
|
|
@ -1,7 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
res/,\
|
|
||||||
LdadprofilerDecoder.py
|
|
||||||
|
|
|
@ -1,35 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<pointDataDescription>
|
|
||||||
<dimension name="gate" length="40"/>
|
|
||||||
<dimension name="time" length="90"/>
|
|
||||||
<parameter name="nhts" numDims="1" type="INT" unit="unknown" />
|
|
||||||
<!-- Level data -->
|
|
||||||
<parameter name="levelHeight" numDims="2" type="FLOAT" unit="meters" />
|
|
||||||
<parameter name="ucWind" numDims="2" type="FLOAT" unit="m/s" />
|
|
||||||
<parameter name="uconf" numDims="2" type="FLOAT" unit="unknown" />
|
|
||||||
<parameter name="vcWind" numDims="2" type="FLOAT" unit="m/s" />
|
|
||||||
<parameter name="vconf" numDims="2" type="FLOAT" unit="unknown" />
|
|
||||||
<parameter name="wcWind" numDims="2" type="FLOAT" unit="m/s" />
|
|
||||||
<parameter name="wconf" numDims="2" type="FLOAT" unit="unknown" />
|
|
||||||
<parameter name="windDir" numDims="2" type="FLOAT" unit="degrees" />
|
|
||||||
<parameter name="windSpeed" numDims="2" type="FLOAT" unit="knots" />
|
|
||||||
</pointDataDescription>
|
|
|
@ -1,21 +0,0 @@
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
||||||
|
|
||||||
<bean id="ldadprofilerPluginName" class="java.lang.String">
|
|
||||||
<constructor-arg type="java.lang.String" value="ldadprofiler" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="ldadprofilerProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
|
|
||||||
<property name="pluginName" ref="ldadprofilerPluginName" />
|
|
||||||
<property name="pluginFQN" value="com.raytheon.edex.plugin.ldadprofiler" />
|
|
||||||
<property name="dao" value="com.raytheon.edex.plugin.ldadprofiler.dao.LdadProfilerDao" />
|
|
||||||
<property name="record" value="com.raytheon.edex.plugin.ldadprofiler.common.ProfilerLdadObs" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean factory-bean="pluginRegistry" factory-method="register">
|
|
||||||
<constructor-arg value="ldadprofiler"/>
|
|
||||||
<constructor-arg ref="ldadprofilerProperties"/>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
|
|
@ -1,55 +0,0 @@
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
|
|
||||||
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
||||||
|
|
||||||
<bean id="ldadprofilerPointData" class="com.raytheon.edex.plugin.ldadprofiler.common.LdadprofilerPointDataTransform"/>
|
|
||||||
|
|
||||||
<bean id="ldadprofilerDecoder" class="com.raytheon.uf.edex.python.decoder.PythonDecoder">
|
|
||||||
<property name="pluginName" value="ldadprofiler" />
|
|
||||||
<property name="pluginFQN" value="com.raytheon.edex.plugin.ldadprofiler" />
|
|
||||||
<property name="moduleName" value="LdadprofilerDecoder" />
|
|
||||||
<property name="recordClassname"
|
|
||||||
value="com.raytheon.edex.plugin.ldadprofiler.common.ProfilerLdadObs" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean id="ldadprofilerDistRegistry" factory-bean="distributionSrv"
|
|
||||||
factory-method="register">
|
|
||||||
<constructor-arg value="ldadprofiler" />
|
|
||||||
<constructor-arg value="jms-durable:queue:Ingest.ldadprofiler"/>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<camelContext id="ldadprofiler-camel"
|
|
||||||
xmlns="http://camel.apache.org/schema/spring"
|
|
||||||
errorHandlerRef="errorHandler">
|
|
||||||
<!--
|
|
||||||
<endpoint id="ldadprofilerFileEndpoint" uri="file:${edex.home}/data/sbn/ldadprofiler?noop=true" />
|
|
||||||
|
|
||||||
<route id="ldadprofilerFileConsumerRoute">
|
|
||||||
<from ref="ldadprofilerFileEndpoint" />
|
|
||||||
<bean ref="fileToString" />
|
|
||||||
<setHeader headerName="pluginName">
|
|
||||||
<constant>ldadprofiler</constant>
|
|
||||||
</setHeader>
|
|
||||||
<to uri="jms-durable:queue:Ingest.ldadprofiler" />
|
|
||||||
</route>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<!-- Begin ldadprofiler routes -->
|
|
||||||
<route id="ldadprofilerIngestRoute">
|
|
||||||
<from uri="jms-durable:queue:Ingest.ldadprofiler"/>
|
|
||||||
<doTry>
|
|
||||||
<pipeline>
|
|
||||||
<bean ref="stringToFile" />
|
|
||||||
<bean ref="ldadprofilerDecoder" method="decode"/>
|
|
||||||
<bean ref="ldadprofilerPointData" method="toPointData" />
|
|
||||||
<to uri="direct-vm:persistIndexAlert" />
|
|
||||||
</pipeline>
|
|
||||||
<doCatch>
|
|
||||||
<exception>java.lang.Throwable</exception>
|
|
||||||
<to uri="log:ldadprofiler?level=ERROR"/>
|
|
||||||
</doCatch>
|
|
||||||
</doTry>
|
|
||||||
</route>
|
|
||||||
</camelContext>
|
|
||||||
</beans>
|
|
|
@ -1,192 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadprofiler.common;
|
|
||||||
|
|
||||||
import java.io.File;
|
|
||||||
import java.io.InputStream;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
|
||||||
import org.apache.commons.logging.LogFactory;
|
|
||||||
|
|
||||||
import com.raytheon.edex.plugin.ldadprofiler.dao.LdadProfilerDao;
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
|
||||||
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.common.serialization.SerializationException;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Provides a transform from Ldadprofiler Records to PointDataContainer and vice
|
|
||||||
* versa.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* Oct 29, 2009 vkorolev Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1.0
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class LdadprofilerPointDataTransform {
|
|
||||||
|
|
||||||
// private static final String BASE_TIME = "base_time";
|
|
||||||
//
|
|
||||||
// private static final String START_TIME_OFFSET = "start_time_offset";
|
|
||||||
//
|
|
||||||
// private static final String END_TIME_OFFSET = "end_time_offset";
|
|
||||||
|
|
||||||
private static final String HEIGHTS_NUM = "nhts";
|
|
||||||
|
|
||||||
private static final String LEVEL_HEIGHT = "levelHeight";
|
|
||||||
|
|
||||||
private static final String WIND_SPEED = "windSpeed";
|
|
||||||
|
|
||||||
private static final String WIND_DIR = "windDir";
|
|
||||||
|
|
||||||
private static final String UC_WIND = "ucWind";
|
|
||||||
|
|
||||||
private static final String VC_WIND = "vcWind";
|
|
||||||
|
|
||||||
private static final String WC_WIND = "wcWind";
|
|
||||||
|
|
||||||
private static final String U_CONF = "uconf";
|
|
||||||
|
|
||||||
private static final String V_CONF = "vconf";
|
|
||||||
|
|
||||||
private static final String W_CONF = "wconf";
|
|
||||||
|
|
||||||
// private static final String REPORT_TYPE = "reportType";
|
|
||||||
//
|
|
||||||
// private static final String TIME_OBS = "timeObs";
|
|
||||||
//
|
|
||||||
// private static final String LONGITUDE = "longitude";
|
|
||||||
//
|
|
||||||
// private static final String LATITUDE = "latitude";
|
|
||||||
//
|
|
||||||
// private static final String STATION_NAME = "stationName";
|
|
||||||
//
|
|
||||||
// private static final String DATAURI = "dataURI";
|
|
||||||
//
|
|
||||||
// private static final String ELEVATION = "elevation";
|
|
||||||
|
|
||||||
private LdadProfilerDao dao;
|
|
||||||
|
|
||||||
private PointDataDescription pdd;
|
|
||||||
|
|
||||||
private Log logger = LogFactory.getLog(getClass());
|
|
||||||
|
|
||||||
public LdadprofilerPointDataTransform() {
|
|
||||||
|
|
||||||
try {
|
|
||||||
this.pdd = getDescription("ldadprofiler");
|
|
||||||
this.dao = new LdadProfilerDao("ldadprofiler");
|
|
||||||
logger.info("=============PointDataDescription loaded==============");
|
|
||||||
} catch (Exception e) {
|
|
||||||
// TODO Auto-generated catch block
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public PluginDataObject[] toPointData(PluginDataObject[] pdo) {
|
|
||||||
if (pdo.length > 0) {
|
|
||||||
Map<File, PointDataContainer> pointMap = new HashMap<File, PointDataContainer>();
|
|
||||||
|
|
||||||
for (PluginDataObject p : pdo) {
|
|
||||||
if (!(p instanceof ProfilerLdadObs))
|
|
||||||
continue;
|
|
||||||
File f = this.dao.getFullFilePath(p);
|
|
||||||
PointDataContainer pdc = pointMap.get(f);
|
|
||||||
if (pdc == null) {
|
|
||||||
pdc = PointDataContainer.build(this.pdd);
|
|
||||||
pointMap.put(f, pdc);
|
|
||||||
}
|
|
||||||
|
|
||||||
ProfilerLdadObs ldadr = (ProfilerLdadObs) p;
|
|
||||||
PointDataView pdv = buildView(pdc, ldadr);
|
|
||||||
ldadr.setPointDataView(pdv);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return pdo;
|
|
||||||
}
|
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private PointDataView buildView(PointDataContainer container,
|
|
||||||
ProfilerLdadObs record) {
|
|
||||||
PointDataView pdv = container.append();
|
|
||||||
|
|
||||||
pdv.setInt(HEIGHTS_NUM, record.getNhts());
|
|
||||||
if (record.getLevels() != null) {
|
|
||||||
Iterator lvlIterator = record.getLevels().iterator();
|
|
||||||
int i = 0;
|
|
||||||
while (lvlIterator.hasNext()) {
|
|
||||||
ProfilerLdadLevel lvl = (ProfilerLdadLevel) lvlIterator.next();
|
|
||||||
if (lvl.getLevelHeight() != null) {
|
|
||||||
pdv.setInt(LEVEL_HEIGHT, lvl.getLevelHeight(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getWindSpeed() != null) {
|
|
||||||
pdv.setFloat(WIND_SPEED, lvl.getWindSpeed().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getWindDir() != null) {
|
|
||||||
pdv.setFloat(WIND_DIR, lvl.getWindDir().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getUcWind() != null) {
|
|
||||||
pdv.setFloat(UC_WIND, lvl.getUcWind().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getVcWind() != null) {
|
|
||||||
pdv.setFloat(VC_WIND, lvl.getVcWind().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getWcWind() != null) {
|
|
||||||
pdv.setFloat(WC_WIND, lvl.getWcWind().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getUconf() != null) {
|
|
||||||
pdv.setFloat(U_CONF, lvl.getUconf().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getVconf() != null) {
|
|
||||||
pdv.setFloat(V_CONF, lvl.getVconf().floatValue(), i);
|
|
||||||
}
|
|
||||||
if (lvl.getWconf() != null) {
|
|
||||||
pdv.setFloat(W_CONF, lvl.getWconf().floatValue(), i);
|
|
||||||
}
|
|
||||||
i++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return pdv;
|
|
||||||
}
|
|
||||||
|
|
||||||
private PointDataDescription getDescription(String type)
|
|
||||||
throws SerializationException {
|
|
||||||
InputStream is = this.getClass().getResourceAsStream(
|
|
||||||
"/res/pointdata/" + type + ".xml");
|
|
||||||
if (is == null) {
|
|
||||||
throw new RuntimeException("Cannot find descriptor for: " + type);
|
|
||||||
}
|
|
||||||
return PointDataDescription.fromStream(is);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,283 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadprofiler.common;
|
|
||||||
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.GeneratedValue;
|
|
||||||
import javax.persistence.Id;
|
|
||||||
import javax.persistence.JoinColumn;
|
|
||||||
import javax.persistence.ManyToOne;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
|
||||||
|
|
||||||
import com.raytheon.uf.common.serialization.ISerializableObject;
|
|
||||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
|
||||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* ProfilerLdadLevel contains the data for a single vertical level observation.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* ate Ticket# Engineer Description
|
|
||||||
* ----------- ---------- ----------- --------------------------
|
|
||||||
* 10/14/09 vkorolev Initial creation
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
@DynamicSerialize
|
|
||||||
@XmlAccessorType(XmlAccessType.NONE)
|
|
||||||
public class ProfilerLdadLevel implements Serializable, ISerializableObject{
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
/** The primary key for the database table * */
|
|
||||||
@Id
|
|
||||||
@GeneratedValue
|
|
||||||
private Integer key;
|
|
||||||
|
|
||||||
// Vertical Gate Height meters
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Integer levelHeight;
|
|
||||||
|
|
||||||
|
|
||||||
// U (toward east) component of wind "m/s"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double ucWind;
|
|
||||||
|
|
||||||
// U confidence 0.0-1.0
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double uconf;
|
|
||||||
|
|
||||||
// V (toward north) component of wind "m/s"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double vcWind;
|
|
||||||
|
|
||||||
// V confidence 0.0-1.0
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double vconf;
|
|
||||||
|
|
||||||
// W (upward) component of wind "m/s"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double wcWind;
|
|
||||||
|
|
||||||
// W confidence 0.0-1.0
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double wconf;
|
|
||||||
|
|
||||||
// wind speed "knots"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double windSpeed;
|
|
||||||
|
|
||||||
// wind direction (true) "degrees"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
Double windDir;
|
|
||||||
|
|
||||||
@ManyToOne
|
|
||||||
@JoinColumn(name = "parentLdadprofiler", nullable = false)
|
|
||||||
private ProfilerLdadObs parentLdadprofiler;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the ucWind
|
|
||||||
*/
|
|
||||||
public Double getUcWind() {
|
|
||||||
return ucWind;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param ucWind the ucWind to set
|
|
||||||
*/
|
|
||||||
public void setUcWind(Double ucWind) {
|
|
||||||
this.ucWind = ucWind;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the uconf
|
|
||||||
*/
|
|
||||||
public Double getUconf() {
|
|
||||||
return uconf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param uconf the uconf to set
|
|
||||||
*/
|
|
||||||
public void setUconf(Double uconf) {
|
|
||||||
this.uconf = uconf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the vcWind
|
|
||||||
*/
|
|
||||||
public Double getVcWind() {
|
|
||||||
return vcWind;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param vcWind the vcWind to set
|
|
||||||
*/
|
|
||||||
public void setVcWind(Double vcWind) {
|
|
||||||
this.vcWind = vcWind;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the vconf
|
|
||||||
*/
|
|
||||||
public Double getVconf() {
|
|
||||||
return vconf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param vconf the vconf to set
|
|
||||||
*/
|
|
||||||
public void setVconf(Double vconf) {
|
|
||||||
this.vconf = vconf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the wcWind
|
|
||||||
*/
|
|
||||||
public Double getWcWind() {
|
|
||||||
return wcWind;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param wcWind the wcWind to set
|
|
||||||
*/
|
|
||||||
public void setWcWind(Double wcWind) {
|
|
||||||
this.wcWind = wcWind;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the wconf
|
|
||||||
*/
|
|
||||||
public Double getWconf() {
|
|
||||||
return wconf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param wconf the wconf to set
|
|
||||||
*/
|
|
||||||
public void setWconf(Double wconf) {
|
|
||||||
this.wconf = wconf;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the windSpeed
|
|
||||||
*/
|
|
||||||
public Double getWindSpeed() {
|
|
||||||
return windSpeed;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param windSpeed the windSpeed to set
|
|
||||||
*/
|
|
||||||
public void setWindSpeed(Double windSpeed) {
|
|
||||||
this.windSpeed = windSpeed;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the windDir
|
|
||||||
*/
|
|
||||||
public Double getWindDir() {
|
|
||||||
return windDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param windDir the windDir to set
|
|
||||||
*/
|
|
||||||
public void setWindDir(Double windDir) {
|
|
||||||
this.windDir = windDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the levelHeight
|
|
||||||
*/
|
|
||||||
public Integer getLevelHeight() {
|
|
||||||
return levelHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param levelHeight the levelHeight to set
|
|
||||||
*/
|
|
||||||
public void setLevelHeight(Integer levelHeight) {
|
|
||||||
this.levelHeight = levelHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param key the key to set
|
|
||||||
*/
|
|
||||||
public void setKey(Integer key) {
|
|
||||||
this.key = key;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the key
|
|
||||||
*/
|
|
||||||
public Integer getKey() {
|
|
||||||
return key;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param parentLdadprofiler the parentLdadprofiler to set
|
|
||||||
*/
|
|
||||||
public void setParentLdadprofiler(ProfilerLdadObs parentLdadprofiler) {
|
|
||||||
this.parentLdadprofiler = parentLdadprofiler;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the parentLdadprofiler
|
|
||||||
*/
|
|
||||||
public ProfilerLdadObs getParentLdadprofiler() {
|
|
||||||
return parentLdadprofiler;
|
|
||||||
}
|
|
||||||
|
|
||||||
//---------------------------------------------------------
|
|
||||||
/**
|
|
||||||
* Construct an empty instance.
|
|
||||||
*/
|
|
||||||
public ProfilerLdadLevel() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,344 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadprofiler.common;
|
|
||||||
|
|
||||||
import java.util.Calendar;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import javax.persistence.Access;
|
|
||||||
import javax.persistence.AccessType;
|
|
||||||
import javax.persistence.Column;
|
|
||||||
import javax.persistence.Embedded;
|
|
||||||
import javax.persistence.Entity;
|
|
||||||
import javax.persistence.SequenceGenerator;
|
|
||||||
import javax.persistence.Table;
|
|
||||||
import javax.persistence.Transient;
|
|
||||||
import javax.persistence.UniqueConstraint;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessType;
|
|
||||||
import javax.xml.bind.annotation.XmlAccessorType;
|
|
||||||
import javax.xml.bind.annotation.XmlAttribute;
|
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
|
||||||
import javax.xml.bind.annotation.XmlRootElement;
|
|
||||||
|
|
||||||
import org.hibernate.annotations.Index;
|
|
||||||
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginDataObject;
|
|
||||||
import com.raytheon.uf.common.dataplugin.annotations.DataURI;
|
|
||||||
import com.raytheon.uf.common.dataplugin.persist.IPersistable;
|
|
||||||
import com.raytheon.uf.common.dataplugin.persist.PersistablePluginDataObject;
|
|
||||||
import com.raytheon.uf.common.pointdata.IPointData;
|
|
||||||
import com.raytheon.uf.common.pointdata.PointDataView;
|
|
||||||
import com.raytheon.uf.common.pointdata.spatial.SurfaceObsLocation;
|
|
||||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerialize;
|
|
||||||
import com.raytheon.uf.common.serialization.annotations.DynamicSerializeElement;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Record implementation for ldadprofiler plugin.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------- -------- ----------- --------------------------
|
|
||||||
* Oct 07, 2009 vkorolev Initial creation
|
|
||||||
* Apr 04, 2013 1846 bkowal Added an index on refTime and
|
|
||||||
* forecastTime
|
|
||||||
* Apr 12, 2013 1857 bgonzale Added SequenceGenerator annotation.
|
|
||||||
* May 07, 2013 1869 bsteffen Remove dataURI column from
|
|
||||||
* PluginDataObject.
|
|
||||||
* Aug 30, 2013 2298 rjpeter Make getPluginName abstract
|
|
||||||
* Jun 11, 2014 2061 bsteffen Remove IDecoderGettable
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
@Entity
|
|
||||||
@SequenceGenerator(initialValue = 1, name = PluginDataObject.ID_GEN, sequenceName = "ldadprofilerseq")
|
|
||||||
@Table(name = "ldadprofiler", uniqueConstraints = { @UniqueConstraint(columnNames = { "dataURI" }) })
|
|
||||||
/*
|
|
||||||
* Both refTime and forecastTime are included in the refTimeIndex since
|
|
||||||
* forecastTime is unlikely to be used.
|
|
||||||
*/
|
|
||||||
@org.hibernate.annotations.Table(appliesTo = "ldadprofiler", indexes = { @Index(name = "ldadprofiler_refTimeIndex", columnNames = {
|
|
||||||
"refTime", "forecastTime" }) })
|
|
||||||
@XmlRootElement
|
|
||||||
@XmlAccessorType(XmlAccessType.NONE)
|
|
||||||
@DynamicSerialize
|
|
||||||
public class ProfilerLdadObs extends PersistablePluginDataObject implements
|
|
||||||
IPointData, IPersistable {
|
|
||||||
|
|
||||||
public static final String PLUGIN_NAME = "ldadprofiler";
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
|
|
||||||
private static final String PRESS = "PRESS";
|
|
||||||
|
|
||||||
private static final String AGL = "AGL";
|
|
||||||
|
|
||||||
public static final String PRESS_PARAM_PTRN = ".*:" + PRESS + "=\\d{2,4}";
|
|
||||||
|
|
||||||
public static final String AGL_PARAM_PTRN = ".*:" + AGL + "=\\d{2,4}";
|
|
||||||
|
|
||||||
@Transient
|
|
||||||
private String parameterName = null;
|
|
||||||
|
|
||||||
@DataURI(position = 1)
|
|
||||||
@XmlAttribute
|
|
||||||
@DynamicSerializeElement
|
|
||||||
private Integer reportType;
|
|
||||||
|
|
||||||
// Location
|
|
||||||
@Embedded
|
|
||||||
@DataURI(position = 2, embedded = true)
|
|
||||||
@XmlElement
|
|
||||||
@DynamicSerializeElement
|
|
||||||
private SurfaceObsLocation location; // latitude, longitude, elevation,
|
|
||||||
|
|
||||||
// stationId
|
|
||||||
|
|
||||||
// Base time in Epoch "seconds since 1970-01-01 00:00:00 UTC"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
int base_time;
|
|
||||||
|
|
||||||
// Consensus start time offset from base_time
|
|
||||||
// "seconds since 2009/10/07 00:00:00 UTC"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
double start_time_offset;
|
|
||||||
|
|
||||||
// Consensus end time offset from base_time
|
|
||||||
// "seconds since 2009/10/07 00:00:00 UTC"
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
double end_time_offset;
|
|
||||||
|
|
||||||
// nhts Number of heights?
|
|
||||||
@Column
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@XmlElement
|
|
||||||
int nhts;
|
|
||||||
|
|
||||||
// the level data
|
|
||||||
@XmlElement
|
|
||||||
@DynamicSerializeElement
|
|
||||||
@Transient
|
|
||||||
private List<ProfilerLdadLevel> levels;
|
|
||||||
|
|
||||||
// The profiler observation time.
|
|
||||||
@Column
|
|
||||||
@XmlAttribute
|
|
||||||
@DynamicSerializeElement
|
|
||||||
private Calendar timeObs;
|
|
||||||
|
|
||||||
@Column
|
|
||||||
@XmlAttribute
|
|
||||||
@DynamicSerializeElement
|
|
||||||
private String stationName;
|
|
||||||
|
|
||||||
@Embedded
|
|
||||||
@DynamicSerializeElement
|
|
||||||
private PointDataView pointDataView;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the base_time
|
|
||||||
*/
|
|
||||||
public int getBase_time() {
|
|
||||||
return base_time;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param base_time
|
|
||||||
* the base_time to set
|
|
||||||
*/
|
|
||||||
public void setBase_time(int base_time) {
|
|
||||||
this.base_time = base_time;
|
|
||||||
}
|
|
||||||
|
|
||||||
public Calendar getTimeObs() {
|
|
||||||
return timeObs;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTimeObs(Calendar timeObs) {
|
|
||||||
this.timeObs = timeObs;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the start_time_offset
|
|
||||||
*/
|
|
||||||
public double getStart_time_offset() {
|
|
||||||
return start_time_offset;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param start_time_offset
|
|
||||||
* the start_time_offset to set
|
|
||||||
*/
|
|
||||||
public void setStart_time_offset(double start_time_offset) {
|
|
||||||
this.start_time_offset = start_time_offset;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the end_time_offset
|
|
||||||
*/
|
|
||||||
public double getEnd_time_offset() {
|
|
||||||
return end_time_offset;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param end_time_offset
|
|
||||||
* the end_time_offset to set
|
|
||||||
*/
|
|
||||||
public void setEnd_time_offset(double end_time_offset) {
|
|
||||||
this.end_time_offset = end_time_offset;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the nhts
|
|
||||||
*/
|
|
||||||
public int getNhts() {
|
|
||||||
return nhts;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param nhts
|
|
||||||
* the nhts to set
|
|
||||||
*/
|
|
||||||
public void setNhts(int nhts) {
|
|
||||||
this.nhts = nhts;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the levels
|
|
||||||
*/
|
|
||||||
public List<ProfilerLdadLevel> getLevels() {
|
|
||||||
return levels;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param levels
|
|
||||||
* the levels to set
|
|
||||||
*/
|
|
||||||
public void setLevels(List<ProfilerLdadLevel> levels) {
|
|
||||||
this.levels = levels;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the pointDataView
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public PointDataView getPointDataView() {
|
|
||||||
return pointDataView;
|
|
||||||
}
|
|
||||||
|
|
||||||
public ProfilerLdadObs() {
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param pointDataView
|
|
||||||
* the pointDataView to set
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public void setPointDataView(PointDataView pointDataView) {
|
|
||||||
this.pointDataView = pointDataView;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ----------------------------------------------------
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param location
|
|
||||||
* the location to set
|
|
||||||
*/
|
|
||||||
public void setLocation(SurfaceObsLocation location) {
|
|
||||||
this.location = location;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the location
|
|
||||||
*/
|
|
||||||
public SurfaceObsLocation getLocation() {
|
|
||||||
return location;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param stationName
|
|
||||||
* the stationName to set
|
|
||||||
*/
|
|
||||||
public void setStationName(String stationName) {
|
|
||||||
this.stationName = stationName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the stationName
|
|
||||||
*/
|
|
||||||
public String getStationName() {
|
|
||||||
return stationName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param parameterName
|
|
||||||
* the parameterName to set
|
|
||||||
*/
|
|
||||||
public void setParameterName(String parameterName) {
|
|
||||||
this.parameterName = parameterName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the parameterName
|
|
||||||
*/
|
|
||||||
public String getParameterName() {
|
|
||||||
return parameterName;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param reportType
|
|
||||||
* the reportType to set
|
|
||||||
*/
|
|
||||||
public void setReportType(Integer reportType) {
|
|
||||||
this.reportType = reportType;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the reportType
|
|
||||||
*/
|
|
||||||
public Integer getReportType() {
|
|
||||||
return reportType;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
@Column
|
|
||||||
@Access(AccessType.PROPERTY)
|
|
||||||
public String getDataURI() {
|
|
||||||
return super.getDataURI();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getPluginName() {
|
|
||||||
return PLUGIN_NAME;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,90 +0,0 @@
|
||||||
/**
|
|
||||||
* 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.edex.plugin.ldadprofiler.dao;
|
|
||||||
|
|
||||||
import java.sql.SQLException;
|
|
||||||
import java.util.List;
|
|
||||||
|
|
||||||
import com.raytheon.edex.plugin.ldadprofiler.common.ProfilerLdadObs;
|
|
||||||
import com.raytheon.uf.common.dataplugin.PluginException;
|
|
||||||
import com.raytheon.uf.edex.database.DataAccessLayerException;
|
|
||||||
import com.raytheon.uf.edex.pointdata.PointDataPluginDao;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Data access object for accessing LDAD Profiler records in the database.
|
|
||||||
*
|
|
||||||
* <pre>
|
|
||||||
*
|
|
||||||
* SOFTWARE HISTORY
|
|
||||||
*
|
|
||||||
* Date Ticket# Engineer Description
|
|
||||||
* ------------ ---------- ----------- --------------------------
|
|
||||||
* 10/07/09 vkorolev Initial creation
|
|
||||||
*
|
|
||||||
* </pre>
|
|
||||||
*
|
|
||||||
* @author vkorolev
|
|
||||||
* @version 1
|
|
||||||
*/
|
|
||||||
|
|
||||||
public class LdadProfilerDao extends PointDataPluginDao<ProfilerLdadObs> {
|
|
||||||
|
|
||||||
public LdadProfilerDao(String pluginName) throws PluginException {
|
|
||||||
super(pluginName);
|
|
||||||
}
|
|
||||||
|
|
||||||
public LdadProfilerDao() throws PluginException, SQLException {
|
|
||||||
this("ldadprofiler");
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @param dataURI
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
public ProfilerLdadObs queryByDataURI(String dataURI) {
|
|
||||||
ProfilerLdadObs report = null;
|
|
||||||
List<?> obs = null;
|
|
||||||
try {
|
|
||||||
obs = queryBySingleCriteria("dataURI", dataURI);
|
|
||||||
} catch (DataAccessLayerException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
if ((obs != null) && (obs.size() > 0)) {
|
|
||||||
report = (ProfilerLdadObs) obs.get(0);
|
|
||||||
}
|
|
||||||
return report;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String[] getKeysRequiredForFileName() {
|
|
||||||
return new String[] { "dataTime.refTime" };
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public String getPointDataFileName(ProfilerLdadObs p) {
|
|
||||||
return "ldadprofiler.h5";
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public ProfilerLdadObs newObject() {
|
|
||||||
return new ProfilerLdadObs();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<purgeRuleSet>
|
|
||||||
<defaultRule>
|
|
||||||
<versionsToKeep>24</versionsToKeep>
|
|
||||||
<delta>=00-01:00:00</delta>
|
|
||||||
<round>00-01:00:00</round>
|
|
||||||
</defaultRule>
|
|
||||||
</purgeRuleSet>
|
|
|
@ -1,23 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<requestPatterns xmlns:ns2="group">
|
|
||||||
<regex>LDAD\.profiler\.*</regex>
|
|
||||||
</requestPatterns>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.uf.common.dataplugin.ldadhydro</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,21 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldadhydro
|
|
||||||
Bundle-SymbolicName: com.raytheon.uf.common.dataplugin.ldadhydro
|
|
||||||
Bundle-Version: 1.14.0.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
|
||||||
Import-Package: com.raytheon.uf.common.dataplugin,
|
|
||||||
com.raytheon.uf.common.dataplugin.annotations,
|
|
||||||
com.raytheon.uf.common.dataplugin.persist,
|
|
||||||
com.raytheon.uf.common.geospatial,
|
|
||||||
com.raytheon.uf.common.pointdata,
|
|
||||||
com.raytheon.uf.common.pointdata.spatial,
|
|
||||||
com.raytheon.uf.common.serialization.annotations,
|
|
||||||
com.raytheon.uf.common.time,
|
|
||||||
com.vividsolutions.jts.geom,
|
|
||||||
javax.measure.quantity,
|
|
||||||
javax.measure.unit,
|
|
||||||
javax.persistence
|
|
||||||
Export-Package: com.raytheon.uf.common.dataplugin.ldadhydro
|
|
||||||
Require-Bundle: org.hibernate;bundle-version="1.0.0"
|
|
|
@ -1,5 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
utility/
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precip15min" name="accum_precip15min" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precip5min"/>
|
|
||||||
<ConstantField value="5"/>
|
|
||||||
<ConstantField value="15"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,30 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precip30min" name="accum_precip30min" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precip5min"/>
|
|
||||||
<ConstantField value="5"/>
|
|
||||||
<ConstantField value="30"/>
|
|
||||||
<ConstantField value="30"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precipAccum15min" name="accum_precipAccum15min" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<ConstantField value="15"/>
|
|
||||||
<ConstantField value="15"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precipAccum1hr" name="accum_precipAccum1hr" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<ConstantField value="60"/>
|
|
||||||
<ConstantField value="60"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precipAccum30min" name="accum_precipAccum30min" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<ConstantField value="30"/>
|
|
||||||
<ConstantField value="30"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precipAccum3hr" name="accum_precipAccum3hr" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<ConstantField value="180"/>
|
|
||||||
<ConstantField value="180"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,29 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="accum_precipAccum5min" name="accum_precipAccum5min" unit="mm">
|
|
||||||
<Method name="PointAccum" models="ldadhydro">
|
|
||||||
<Field abbreviation="stationId"/>
|
|
||||||
<Field abbreviation="timeObs"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<ConstantField value="5"/>
|
|
||||||
<ConstantField value="5"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="lh_precip15min" name="lh_precip15min" unit="mm">
|
|
||||||
<Method name="HydroLdadPrecip" models="ldadhydro">
|
|
||||||
<Field abbreviation="accum_precip15min"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<Field abbreviation="accum_precipAccum15min"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="lh_precip1hr" name="lh_precip1hr" unit="mm">
|
|
||||||
<Method name="HydroLdadPrecip" models="ldadhydro">
|
|
||||||
<Field abbreviation="precip1hr"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<Field abbreviation="accum_precipAccum1hr"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="lh_precip30min" name="lh_precip30min" unit="mm">
|
|
||||||
<Method name="HydroLdadPrecip" models="ldadhydro">
|
|
||||||
<Field abbreviation="accum_precip30min"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<Field abbreviation="accum_precipAccum30min"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="lh_precip3hr" name="lh_precip3hr" unit="mm">
|
|
||||||
<Method name="HydroLdadPrecip" models="ldadhydro">
|
|
||||||
<Field abbreviation="precip3hr"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<Field abbreviation="accum_precipAccum3hr"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<DerivedParameter abbreviation="lh_precip5min" name="lh_precip5min" unit="mm">
|
|
||||||
<Method name="HydroLdadPrecip" models="ldadhydro">
|
|
||||||
<Field abbreviation="precip5min"/>
|
|
||||||
<Field abbreviation="precipAccum"/>
|
|
||||||
<Field abbreviation="accum_precipAccum5min"/>
|
|
||||||
</Method>
|
|
||||||
</DerivedParameter>
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.uf.common.dataplugin.ldadmesonet</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,15 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldadmesonet Plug-in
|
|
||||||
Bundle-SymbolicName: com.raytheon.uf.common.dataplugin.ldadmesonet
|
|
||||||
Bundle-Version: 1.15.0.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
|
||||||
Import-Package: com.raytheon.uf.common.geospatial,
|
|
||||||
com.raytheon.uf.common.serialization.annotations,
|
|
||||||
com.vividsolutions.jts.geom
|
|
||||||
Export-Package: com.raytheon.uf.common.dataplugin.ldadmesonet
|
|
||||||
Require-Bundle: javax.persistence,
|
|
||||||
com.raytheon.uf.common.dataplugin,
|
|
||||||
com.raytheon.uf.common.pointdata,
|
|
||||||
com.raytheon.uf.common.dataaccess
|
|
|
@ -1,5 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
res/
|
|
|
@ -1,12 +0,0 @@
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
||||||
|
|
||||||
<bean id="ldadmesonetDataAccessFactory" class="com.raytheon.uf.common.pointdata.dataaccess.PointDataAccessFactory" />
|
|
||||||
|
|
||||||
<bean factory-bean="dataAccessRegistry" factory-method="register">
|
|
||||||
<constructor-arg value="ldadmesonet"/>
|
|
||||||
<constructor-arg ref="ldadmesonetDataAccessFactory"/>
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
|
File diff suppressed because it is too large
Load diff
|
@ -166,15 +166,6 @@
|
||||||
<dateGroupIndices>3,4,5</dateGroupIndices>
|
<dateGroupIndices>3,4,5</dateGroupIndices>
|
||||||
</dataSet>
|
</dataSet>
|
||||||
</category>
|
</category>
|
||||||
<category>
|
|
||||||
<name>Local</name>
|
|
||||||
<selectedRetentionHours>168</selectedRetentionHours>
|
|
||||||
<dataSet>
|
|
||||||
<dirPattern>(ldadhydro|ldadmesonet|ldadprofiler|ldad_manual|qc)/.*(\d{4})-(\d{2})-(\d{2})-(\d{2}).*</dirPattern>
|
|
||||||
<displayLabel>{1}</displayLabel>
|
|
||||||
<dateGroupIndices>2,3,4,5</dateGroupIndices>
|
|
||||||
</dataSet>
|
|
||||||
</category>
|
|
||||||
<category>
|
<category>
|
||||||
<name>Model</name>
|
<name>Model</name>
|
||||||
<selectedRetentionHours>168</selectedRetentionHours>
|
<selectedRetentionHours>168</selectedRetentionHours>
|
||||||
|
|
|
@ -38,20 +38,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.uf.common.dataplugin.ldadhydro"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.uf.common.dataplugin.ldadmesonet"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="com.raytheon.uf.common.dataplugin.lsr"
|
id="com.raytheon.uf.common.dataplugin.lsr"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
|
@ -108,34 +94,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.edex.plugin.ldadhydro"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.edex.plugin.ldad"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.edex.plugin.ldadmanual"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.edex.plugin.ldadprofiler"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="com.raytheon.edex.plugin.obs"
|
id="com.raytheon.edex.plugin.obs"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
|
@ -185,13 +143,6 @@
|
||||||
version="0.0.0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
|
||||||
id="com.raytheon.uf.edex.plugin.ldadmesonet"
|
|
||||||
download-size="0"
|
|
||||||
install-size="0"
|
|
||||||
version="0.0.0"
|
|
||||||
unpack="false"/>
|
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="com.raytheon.uf.edex.plugin.lsr"
|
id="com.raytheon.uf.edex.plugin.lsr"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<classpath>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
|
||||||
<classpathentry kind="src" path="src"/>
|
|
||||||
<classpathentry kind="output" path="bin"/>
|
|
||||||
</classpath>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<projectDescription>
|
|
||||||
<name>com.raytheon.uf.edex.plugin.ldadmesonet</name>
|
|
||||||
<comment></comment>
|
|
||||||
<projects>
|
|
||||||
</projects>
|
|
||||||
<buildSpec>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.ManifestBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
<buildCommand>
|
|
||||||
<name>org.eclipse.pde.SchemaBuilder</name>
|
|
||||||
<arguments>
|
|
||||||
</arguments>
|
|
||||||
</buildCommand>
|
|
||||||
</buildSpec>
|
|
||||||
<natures>
|
|
||||||
<nature>org.eclipse.pde.PluginNature</nature>
|
|
||||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
||||||
</natures>
|
|
||||||
</projectDescription>
|
|
|
@ -1,14 +0,0 @@
|
||||||
Manifest-Version: 1.0
|
|
||||||
Bundle-ManifestVersion: 2
|
|
||||||
Bundle-Name: Ldadmesonet Plug-in
|
|
||||||
Bundle-SymbolicName: com.raytheon.uf.edex.plugin.ldadmesonet
|
|
||||||
Bundle-Version: 1.14.0.qualifier
|
|
||||||
Bundle-Vendor: RAYTHEON
|
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
|
||||||
Require-Bundle: com.raytheon.uf.common.dataplugin.ldadmesonet;bundle-version="1.0.0",
|
|
||||||
com.raytheon.edex.common,
|
|
||||||
javax.measure,
|
|
||||||
com.raytheon.edex.plugin.ldad;bundle-version="1.0.0",
|
|
||||||
com.raytheon.uf.common.localization,
|
|
||||||
com.raytheon.uf.edex.pointdata
|
|
||||||
Import-Package: com.raytheon.uf.common.status
|
|
|
@ -1,5 +0,0 @@
|
||||||
source.. = src/
|
|
||||||
output.. = bin/
|
|
||||||
bin.includes = META-INF/,\
|
|
||||||
.,\
|
|
||||||
res/
|
|
|
@ -1,91 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<pointDataDescription>
|
|
||||||
<!--parameter name = "dataProvider" numDims="1" type="STRING" size="256"/-->
|
|
||||||
<!--parameter name = "homeWFO" numDims="1" type="STRING" size="4"/-->
|
|
||||||
<parameter name = "observationTime" numDims="1" type="LONG"/>
|
|
||||||
<!--parameter name = "providerId" numDims="1" type="STRING" size="12"/-->
|
|
||||||
<!--parameter name = "stationName" numDims="1" type="STRING" size="51"/-->
|
|
||||||
<!--parameter name = "handbook5Id" numDims="1" type="STRING" size="256"/-->
|
|
||||||
<!--parameter name = "stationType" numDims="1" type="STRING" size="256"/-->
|
|
||||||
<!--parameter name = "latitude" numDims="1" type="FLOAT" unit="degree_N" /-->
|
|
||||||
<!--parameter name = "longitude" numDims="1" type="FLOAT" unit="degree_E" /-->
|
|
||||||
<!--parameter name = "elevation" numDims="1" type="FLOAT" unit="m" /-->
|
|
||||||
<!--parameter name = "stationId" numDims="1" type="STRING" size="6"/-->
|
|
||||||
<parameter name = "reportTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "receivedTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "numericWMOid" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "dataPlatformType" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "platformTrueDirection" numDims="1" unit="degree" type="FLOAT"/>
|
|
||||||
<parameter name = "platformTrueSpeed" numDims="1" unit="m/s" type="FLOAT"/>
|
|
||||||
<parameter name = "tempChangeTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "wetBulbTemperature" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "rhChangeTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "stationPressure" numDims="1" unit="Pa" type="FLOAT"/>
|
|
||||||
<parameter name = "stationPressChangeTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "pressChangeChar" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "pressChange3Hour" numDims="1" unit="Pa" type="FLOAT"/>
|
|
||||||
<parameter name = "windDir" numDims="1" unit="degree" type="FLOAT"/>
|
|
||||||
<parameter name = "windDirChangeTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "windSpeedChangeTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "windGustChangeTime" numDims="1" type="LONG"/>
|
|
||||||
<parameter name = "windDirMin" numDims="1" unit="degree" type="FLOAT"/>
|
|
||||||
<parameter name = "windDirMax" numDims="1" unit="degree" type="INT"/>
|
|
||||||
<parameter name = "skyCover" numDims="1" type="STRING" size="6"/>
|
|
||||||
<parameter name = "skyLayerBase" numDims="1" type="FLOAT"/>
|
|
||||||
<parameter name = "visibility" numDims="1" unit="m" type="FLOAT"/>
|
|
||||||
<parameter name = "visibilityStatus" numDims="1" type="STRING" size="256"/>
|
|
||||||
<parameter name = "totalCloudCover" numDims="1" type="FLOAT"/>
|
|
||||||
<parameter name = "cloudBaseHeight" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "presWeather" numDims="1" type="STRING" size="25"/>
|
|
||||||
<parameter name = "lowLevelCloud" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "midLevelCloud" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "highLevelCloud" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "maxTempRecordPeriod" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "maximumTemperature" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "minTempRecordPeriod" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "minimumTemperature" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "precipAccum" numDims="1" unit="mm" type="FLOAT"/>
|
|
||||||
<parameter name = "precip" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "precipIntensity" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "precipType" numDims="1" type="INT"/>
|
|
||||||
<parameter name = "timeSinceLastPcp" numDims="1" unit="s" type="LONG"/>
|
|
||||||
<parameter name = "solarRadiation" numDims="1" unit="W*m^-2" type="FLOAT"/>
|
|
||||||
<parameter name = "solarRadChangeTime" numDims="1" unit="s" type="LONG"/>
|
|
||||||
<parameter name = "seaSurfaceTemp" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "wavePeriod" numDims="1" unit="s" type="FLOAT"/>
|
|
||||||
<parameter name = "waveHeight" numDims="1" unit="m" type="FLOAT"/>
|
|
||||||
<parameter name = "rawMessage" numDims="1" type="STRING" size="512"/>
|
|
||||||
<parameter name = "temperature" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "dewpoint" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "relHumidity" numDims="1" unit="%" type="FLOAT"/>
|
|
||||||
<parameter name = "windSpeed" numDims="1" unit="m/s" type="FLOAT"/>
|
|
||||||
<parameter name = "windGust" numDims="1" unit="m/s" type="FLOAT"/>
|
|
||||||
<parameter name = "pressure" numDims="1" unit="Pa" type="FLOAT"/>
|
|
||||||
<parameter name = "seaLevelPressure" numDims="1" unit="Pa" type="FLOAT"/>
|
|
||||||
<parameter name = "altimeter" numDims="1" unit="Pa" type="FLOAT"/>
|
|
||||||
<parameter name = "precipRate" numDims="1" unit="m/s" type="FLOAT"/>
|
|
||||||
<parameter name = "fuelTemperature" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "fuelMoisture" numDims="1" unit="%" type="FLOAT"/>
|
|
||||||
<parameter name = "soilTemperature" numDims="1" unit="K" type="FLOAT"/>
|
|
||||||
<parameter name = "soilMoisture" numDims="1" unit="%" type="FLOAT"/>
|
|
||||||
<!-- parameter name = "dataURI" numDims="1" type="STRING" size="128"/-->
|
|
||||||
</pointDataDescription>
|
|
|
@ -1,30 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<pointDataDbDescription>
|
|
||||||
<parameter name="latitude" queryName="location.latitude" type="FLOAT" unit="°" />
|
|
||||||
<parameter name="longitude" queryName="location.longitude" type="FLOAT" unit="°" />
|
|
||||||
<parameter name="elevation" queryName="location.elevation" type="FLOAT" fillValue="-9999" unit="m" />
|
|
||||||
<parameter name="stationId" queryName="location.stationId" type="STRING" />
|
|
||||||
<parameter name="reportType" queryName="reportType" type="STRING" />
|
|
||||||
<parameter name="dataProvider" queryName="dataProvider" type="STRING" />
|
|
||||||
<parameter name="refTime" queryName="dataTime.refTime" numDims="1" type="LONG" unit="ms"/>
|
|
||||||
<parameter name="forecastHr" queryName="dataTime.fcstTime" numDims="1" type="INT" unit="h" dbunit="s"/>
|
|
||||||
</pointDataDbDescription>
|
|
|
@ -1,20 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
|
|
||||||
<bean id="mesonetPluginName" class="java.lang.String">
|
|
||||||
<constructor-arg type="java.lang.String" value="ldadmesonet" />
|
|
||||||
</bean>
|
|
||||||
<bean id="mesonetProperties" class="com.raytheon.uf.common.dataplugin.PluginProperties">
|
|
||||||
<property name="pluginName" value="ldadmesonet" />
|
|
||||||
<property name="pluginFQN" value="com.raytheon.uf.common.dataplugin.ldadmesonet" />
|
|
||||||
<property name="dao" value="com.raytheon.uf.edex.plugin.ldadmesonet.dao.LdadMesonetDao" />
|
|
||||||
<property name="record" value="com.raytheon.uf.common.dataplugin.ldadmesonet.MesonetLdadRecord" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
<bean factory-bean="pluginRegistry" factory-method="register">
|
|
||||||
<constructor-arg ref="mesonetPluginName" />
|
|
||||||
<constructor-arg ref="mesonetProperties" />
|
|
||||||
</bean>
|
|
||||||
|
|
||||||
</beans>
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue