VLab Issue #6363 - Fixed malformed xml in GFSLAMPGridded.xml, changed ClgHgt to CigHgt in serverConfig.py and GFSLAMPGrid.py smart init; fixes #6363
Change-Id: Ibee986bdef73cdb6883fdd50e725d28d3838c848 Former-commit-id: 0017f74dfa8ce2c3dd386ea89547ec76f87bfdff
This commit is contained in:
parent
65a568b79d
commit
f6cf02c893
3 changed files with 4 additions and 4 deletions
|
@ -21,7 +21,7 @@
|
|||
<menuTemplate xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<contribute xsi:type="menuItem" menuText="Temperature" key="T"
|
||||
indentText="false" />
|
||||
contribute xsi:type="menuItem" menuText="Temp Anl Uncertainty"
|
||||
<contribute xsi:type="menuItem" menuText="Temp Anl Uncertainty"
|
||||
key="Terranl" indentText="true" />
|
||||
<contribute xsi:type="menuItem" menuText="Dewpoint" key="DpT"
|
||||
indentText="true" />
|
||||
|
|
|
@ -391,7 +391,7 @@ AstroTide = ("AstroTide", SCALAR, "ft", "Astro Tide", 20.0, -8.0, 1, NO)
|
|||
StormSurge = ("StormSurge", SCALAR, "ft", "Storm Surge", 30.0, -5.0, 1, NO)
|
||||
|
||||
# Parm for Aviation/GFSLAMPGrid
|
||||
ClgHgt=("ClgHgt",SCALAR,"ft","Ceiling Height",25000.0,-100.0,0,NO)
|
||||
CigHgt=("CigHgt",SCALAR,"ft","Ceiling Height",25000.0,-100.0,0,NO)
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
#
|
||||
|
@ -2055,7 +2055,7 @@ ENPwave_parms = [([WindWaveHeight, WaveHeight, SurfHeight, Wind], TC6),
|
|||
([Swell, Swell2, Period, Period2], TC6)]
|
||||
|
||||
# GFSLAMPGrid
|
||||
GFSLAMPGridPARMS=[([Temp, Td, Vis, ClgHgt],TC1)]
|
||||
GFSLAMPGridPARMS=[([Temp, Td, Vis, CigHgt],TC1)]
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Databases for a site.
|
||||
|
|
|
@ -12,7 +12,7 @@ class GFSLAMPForecaster(Forecaster):
|
|||
def __init__(self):
|
||||
Forecaster.__init__(self, "GFSLAMP","GFSLAMP")
|
||||
|
||||
def calcClgHgt(self, cc_CLG):
|
||||
def calcCigHgt(self, cc_CLG):
|
||||
ceil = cc_CLG * 3.280839
|
||||
ceil = where(less(cc_CLG, 0), -99., ceil)
|
||||
return ceil
|
||||
|
|
Loading…
Add table
Reference in a new issue