awips2/cave/com.raytheon.viz.pointdata/localization/plotModels/msasDewpointDepressionQcFailDesign.svg
2022-05-05 12:34:50 -05:00

66 lines
No EOL
2.7 KiB
XML

<?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.
-->
<!--
This is an absolute override file, indicating that a higher priority
version of the file will completely replace a lower priority version
of the file.
-->
<?xml-stylesheet type="text/css" href="plots.css"?>
<svg width="80" height="80" viewBox="0 0 80 80" overflow="visible"
contentScriptType="text/python" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" style="stroke: rgb(255,255,255);">
<defs>
<script type="text/python" plotDelegate="plotDelegate">
from qcplot import QCReport
class MsasDewpointDepressionQcFailPlotDelegate(PlotDelegate):
def __init__(self):
PlotDelegate.__init__(self)
self.report = QCReport(['dewpointDepression'],
['QC'],
None, None)
def getSampleText(self, rec):
if self.report.isOk():
return None
else:
return self.report.getTableText()
def isValid(self, rec):
sid = rec.getString("stationName")
self.report.setTitle(sid)
self.report.setPointDataView(rec)
return self.report.isFailed()
plotDelegate = MsasDewpointDepressionQcFailPlotDelegate()
</script>
<symbol overflow="visible" id="plotData" class="info">
<text id="extraParams" plotMode="null" class="text"
plotParam="stationName,dewpointDepression,dewpointDepressionQCA,dewpointDepressionQCR,dewpointDepressionDD"
x="0" y="0" visibility="hidden">0</text>
<text id="dewpointDepression" plotMode="text"
plotParam="dewpointDepression" plotUnit="°R" plotFormat="%5.0f"
style="text-anchor: end;" x="0" y="0">75</text>
</symbol>
</defs>
<use id="wind" x="40" y="40" width="80" height="80" visibility="visible"
xlink:href="#plotData" />
</svg>